|
-
Mar 29th, 2000, 12:07 PM
#1
Thread Starter
New Member
Hi,
Everytime I want to make a form/subform, I have to open connection to my remote server using ADO, I have to make Connection.OPEN "DSN: ....".
Is there anyway that I can use the above line only one time ?? At the moment I am using modified(to suit me better) microsft class from "data form wizzard with option class"
I succeed in making the above class into *.dll...the problem is it always give me mesg "The operation requested by the application is not allowed if the object class is closed" when I use this line "set DataControl.RecordSource = adoObject.rsObject"
Thanks.
-
Mar 29th, 2000, 08:49 PM
#2
Lively Member
If you have crated a class then make your class public when you declare it. I was going to suggest making a module that inluded public functions that returned the data that you need for the connections. Or make the connection you are using Public.
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
|