|
-
Aug 14th, 2012, 01:01 AM
#1
Thread Starter
Member
Variant Class return type in MS-Access
Can anyone help me out with a example of a Variant class return type in MS-Access. Can a function in the class return a Variant type of the class which contains the function. I hope I could make my question clear.
Class A
Dim Temp as string
Dim Num as integer
public sub function1 As Variant 'this should be of the type Class A
Dim subclass as new A
msgbox(A.Temp & ":" & A.Num)
end sub
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
|