G
Guest
First, a word of thanks to all those who have previously helped with
problems!! Much appreciated!!
I have read many of the posts on cascading combo boxes and filtering with
combo boxes and cannot get the following to work. I have a main form with a
combo box with three types of assemblies listed. I have a subform on the
main form with a combo box of descriptions based on each type of assembly.
If I choose one assembly from main form combo, the subform combo is populated
with that type. If I choose another, it holds the first selection until I
close the form and go back to it. I have tried requerying and refreshing and
still nothing. I will list the coding for each aspect.
Combo Box on main form
Control Source = Type
Row Source Type = Table/Query
Row Source SELECT tLookupType.Type FROM tType
After Update Me.ComboType.Requery
Assembly Subform
Source Object = qAssemblySubform
Link Child=Type
Link Master =Type
On Current DoCmd.Requery
Combo on Subform ComboDescription
Control Source=Description
Row Source = Table/Query
Row Source
SELECT tAssemblyDescriptions.RecordNumber,
tAssemblyDescriptions.Description, tAssemblyDescriptions.Type FROM
tAssemblyDescriptions WHERE
(((tAssemblyDescriptions.Type)=Forms![f*GeneralInformationWITHQUOTE]!Type));
I hope this isn't too long or confusing. I've already spent WAY TOO MUCH
time with this and am becoming very frustrated. Any help would be very much
appreciated!
Thanks,
Phisaw
problems!! Much appreciated!!
I have read many of the posts on cascading combo boxes and filtering with
combo boxes and cannot get the following to work. I have a main form with a
combo box with three types of assemblies listed. I have a subform on the
main form with a combo box of descriptions based on each type of assembly.
If I choose one assembly from main form combo, the subform combo is populated
with that type. If I choose another, it holds the first selection until I
close the form and go back to it. I have tried requerying and refreshing and
still nothing. I will list the coding for each aspect.
Combo Box on main form
Control Source = Type
Row Source Type = Table/Query
Row Source SELECT tLookupType.Type FROM tType
After Update Me.ComboType.Requery
Assembly Subform
Source Object = qAssemblySubform
Link Child=Type
Link Master =Type
On Current DoCmd.Requery
Combo on Subform ComboDescription
Control Source=Description
Row Source = Table/Query
Row Source
SELECT tAssemblyDescriptions.RecordNumber,
tAssemblyDescriptions.Description, tAssemblyDescriptions.Type FROM
tAssemblyDescriptions WHERE
(((tAssemblyDescriptions.Type)=Forms![f*GeneralInformationWITHQUOTE]!Type));
I hope this isn't too long or confusing. I've already spent WAY TOO MUCH
time with this and am becoming very frustrated. Any help would be very much
appreciated!
Thanks,
Phisaw