G
Guest
Hi
I use the she standard method (work-a-round) for using cascading combo boxes
on a continuous form. Placing a bound text box over the combo (except for
the dropdown arrow) and then set the value of the text box from the combo
selection.
There has to be a better way than this. Has anyone got one.
If you use
Forms![MainFormName]![SubformName].Form![SubFormControl].Requery to set the
value of the next box in cassced this will requery the control in all records
and mess up the other records. Whoever made access MUST have realised this.
There are so many times when developers will need this process to make users
work easier.
On one DB of mine I have a main form showing the amount banked and a subform
(continuous) showing the departments and the items.
Something like
Main form
PaymentID – Debit/Credit – Amount Banked – Date
Subform
ItemID – Department (AfterUpdate – set values of Items combo)
Items - (AfterUpdate – set values of another combo)
Etc (eg. Tax payable – can be done manually but better to cascade as some
items are non-taxable, etc)
Etc
Does anyone have a fix for cascade combos on a continuous sub form.
I use the she standard method (work-a-round) for using cascading combo boxes
on a continuous form. Placing a bound text box over the combo (except for
the dropdown arrow) and then set the value of the text box from the combo
selection.
There has to be a better way than this. Has anyone got one.
If you use
Forms![MainFormName]![SubformName].Form![SubFormControl].Requery to set the
value of the next box in cassced this will requery the control in all records
and mess up the other records. Whoever made access MUST have realised this.
There are so many times when developers will need this process to make users
work easier.
On one DB of mine I have a main form showing the amount banked and a subform
(continuous) showing the departments and the items.
Something like
Main form
PaymentID – Debit/Credit – Amount Banked – Date
Subform
ItemID – Department (AfterUpdate – set values of Items combo)
Items - (AfterUpdate – set values of another combo)
Etc (eg. Tax payable – can be done manually but better to cascade as some
items are non-taxable, etc)
Etc
Does anyone have a fix for cascade combos on a continuous sub form.