Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unrecognized phrase/keyword
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00407934
Message ID:
00407965
Views:
21
to open the recordset in a dataenvironment I wouldn't use

dataenv.rsWhatever.open

instead use

if dataenv.rsWhatever.state = 0 then dataenv.Whatever

This makes sure first that your recordset is closed when you try to open it (trying to open an open recordset causes an error. As does closing one that is closed) and then it runs the recordset.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform