HELP !! If I want to push data from field to keep in variable of string.

HELP !! If I want to push data from field to keep in variable of string.

Postby Guest » Fri 17 Feb 2006 18:22

If I want to push data from field to keep in variable of string. Could you tell me and give me some example. PLEASE!!

thank you
Guest
 

Postby swierzbicki » Fri 17 Feb 2006 19:17

I don't really understand, but given what you said, i'll proceed like this :

Code: Select all
Var MyString : String;
Begin
   MyQuery.open;
   ...
   [b]MyString  [/b]:= MyQuery.FieldByname('[b]FieldName[/b]').asString;
   ...
   MyQuery.close;
End;
swierzbicki
 
Posts: 451
Joined: Wed 19 Jan 2005 09:59


Return to MySQL Data Access Components