Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL, AS/400 and view parameters
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00116137
Message ID:
00116140
Vues:
14
Hi Rex,

I havn't worked with AS/400 but this is getting interesting. If I understand correctly this is your situation.

You created remote views and opened them with NoDataOnLoad, then you specified your paramaters as private variables and issued a REQUERY() and got an error. When you run the same SQL with single quotes instead on double it works.

Are you using the LIKE instead of = in your WHERE condition and adding a % sign at the end of your view parameter?

>When using view parameters in a remote view the delimiter sent to the AS/400 is " instead of '. If I write the SQL statement Kamal helped me correct it however in a view parmeter when the data is typed into the field it automatically gets "" placed around it. Is there a way to change it to ' '?
>
>TIA,
>Rex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform