Can you attach my copy with your fix of the database please??
Can you attach my copy with your fix of the database please??
How to attach a file?
Here it is.
This is why Access and coding kills me lol. Your copy works so I'm going to stick with that one. Thank you for all your help...this is all i needed.
I will leave positive rep for you...thanks again!!
You are always welcome.
Weekend,
The item number generated is not being stored in the generateditemnumber field within the table?
Do you know why?
I need this stored so I can query this information later.
Thank you.
the textbox is not bound to the table. you may need to save it to table by some coding, using update query.
Do you have some steps I can follow to accomplish this.
I'm haven't had much experience with Access (2003).
1. bound text box "GeneratedItemNumber" to field "GeneratedItemNumber";
2. create event for combo box "Category" as following:
Private Sub Category_BeforeUpdate(Cancel As Integer)
GeneratedItemNumber = DLookup("CategoryAbbr", "tblcategory", "category='" + [Category] + "'") & [ItemNumber]
End Sub
Beautiful!!
Thanks again.