>I want to execute the following query:(In vb i use recordset or database.execute sql to execute a query)
>
>Could you please tell me how i can execute in VFP to update all the records which meets the following condition:
>
>update docindex set i_o = 'I' where tofrm = 'SENT'
>
>Thank you very much.
It's valid VFP UPDATE SQL command. You can run it from command window or include in your program "AS IS".
--sb--