Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with VFP parameter in tableadapter/dataset
Message
From
18/10/2006 16:43:53
 
 
To
18/10/2006 15:19:10
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
01163072
Message ID:
01163113
Views:
9
>Greetings,
>
>I'm trying to create a business object layer that is going to talk to my VFP tables through OLEDB. Everything went fine creating a 'fillAll' method that pulls all records. However now that I'm trying to do a parameterized select I've run into problems. The SQL statement is simple enough:
>
>
>SELECT * from User where userid = @userid
>
>
>I get back, "Error in Where clause near '@'. Unable to parse query text.
>
>Is there a different syntax I will need to use in order to create parameters for my query.

This syntax is SQL Server. Simply put ? and that will work.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform