Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass a variable to SQL statement.
Message
 
 
À
03/02/2008 11:58:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01287831
Message ID:
01288735
Vues:
18
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform