M
mindstorm
I have read through all of the past posts about auto-updating a combo
box by using the NotInList event, but for some reason I can't wrap my
head around it. I am putting together a simple little expense tracking
db for our department, and wanted to add a 'Quick Add' like
functionality to the Vendor list in the 'Transaction' form... here's a
real quick sketch of my structure:
tblVendor
Vendor ID (text)
Vendor Name (text)
tblGLCodes
GL Code (text)
Description (text)
tblLocations
Location ID (text)
Location (text)
tblTransactions
Transaction ID (AutoNumber)
GL Code (text)
Location (text)
Vendor (text)
Purchase Amount (Currency)
Description (text)
Reason (text)
Purchase Date (date/time)
Submit Date (date/time)
Now, on my Transactions Form, I created a button called Quick Add that
calls for a form that has the tblVendor fields there so they can add a
new vendor to the DB, but as expected, when they close the subform, the
new vendor does not show up in the combo box. Am I missing something in
my logic? Is there a way to use the NotInList procedures to accomplish
what I need, though we need 2 pieces of information for that table? Am
I just overthinking it?
Thanks in advance for any assistance.
Jim
box by using the NotInList event, but for some reason I can't wrap my
head around it. I am putting together a simple little expense tracking
db for our department, and wanted to add a 'Quick Add' like
functionality to the Vendor list in the 'Transaction' form... here's a
real quick sketch of my structure:
tblVendor
Vendor ID (text)
Vendor Name (text)
tblGLCodes
GL Code (text)
Description (text)
tblLocations
Location ID (text)
Location (text)
tblTransactions
Transaction ID (AutoNumber)
GL Code (text)
Location (text)
Vendor (text)
Purchase Amount (Currency)
Description (text)
Reason (text)
Purchase Date (date/time)
Submit Date (date/time)
Now, on my Transactions Form, I created a button called Quick Add that
calls for a form that has the tblVendor fields there so they can add a
new vendor to the DB, but as expected, when they close the subform, the
new vendor does not show up in the combo box. Am I missing something in
my logic? Is there a way to use the NotInList procedures to accomplish
what I need, though we need 2 pieces of information for that table? Am
I just overthinking it?
Thanks in advance for any assistance.
Jim