stephenmbell
IS-IT--Management
I have 2 forms with toggle buttons. They toggle back and forth between the two forms.
Form1 is a continuous form of items and Form2 is the form containing all of the detail for each individual item in my db
When I am on Form1 and click the toggle button to go to Form2, I pass the item# in the openargs paramter and default my cboItem on Form2 = item#
In Form2 i have an afterupdate event on the cboItem that basically populates all of the fields on the form based upon the item# in the cboItem
My question is this: I am successfully able to pass the value between the forms. When I open Form2, my cboItem has the correct value -- however, the AfterUpdate event doesnt trigger and my fields on Form2 are not populated.
I have toyed with SendKeys("~") but that didnt accomplish anything....
Any ideas?
Greatly appreciated.
Thank in advance
sb
Form1 is a continuous form of items and Form2 is the form containing all of the detail for each individual item in my db
When I am on Form1 and click the toggle button to go to Form2, I pass the item# in the openargs paramter and default my cboItem on Form2 = item#
In Form2 i have an afterupdate event on the cboItem that basically populates all of the fields on the form based upon the item# in the cboItem
My question is this: I am successfully able to pass the value between the forms. When I open Form2, my cboItem has the correct value -- however, the AfterUpdate event doesnt trigger and my fields on Form2 are not populated.
I have toyed with SendKeys("~") but that didnt accomplish anything....
Any ideas?
Greatly appreciated.
Thank in advance
sb