Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
  1. #16
    JLongo is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2008
    Posts
    14
    Can you attach my copy with your fix of the database please??

  2. #17
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    How to attach a file?

  3. #18
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    Here it is.

  4. #19
    JLongo is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2008
    Posts
    14
    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!!

  5. #20
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    You are always welcome.

  6. #21
    JLongo is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2008
    Posts
    14
    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.

  7. #22
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    the textbox is not bound to the table. you may need to save it to table by some coding, using update query.

  8. #23
    JLongo is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2008
    Posts
    14
    Do you have some steps I can follow to accomplish this.

    I'm haven't had much experience with Access (2003).

  9. #24
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    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

  10. #25
    JLongo is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2008
    Posts
    14
    Beautiful!!

    Thanks again.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 08-24-2010, 07:40 PM
  2. Creating a unique ID for a new set of values
    By slaterino in forum Programming
    Replies: 1
    Last Post: 08-24-2010, 09:35 AM
  3. Unique Values and Boolean Fields
    By Triad in forum Forms
    Replies: 1
    Last Post: 07-15-2010, 06:28 PM
  4. Combine one item fields in one field
    By romadm in forum Reports
    Replies: 7
    Last Post: 06-04-2010, 11:09 PM
  5. creating automated ticket number
    By speak2des in forum Access
    Replies: 1
    Last Post: 02-25-2010, 11:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums