dragongunner0351
Programmer
Hello all, I have an event that executes when the user double clicks a partNumber Control:
code:
DoCmd.OpenForm "Product Details", , , "[Products]![ID] = " & Me![Product ID]
This opens a details form for that partNumber. Is it possible for it to open a blank Product Details form if there is no partNumber in the parNumber control?
The end result I'm looking for is,
1. if there is a partNumber in the partNumber control then open the Product Details form to show the details on that partNumber.
2. if there is no partNumber, then open the Products Details form blank so that it can be added to the inventory list.
code:
DoCmd.OpenForm "Product Details", , , "[Products]![ID] = " & Me![Product ID]
This opens a details form for that partNumber. Is it possible for it to open a blank Product Details form if there is no partNumber in the parNumber control?
The end result I'm looking for is,
1. if there is a partNumber in the partNumber control then open the Product Details form to show the details on that partNumber.
2. if there is no partNumber, then open the Products Details form blank so that it can be added to the inventory list.