General information
Category:
Coding, syntax & commands
Title:
Include file in Load event v. Form Include File
I had used the #Include command in the load event of my form and kept getting an error that a variable couldn't be found. I looked at several threads relating to this problem, and the consensus seemed to be that the problem was because the #Include command was a compiler directive. Like the guy who had the original problem, I had compiled my form (using compile form), even though according to the help file, it appears to happen automatically when you save the form. Nonetheless, when I use Form->Include File, then run the form, everything works fine.
So my question is: what accounts for the difference?
I double checked the path in the Load event (I hard coded as a test to make sure). I don't get any kind of error message from the Load event telling me it couldn't find the file, so I am baffled.
Has anybody else had this happen?
Thanks,
Sylvia
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