0

Hi .
I have this problem and I hope u will help me.
I use DISQLite3 Personal_1.3.4 for tables and I have to verify if a code is in database and to show automatically a title from the database that coincide with that code .
I was able when i wrote a code to show me a message when that code exist.
Here is what i realise:

procedure verif();
begin
  CodOK:=False;
  Deschide_DB;
     sqlite3_check(sqlite3_exec(DB,
        'select * from Furnizori;',
        VerificaCod, nil, nil),
        DB);
        Inchide_DB;
     if CodOK then
     showmessage('exista in baza');
end;
3
Contributors
4
Replies
5
Views
11 Years
Discussion Span
Last Post by JJarvis
0

I have no idea but, :if CodOK then: shouldn't it be CodeOK?

no, it's not :cheesy:

dragos, i havent found nothing about DISQLite3 and i haven't worked with it.
i don't understand why you don't try to work with something usual.

best regards,

0

no, it's not:)

Sorry, but I haven't done a lot of programming. *Hangs head in shame*

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.