Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating an older Access file (mdf) from VFP
Message
From
18/06/2020 12:26:31
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01674938
Message ID:
01674950
Views:
67
>>Finally got it to work using:
>>
>>   go top
>     private name1, number1
>>   scan
>       name1 = column value
>       number1 = column value
>>      csql="update directory set name1=?name  where number= ?number1"
>>      =sqlexec(nAccessHandle,csql)
>>   endscan
>>
>
>This is something I meant as well except can you try using parameters, e.g. see changes I tried in your code. If this would not work, then your way should be OK.

Both ways work, but your code is a lot more readable (=more betterest)
TUVM !!
Previous
Reply
Map
View

Click here to load this message in the networking platform