Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IN( ) condition Remote View where filter doesn't return
Message
From
07/03/2006 17:23:47
 
 
To
07/03/2006 07:55:12
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01101117
Message ID:
01102247
Views:
20
When I try it (VFP9):

CREATE SQL VIEW TEST REMOTE AS SELECT * FROM VWBILLREPORT WHERE isalesdocid IN (&inItems) CONNECTION 3PConnect

I get:

Connectivity error: [Sybase][ODBC Driver][Adaptive Server Anywhere]Syntax error near '&' on line 1

Mark


It works for me.

PUBLIC inItems
inItems = '1,2'
CREATE SQL VIEW TEST REMOTE AS SELECT * FROM TABLE WHERE id IN (&inItems) CONNECTION ....
USE TEST
If everything seems to be going well, you obviously don't know what the hell is going on !
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform