Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple SQL Question
Message
From
25/10/2005 16:29:27
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01061937
Message ID:
01062037
Views:
18
>I'm trying to stay with SQL. Thanks

You asked for the best way. If you're already on the record, it is inefficient for VFP to use Rushmore optimization to locate and then update that record.

>
>>http://fox.wikis.com/wc.dll?Wiki~ReplaceCommand~VFP
>>
>>>I'm on a record in a table. I want to do a SQL update to the current
>>>record.
>>>
>>>
>>>nRecId = Table.RecId
>>>
>>>UPDATE Table
>>>  SET Field = cValue
>>>  WHERE RecId = nRecId
>>>
>>>
>>>Is this the best way?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform