RitaMoloney
Registered User.
- Local time
- Today, 12:27
- Joined
- May 6, 2004
- Messages
- 50
Hi,
I really need some help with this as I am a novice at vb.
I have a table called tblStores which contains the fields PartName, UnitsInStock, ReorderLevel and Discontinued. I have created a form called frmStoreRoom, this form displays the PartNames details upon selecting a part name via a combo box. All is working well here.
I need to check through all records in tblStore to find the PartNames where the UnitsInStock is less than or equal to ReorderLevel and that are not Discontinued. If there are any Parts, I would like the results to be displayed in a message box that will pop-up when the frmStoreRoom form is opened.
The message box could display the names of each part that needs tobe reordered and ask the question would you like to reorder or cancel. These would be two buttons where the reorder button would take you to the reorder form. The cancel button would ignore everything and close the form/message box.
I know I can create a form to be used as the message box but I have no idea how to go about doing the vb side of it. If anyone has any suggestion it would be great.
Thanks in advance,
I really need some help with this as I am a novice at vb.
I have a table called tblStores which contains the fields PartName, UnitsInStock, ReorderLevel and Discontinued. I have created a form called frmStoreRoom, this form displays the PartNames details upon selecting a part name via a combo box. All is working well here.
I need to check through all records in tblStore to find the PartNames where the UnitsInStock is less than or equal to ReorderLevel and that are not Discontinued. If there are any Parts, I would like the results to be displayed in a message box that will pop-up when the frmStoreRoom form is opened.
The message box could display the names of each part that needs tobe reordered and ask the question would you like to reorder or cancel. These would be two buttons where the reorder button would take you to the reorder form. The cancel button would ignore everything and close the form/message box.
I know I can create a form to be used as the message box but I have no idea how to go about doing the vb side of it. If anyone has any suggestion it would be great.
Thanks in advance,