|
-
Jun 14th, 2002, 08:52 AM
#1
GetObjectContext()
Dim ctxobject As ObjectContext
Dim objAccount As Account.Pay
Set ctxobject = GetObjectContext()
Set objAccount = ctxobject.CreateInstance("Account.Pay")
I'm trying to run the code above cause I want to be able to use the SetComplete and SetAbort. But it always give me the runtime error 91 : Object variable or With block variable not set.
I noticed that the - Set ctxobject = GetObjectContext()
doesn't seem to work cause it give my object variable Nothing. What's wrong with 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
|