- Local time
- Today, 11:38
- Joined
- Jul 9, 2003
- Messages
- 17,503
In answering a question I ran a little test first, which involved extracting the text from a forms Tag property.
I created a temporary form added a command button and added the following code to the command button:
MsgBox " >>> " & Form_frmAddress.Tag
but it didn't work! I got an error, and on investigation I found that there was no code behind the form "frmAddress". Subsequently I added only a comment to the form "frmAddress" code module and tried my command button again and it worked extract in the tag!
I didn't realize that you could not access a forms properties if there was no code behind?
Something I will definitely have to watch out for....
I created a temporary form added a command button and added the following code to the command button:
MsgBox " >>> " & Form_frmAddress.Tag
but it didn't work! I got an error, and on investigation I found that there was no code behind the form "frmAddress". Subsequently I added only a comment to the form "frmAddress" code module and tried my command button again and it worked extract in the tag!
I didn't realize that you could not access a forms properties if there was no code behind?
Something I will definitely have to watch out for....