Hello everyone,
I’m sending this question out once again because I still haven’t been successful with my Main and sub form issues.
I have a main form that has a text box for contract number. When keying in the contract number, after pressing the command button, I would like for the data associated with that number to appear in the sub form. I know this is probably something fairly easy, but for some reason I can’t seem to figure out the correct syntax.
I’ve done numerous google searches but still no luck. In fact, google searches are may first choice in attempt to trying to obtain information relative to the projects I’m working on. Tek Tips, usually comes into play as a last resort such as in this case.
The text box name on the main form is contractNo and the records in the sub form associated with contractNo are as follows: DesNo, LettingDate and Section. I am aware that I could use a combo box instead, however in this case I have my reasons why I prefer to use a text box instead. I also know that what I’m attempting to do may very well be related to filtering, but again I’m having a mental blockage and can’t get it figured out.
Combo boxes are used in some of my other projects that are somewhat similar to this one, but for this particular form I prefer a text box. In other words I need the text box to behave in the same manner as a combo box.
Is there anyone out there that can help me with this?
Thank you
I’m sending this question out once again because I still haven’t been successful with my Main and sub form issues.
I have a main form that has a text box for contract number. When keying in the contract number, after pressing the command button, I would like for the data associated with that number to appear in the sub form. I know this is probably something fairly easy, but for some reason I can’t seem to figure out the correct syntax.
I’ve done numerous google searches but still no luck. In fact, google searches are may first choice in attempt to trying to obtain information relative to the projects I’m working on. Tek Tips, usually comes into play as a last resort such as in this case.
The text box name on the main form is contractNo and the records in the sub form associated with contractNo are as follows: DesNo, LettingDate and Section. I am aware that I could use a combo box instead, however in this case I have my reasons why I prefer to use a text box instead. I also know that what I’m attempting to do may very well be related to filtering, but again I’m having a mental blockage and can’t get it figured out.
Combo boxes are used in some of my other projects that are somewhat similar to this one, but for this particular form I prefer a text box. In other words I need the text box to behave in the same manner as a combo box.
Is there anyone out there that can help me with this?
Thank you