Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    d9pierce1 is offline Expert
    Windows 10 Access 2019
    Join Date
    Jan 2012
    Location
    Oklahoma
    Posts
    776

    Hi June,
    I get it when I type in a new name, then It asks me if I want to add, If I say yes, then it comes up. So I guess once the NIL fires, then this if yes is selected

  2. #17
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Type a new name in unbound combobox on frmOnLineAccess and reply yes to add? Nope, no message.
    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. #18
    d9pierce1 is offline Expert
    Windows 10 Access 2019
    Join Date
    Jan 2012
    Location
    Oklahoma
    Posts
    776
    Hi June,
    Did you try my new test copy? I tried it with desktop, laptop, win10,win11 and I get this error on both?
    I dont have any validation rules so not sure why?
    Thanks

  4. #19
    d9pierce1 is offline Expert
    Windows 10 Access 2019
    Join Date
    Jan 2012
    Location
    Oklahoma
    Posts
    776
    Hi June,
    Thank you for all the assistance with this. I finally figured out how to get rid of that validation rule message!
    I put in Me.TxtWebsite.SetFocus after the requery in the code and the message went away!
    Will marked solved
    Again, thank you
    Dave

  5. #20
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    I think it was being generated when the subform combo received the focus after adding a new entry in the mainform combo.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  6. #21
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Yes, I tried with your db from post 14.
    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.

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

Similar Threads

  1. Replies: 2
    Last Post: 12-29-2016, 11:42 AM
  2. Auto number field
    By Eoluke in forum Access
    Replies: 3
    Last Post: 10-31-2015, 10:33 AM
  3. Add an Auto Number field
    By jrmbach in forum Access
    Replies: 1
    Last Post: 06-13-2014, 04:32 PM
  4. Adding Auto Number field
    By jrmbach in forum Access
    Replies: 1
    Last Post: 08-12-2013, 04:30 PM
  5. Auto number a field
    By jenncivello in forum Access
    Replies: 2
    Last Post: 11-16-2011, 11:28 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