Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting empty cursor
Message
From
21/01/2005 14:47:50
 
 
To
All
General information
Forum:
ASP.NET
Category:
Databases
Title:
Detecting empty cursor
Miscellaneous
Thread ID:
00979412
Message ID:
00979412
Views:
92
If I have this code to get the data into a dataset:
            Dim loDT As New OleDbDataAdapter(tcSQL, _
             "Provider=VFPOLEDB.1;Data Source=" + tcTable + ";Password='';Collating Sequence=MACHINE")
            loDT.Fill(loData, "Temp")
How can I detect if loDT is in fact a dataset? Because, if the query returns no result, this will generate an error as soon as I try to make a reference to loDT.
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
Next
Reply
Map
View

Click here to load this message in the networking platform