Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    johnpolg is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    11
    the image below shows the image below in excel. i was just wonder if it was possible in access. maybe it is just be beyond my access skill level.


    what i am trying to do is when you select the all components you get a documented identifier. once a person has there identifier they will get a unique number, which is there selected series number, then the next available number in the series.

    in the excel i have use VBA, if there is a value in the table of XXXX0783-ZZZ-10-XXXX-RD-S-BR201 the number given is XXXX0783-ZZZ-10-XXXX-RD-S-BR202.

    Once all combined this should be a unique document number cant be used for by anyone else.

    is there an easy way to do this?


    i just had an idea but not sure how to do. can person try and write the number but if its alright use a note should state number already take? is this easier?

    or is what i am trying a high level skills.
    Attached Thumbnails Attached Thumbnails excel_2.JPG   excel.JPG  

  2. #17
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    Some major changes in attached DB include removing all table lookups and replacing with PK - FK relationships.
    Click image for larger version. 

Name:	relationships.png 
Views:	26 
Size:	26.8 KB 
ID:	47415

    Then modifying form code to allow the automatic creation of DrawingSheetNumber and updating t00_record with document identifier and document number.
    All necessary portions of the document number are verified present before allowing any updates.

    Click image for larger version. 

Name:	form.png 
Views:	25 
Size:	51.0 KB 
ID:	47416

    These changes, along with Micron's suggestions should get you well advanced.

  3. #18
    johnpolg is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    11
    sorry for the delay reply. thanks very much for this.

  4. #19
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    Quote Originally Posted by johnpolg View Post
    sorry for the delay reply. thanks very much for this.
    I have a revised version that fixes a couple of problems in the original if you'd like to have it. It has main form with 2 tabs. One tab to create the doc number revs and another tab (shown) that allows reviews.
    I assume that edits to doc numbers would not be allowed, too much chance to get things screwed up.

    Click image for larger version. 

Name:	review.png 
Views:	15 
Size:	39.7 KB 
ID:	47441

  5. #20
    johnpolg is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    11
    wow, that would be great. thanks.
    still trying/working on getting database to count number of time a document identifier and series to automatic the number. I have in a query just trying to add to the form, given the overall document number.

  6. #21
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    Quote Originally Posted by johnpolg View Post
    wow, that would be great. thanks.
    still trying/working on getting database to count number of time a document identifier and series to automatic the number. I have in a query just trying to add to the form, given the overall document number.
    Ok. This version does that. As a matter of fact, the user cannot type in the new document suffix, it is calculated based on prior entries.

    Blm number_rev B-davegri-v02.zip

  7. #22
    johnpolg is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2022
    Posts
    11
    Click image for larger version. 

Name:	Capture_10.JPG 
Views:	11 
Size:	125.2 KB 
ID:	47447
    hi that great, i can see it has work for you but the create new record button doesnt work for me. is there something i am doing wrong?

  8. #23
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    hi that great, i can see it has work for you but the create new record button doesnt work for me. is there something i am doing wrong?
    I have sent you a PM.

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

Similar Threads

  1. Best Practice db development - newby to Access
    By CraigJ in forum Database Design
    Replies: 4
    Last Post: 04-15-2015, 08:11 AM
  2. DB in development BLOAT
    By libraccess in forum Database Design
    Replies: 4
    Last Post: 12-05-2013, 10:58 PM
  3. Self Join Table Form Development
    By grizzly98 in forum Forms
    Replies: 1
    Last Post: 05-17-2012, 05:39 PM
  4. Development Time?
    By Drak in forum Access
    Replies: 2
    Last Post: 02-06-2012, 07:07 AM
  5. Access Runtime Development
    By crowegreg in forum Access
    Replies: 2
    Last Post: 08-09-2011, 09:22 AM

Tags for this Thread

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