Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL, AS/400 and view parameters
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00116137
Message ID:
00116140
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform