Hi Raj,
Select docindex
replace all i_o with 'I' for tofrm = 'SENT'
or if you're executing it via an ODBC connection
SQLExec(nConnectionHandle, "update docindex set i_o = 'I' where tofrm = 'SENT'")
Regards,
Liam
>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.
Liam O'Hagan
MCP VFP Desktop Apps