I'm somewhat of a beginner with VBA and desperately need help. I have a form in my Access DB and have a button to create a new record in the table. I'm having trouble putting together the unique ID. Once the user clicks on the new record button then I have an input box to prompt them for a 6 digit number called GL. That number relates to a 2 letter code - they are both in another table (not the one the form is based on). The ID I assign in going to be 01-XX-0000 where the XX is the 2 letter code in the other table. How do I pull that 2 letter code to put into my unique ID field on the main form???
Thanks for any help!
Thanks for any help!