
May 15th, 2011, 06:02 AM
|
|
Registered User
|
|
Join Date: May 2011
Posts: 2
Time spent in forums: 40 m 36 sec
Reputation Power: 0
|
|
This is very strange; I tried your code and did not on the work first time, later I changed the order of fields (accidentally) and it worked! I mean:
s1:= '3"';
s:= Format('INSERT INTO DUMY (ADate,AText) '+
'VALUES (  AT1,''%s'')', [s1]);
this is ok but if I just change order and go like:
s:= Format('INSERT INTO DUMY (AText,ADate) '+
'VALUES (''%s'',  AT1)', [s1]);
then I get :
"  AT" Not found Error. I need to add text field at the end. Anyway it's working now, and your answer helped me a lot to dig out the problem. Thank you very much.
cengiz
|