Page 3 of 3 FirstFirst 123
Results 31 to 39 of 39
  1. #31
    tygereye is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2014
    Posts
    18
    Oops, sorry - it's Creativity

  2. #32
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    That is weird. All I did was rename that TextBox without the embedded space in the name. Now it seems to work as one would expect.
    Attached Files Attached Files

  3. #33
    trevor40's Avatar
    trevor40 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    407
    This won't work.

    MsgBox "This batch number [" & Me.Batch_Number & "] has already been logged!" & vbCrLf & _
    "For Re-Assays, add suffix RE1 or RE2, as necessary.", vbOKOnly, "Duplicated entry"

    Try this in stead
    MsgBox "This batch number " & Me.Batch_Number & " has already been logged!" & vbCrLf & _
    "For Re-Assays, add suffix RE1 or RE2, as necessary.", vbOKOnly, "Duplicated entry"


  4. #34
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by trevor40 View Post
    This won't work.

    MsgBox "This batch number [" & Me.Batch_Number & "] has already been logged!" & vbCrLf & _
    "For Re-Assays, add suffix RE1 or RE2, as necessary.", vbOKOnly, "Duplicated entry"

    Try this in stead
    MsgBox "This batch number " & Me.Batch_Number & " has already been logged!" & vbCrLf & _
    "For Re-Assays, add suffix RE1 or RE2, as necessary.", vbOKOnly, "Duplicated entry"

    What do you mean by "This won't work?" Why?

  5. #35
    trevor40's Avatar
    trevor40 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    407
    I'm sure I allready posted this but I'll try again, It could be confusing if you don't read this carefully, I know the brackets are inside the comments but it does look a bit odd like that.

    MsgBox "This batch number [" & Me.Batch_Number & "] has already been logged!" & vbCrLf & _
    "For Re-Assays, add suffix RE1 or RE2, as necessary.", vbOKOnly, "Duplicated entry"

    MsgBox "This batch number " & Me.Batch_Number & " has already been logged!" & vbCrLf & _
    "For Re-Assays, add suffix RE1 or RE2, as necessary.", vbOKOnly, "Duplicated entry"


  6. #36
    tygereye is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2014
    Posts
    18
    Hi again
    I have changed the TextBox to not having the embedded space.
    Still no luck.
    Then I noticed you had Data Entry set to 'No' under Properties. I did the same and then it worked!
    However, eventually I need the operators to see the blank form upon opening. Any suggestions?

  7. #37
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I forgot I did that. Data Entry keeps the Recordset from seeing anything but new records. Use the OnLoad event of the form to move to a new record.

  8. #38
    tygereye is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2014
    Posts
    18
    RuralGuy, it is working!
    Thank you SOOO much!
    I really appreciate it.
    Have a great day!

  9. #39
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    That's great! Glad we could help.

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Simple question
    By blackstatic42 in forum Access
    Replies: 4
    Last Post: 07-22-2020, 08:50 AM
  2. A simple question:
    By kosti in forum Queries
    Replies: 4
    Last Post: 10-12-2011, 11:46 AM
  3. Simple VBA Question
    By koper in forum Access
    Replies: 1
    Last Post: 01-20-2011, 12:07 PM
  4. Simple question
    By KenM in forum Queries
    Replies: 1
    Last Post: 11-10-2009, 03:32 PM
  5. Simple question?
    By roads.zx in forum Access
    Replies: 0
    Last Post: 10-15-2009, 04:56 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