Hi all,
The problem i'm having at the moment is linking "categorizing" two combo boxes, so from 1 table i have a field which contains categories and another containing parts eg
Category Part
X 1
X 2
X 3
Y 4
Y 5
Y 6
Z 7
Z 8
Z 9
I've got it working one way.... so i select the category and it automatically limits the list of Parts according to category..... using
Source Data Category Combo:-
SELECT Distinct [Category] FROM [TBL blah] ORDER BY [Category]
AfterUpdate Category Combo:-
Private Sub Category_AfterUpdate()
Me.Part1.Requery
End Sub
Source Data Part Combo:-
SELECT Distinct [Part] FROM [TBL blah] WHERE [Category] = [forms]![FRM AllProducts].[Cat] ORDER BY [Part]
How can i get it working the other way?? so i have the full list avaliable of parts and when one is selected the appropriate Category is autmoatically selected (or limited to)... Thx all
The problem i'm having at the moment is linking "categorizing" two combo boxes, so from 1 table i have a field which contains categories and another containing parts eg
Category Part
X 1
X 2
X 3
Y 4
Y 5
Y 6
Z 7
Z 8
Z 9
I've got it working one way.... so i select the category and it automatically limits the list of Parts according to category..... using
Source Data Category Combo:-
SELECT Distinct [Category] FROM [TBL blah] ORDER BY [Category]
AfterUpdate Category Combo:-
Private Sub Category_AfterUpdate()
Me.Part1.Requery
End Sub
Source Data Part Combo:-
SELECT Distinct [Part] FROM [TBL blah] WHERE [Category] = [forms]![FRM AllProducts].[Cat] ORDER BY [Part]
How can i get it working the other way?? so i have the full list avaliable of parts and when one is selected the appropriate Category is autmoatically selected (or limited to)... Thx all