Results 1 to 2 of 2
  1. #1
    Neil2p is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2013
    Posts
    1

    Help With Incrementing field number

    I have a table that was imported from an existing Excel file, It has a field called ORDER No, this has been populated with consecutive numbers brought in from the original Excel file, I need to have this number incremented by 1 each time a new purchase order is raised, with this new number being displayed. Any ideas

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    When you create a new Order you find the current max(OrderNo) and add 1. But there must be more to your database. Until readers know more about you and your set up, they can not offer focused assistance.

    Is Order the same thing as Purchase Order?
    Did you Normalize your tables? This is important (critical) in Access and other database systems.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 11-30-2011, 11:02 AM
  2. Replies: 4
    Last Post: 07-27-2011, 09:25 AM
  3. Replies: 1
    Last Post: 07-27-2011, 09:19 AM
  4. Incrementing a field
    By Wayne311 in forum Programming
    Replies: 20
    Last Post: 01-20-2011, 06:21 PM
  5. Custom & Auto Incrementing Job Number
    By mastromb in forum Programming
    Replies: 1
    Last Post: 01-05-2010, 02:58 PM

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