|
-
May 19th, 2005, 08:30 AM
#1
Thread Starter
Junior Member
dynamically connecting dataenvironment
Hi Friends,
I have a Password protected Access database
I am Trying to CONNECT DATAENVIRONMENT DYNAMICALLY From VB. every time i open report , i want my connection to be active for that time only.
i can connect using the normal way but in that way my app becomes static.
I am lost in this .
thanks
arunendra
-
May 19th, 2005, 09:09 PM
#2
Hyperactive Member
Re: dynamically connecting dataenvironment
try this after the process
if de.rscommand.state=1 then de.rscommand.close
-
May 20th, 2005, 10:38 AM
#3
Thread Starter
Junior Member
Re: dynamically connecting dataenvironment
actually i want to define the connection at run time not at design time (using a password protected access database) so that the application can always point the database no matter where it is installed
-
May 22nd, 2005, 09:27 PM
#4
Hyperactive Member
Re: dynamically connecting dataenvironment
just the same, if the state of your connection is open have to close it,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|