If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
What form am I on?
I'm expirementing with using the same subform on two different main forms.
However, I need different code (in just a few places) if the subform is on one form as oposed to the other. There are also instances where both forms will be open at the same time. So... I don't think IsOpen or IsLoaded will do the trick. How can I determine what main form the subform is on? Thank you, BobG |
#2
|
|||
|
|||
What form am I on?
Thanks anyway folks.
Looks like I can use Me.Parent.Name to make my code decision. I had an error in my testing that made it look as thought Me.Parent.Name wasn't working Bob G "BobG" wrote in message ... I'm expirementing with using the same subform on two different main forms. However, I need different code (in just a few places) if the subform is on one form as oposed to the other. There are also instances where both forms will be open at the same time. So... I don't think IsOpen or IsLoaded will do the trick. How can I determine what main form the subform is on? Thank you, BobG |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Search facility | tezza | General Discussion | 13 | February 18th, 2010 12:26 AM |
Move feild entries from form to form using global variables | JackCGW | General Discussion | 11 | November 14th, 2005 05:22 AM |
Need Help In Printing Current Record in Specific Report | RNUSZ@OKDPS | Setting Up & Running Reports | 1 | May 16th, 2005 09:06 PM |
Dates in a listbox connected to a form... | RusCat | Using Forms | 13 | November 25th, 2004 02:31 AM |
auto entry into second table after update | Tony | New Users | 13 | July 9th, 2004 10:42 PM |