Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter - BeforeInsert
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00916893
Message ID:
00917034
Views:
11
This could work for me.

Thanks.

>
>You could also do something like:
>
>cInsertCmd = strtran(cInsertCmd, 'INTO MYTABLE (', 'INTO MYTABLE (cFieldName, ')
>
>cInsertCmd = strtran(cInsertCmd, 'VALUES (', 'VALUES (?RTRIM(crsMyCursor.cFieldName), ')
>Of course you would only do that if a test for the existence of that field in cInsertCmd is negative. I would also use the Case-Sensitivity flag of your choice in the STRTRAN() functions.
>
Previous
Reply
Map
View

Click here to load this message in the networking platform