Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass a variable to SQL statement.
Message
 
 
To
03/02/2008 11:58:06
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01287831
Message ID:
01288735
Views:
17
>>>Look I understand the concept.
>>>
>>>So if you really want to, please tell me how this is done when using Cursor Adapters or Views bound to the form controls. Or do I throw out views, CA's and bound controls?
>>>
>>
>>AFAIK CA use parameters by default. At least as I recall it this way using CA Builder by Mark McCasland.
>
>Then you don't know. I use Mark's builder and it does not use parameters. In fact the CA class itself does not use parameters. Next time put a breakpoint on the BeforeUpdate statement and see what is being passed as the SQL statement.
>

I don't anticipate using CAs in VFP in the near future.

>>Not many. I used views and only lately switched to CAs.
>
>Nuff said.
>
>Hands up those (other than Mike) who use such "injection proof" statements in their bound forms.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform