K
KevinK
What I have is a form in which I can assign a new pattern to a particular
manufacturer. The form consists of a parent form with 2 filters at the top.
Both of these filters are combo boxes. The first filters on category and the
second filters on manufacturer, based on which category is selected. The
subform contains the pattern information. When a particular category and
manufacturer are selected all the associated patterns will display. The
problem I’m having is after I select a particular category and manufacturer
and all the patterns are displayed. I placed a double-click event in the
manufacturer filter to reset the manufacturer list to all within the selected
category. the code I used is as follows:
Private Sub ManufacturerFilter_DblClick(Cancel As Integer)
‘Double click action to filter on all manufacturer
gMfgID=â€*â€
Me!ManufacturerFilter=â€*â€
Me!PatternAddfsub.Requery
End Sub
The gMfgID is a global I created to help with searches and queries
throughout the program. The code for that is:
Function CurMfgID()
CurMfgID=gMfgID
End Function
I also set the default value in the ManufacturerFilter’s properties to “*â€.
When I double click in the ManufacturerFilter now the PatternAddfsub fields
fill with #Name? or ####.
I have also set relationships between table with referential integrity. Can
this be solved?
manufacturer. The form consists of a parent form with 2 filters at the top.
Both of these filters are combo boxes. The first filters on category and the
second filters on manufacturer, based on which category is selected. The
subform contains the pattern information. When a particular category and
manufacturer are selected all the associated patterns will display. The
problem I’m having is after I select a particular category and manufacturer
and all the patterns are displayed. I placed a double-click event in the
manufacturer filter to reset the manufacturer list to all within the selected
category. the code I used is as follows:
Private Sub ManufacturerFilter_DblClick(Cancel As Integer)
‘Double click action to filter on all manufacturer
gMfgID=â€*â€
Me!ManufacturerFilter=â€*â€
Me!PatternAddfsub.Requery
End Sub
The gMfgID is a global I created to help with searches and queries
throughout the program. The code for that is:
Function CurMfgID()
CurMfgID=gMfgID
End Function
I also set the default value in the ManufacturerFilter’s properties to “*â€.
When I double click in the ManufacturerFilter now the PatternAddfsub fields
fill with #Name? or ####.
I have also set relationships between table with referential integrity. Can
this be solved?