D
dsdevonsomer
Hello All,
Windows XP
Access 2003
ADP Project with all unbound fields.
SQL Server backend.
It may be simple, and probably it is. But I can't figure it out.
I have main form FRM1, which has combo box CMB1
I have subform within main form SUBFRM1
On the subform, I have a tab control with 3 pages.
On one of the page (PAGE1), I have text box, combo box (CMB 2) and few
other control.
When I select a value in combo box (CMB1) on main form (FRM1), I have
to just reflect that value in combo box(CMB2) on 1st page(PAGE1) in
subform (SUBFRM1). and vice versa.
Just in case, reason for doing this is because main form has about 30
controls and based on status, tabbed subform shows additional info. So
while on that page, I need to show current status.
So, to access CMB2, I use
FORMS!FRM1!SUBFRM1.FORM!CMB2.VALUE . It does not work and get "Method
'form' of object '_subform' not found.
If I just use.
FORMS!FRM1!SUBFRM1.CMB2.VALUE, gives me automation error or property
not found.
I am clueless as to how shall I refer to it.
Many thanks for your help..
Regards,
Snehal
Windows XP
Access 2003
ADP Project with all unbound fields.
SQL Server backend.
It may be simple, and probably it is. But I can't figure it out.
I have main form FRM1, which has combo box CMB1
I have subform within main form SUBFRM1
On the subform, I have a tab control with 3 pages.
On one of the page (PAGE1), I have text box, combo box (CMB 2) and few
other control.
When I select a value in combo box (CMB1) on main form (FRM1), I have
to just reflect that value in combo box(CMB2) on 1st page(PAGE1) in
subform (SUBFRM1). and vice versa.
Just in case, reason for doing this is because main form has about 30
controls and based on status, tabbed subform shows additional info. So
while on that page, I need to show current status.
So, to access CMB2, I use
FORMS!FRM1!SUBFRM1.FORM!CMB2.VALUE . It does not work and get "Method
'form' of object '_subform' not found.
If I just use.
FORMS!FRM1!SUBFRM1.CMB2.VALUE, gives me automation error or property
not found.
I am clueless as to how shall I refer to it.
Many thanks for your help..
Regards,
Snehal