Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trouble with drop down based on other drop down

Status
Not open for further replies.

DBritter

Technical User
Joined
Jun 28, 2000
Messages
37
Location
US
The problem is that a message box appears asking for criteria of [lngShipping]. This box appears as the subform is opened and when the [lngShipping] is changed.


I have a list box[lngShipping] that is based on another list box[lngShippingOption]. On update of the of the first list box[lngShipping] there is a requery event that makes all of the records in [lngShippingOption] relate to [lngShipping].

The query is as follows:

SELECT tlkpShippingOption.lngShippingOptionID, tlkpShippingOption.strShippingOption, tlkpShippingOption.lngShippingID FROM tlkpShippingCompany INNER JOIN tlkpShippingOption ON tlkpShippingCompany.lngShippingID = tlkpShippingOption.lngShippingID WHERE (((tlkpShippingOption.lngShippingID)=[forms]![frmNewOrderExistingCustomer]![fsubNewOrderExistingCustomer]![lngShipping]));


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top