luv2birdie
New member
- Local time
- Today, 12:56
- Joined
- Oct 15, 2014
- Messages
- 9
Need Help!
I have created a RMA (return merchandise authorization) form. I have several unbound textboxes. In the first textbox I want to enter in a serial number which is already in an existing table in my db. I want the second textbox to populate with its associated part number which is located in a field in the same record. We use a scanner to enter the serial number from a barcode on the widget. The remaining textboxes are for updating a separate table but I will get to that later once I figure this part out.
I will have twenty rows of this same scenario in one form (the customer may send multiple units back and we want to process them all in one transaction).
I tried a Dlookup function but it is not working, if that is even an applicable function for my needs.
I tried variations of this:
=DLookUp("[PN]","Products","[SN]=" & [Forms]![frmATS-RMA]![txtSN] & "'")
I do not have any experience in vba. I know where to put it just not how to create it.
Any help would be greatly appreciated.
Thanks,
J
I have created a RMA (return merchandise authorization) form. I have several unbound textboxes. In the first textbox I want to enter in a serial number which is already in an existing table in my db. I want the second textbox to populate with its associated part number which is located in a field in the same record. We use a scanner to enter the serial number from a barcode on the widget. The remaining textboxes are for updating a separate table but I will get to that later once I figure this part out.
I will have twenty rows of this same scenario in one form (the customer may send multiple units back and we want to process them all in one transaction).
I tried a Dlookup function but it is not working, if that is even an applicable function for my needs.
I tried variations of this:
=DLookUp("[PN]","Products","[SN]=" & [Forms]![frmATS-RMA]![txtSN] & "'")
I do not have any experience in vba. I know where to put it just not how to create it.
Any help would be greatly appreciated.
Thanks,
J