Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized queries
Message
From
09/05/2002 18:51:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
Parameterized queries
Miscellaneous
Thread ID:
00654794
Message ID:
00654794
Views:
58
Hi all,

I'm trying to use VB.Net to Access a Visual Foxpro database. The problem I'm having is when I try to create a OleDbDataReader object from the OleDbCommand. If my query is "Select * from Status" the datareader object is created just fine. If the query is "Select * from Status where status_id = ?" then I get the error "Object reference not set to an instance of an object". The program is basically the one in the VS documentation but using the OleDbConnection instead of the SqlConnection. The SqlConnection object works just fine. Can someone help?

Thanks

Bob
Next
Reply
Map
View

Click here to load this message in the networking platform