Hi, when i use this code it works with 1 TEDIT fine.. but not with a multiple ones
i need it so that, if it finds any of the text inside the edit boxes.. dont add and show the message.
When i test it with 1 edit, it worked, but if something was in the database as "DUML" it wouldnt add a word called DUMLB"
can we fix that too?
here is my code:
if Form1.ADOTable2.Fieldbyname('Serial Numbers').AsString=edit1.text + flatedit1.text + flatedit3.text + flatedit5.text + flatedit7.text + flatedit9.text + flatedit10.text + flatedit11.text + flatedit8.text then
Windows.MessageBox(handle, 'One or more serials already exisit in the database. No subscriptions have been added!', 'Invalid subscription found!',
MB_SYSTEMMODAL or MB_SETFOREGROUND or MB_TOPMOST or MB_ICONHAND) ;
REST OF THE CODE
also.. do i need the exit??
I think iam using + and it should be or? but it doesnt compile.