Results 1 to 4 of 4
  1. #1
    cadmaster is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    8

    Please show me how to make the form generate the ECO number automatically

    Hi Everyone,
    Can someone please show me how to make the form generate the ECO numbber automatically? Please see attached file for detail.

    I really appreciate for you help!


    Thank yoo
    Attached Thumbnails Attached Thumbnails 12-5-2013 9-41-37 PM.jpg  

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Could just let an autonumber field generate unique value and prefix with ECO by formatting but that has its problems. No guarantee the number will be sequential.

    Creating custom unique identifier requires VBA code. Common topic.

    Review: http://forums.aspfree.com/microsoft-...ta-403208.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    cadmaster is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    8
    Hi June7,
    I am a MS access beginner. I don't know much about VBA code.
    Could you please show me how?
    thanks
    Phe

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I have given an example with the referenced thread. Adapt code for your situation. This is a fairly common topic and there are many examples.

    The trickiest part of code is figuring out what event to put code in. I don't know enough about your data structure and business processes to be specific.

    The more automation and 'user friendly', the more code will be required. I suggest that if you don't already know them, you get familiar with basic programming concepts and then learn VBA language.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 2
    Last Post: 08-21-2013, 05:30 PM
  2. How do I make a form come up automatically?
    By Nick Lingenfelter in forum Access
    Replies: 4
    Last Post: 02-27-2013, 09:31 AM
  3. Replies: 1
    Last Post: 10-10-2012, 12:25 PM
  4. Replies: 6
    Last Post: 05-14-2012, 07:24 AM
  5. Replies: 9
    Last Post: 04-28-2009, 05:42 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