Hello,
I would like to pop up a message box that includes a value from a table record within the message so the user can confirm that the information is correct.
Example - user is going to create a new document and they provide a lot number. The association part number is queried and appended to a table. Table LotPart has 2 fields: Lot and Part. Let's say the part number for the lot they enter is "25CHENS". I run a Make Table Query to store that lot and part number in. Before continuing I would like a msgbox to say "Is 25CHENS the correct part number?" to which they answer Yes/No.
I know how to program the msgbox command to display Yes/No and to either stop the macro or continue based on their answer. What I would like to know is how can I display the Part within the message of the msgbox?
I thought it would be something like MsgBox("Is " &[LotPart].[Part]& " the correct part?",4)=6 Stop Macro.
I'm willing to do this in the VB code but would appreciate some assistance as I'm not sure how to do this.
Does anyone know how to do this? Thanks for your help.
Jan