Hi, Ned,
>>>loObject = CREATEOBJECT("SubClass")
>>>WITH loObject
>>> .Property1 = "Test"
>>> .Property2 = "Data"
>>> .Property3 = "TestForm"
>>> .SaveAs(.Property3)
>>>ENDWITH
>>
I have no idea why it doesn't work. What I find out is whenever I use a variable as the parameter for SaveAs, it creates temporary file. Regarding the subclass, I get it now. So, what I do now is to create a form programatically, name it "zForm" instead of using a variable, and then add it to the project and rename it. It is a bit tedious but it works.
I really appreciate your help. Thanks a lot.
Have a nice weekend.
Chu
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only