Page 3 of 3 FirstFirst 123
Results 31 to 39 of 39
  1. #31
    joe.ise is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Location
    Ferrum, VA
    Posts
    22
    I added the End If, ran the debug / compile, no errors. From what I learned previously if I have a module I have to "call it up" in the form with code written into the form like we did before. I tried to replicate that (see screen shot) and got an error (see screen shot).
    I changed the Me.Text6 to Me.Text7 and still got the same error.
    Thanks
    Attached Files Attached Files

  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
    Do a Find on the Project for OnHandTwo( and see if there is more than one somewhere.

  3. #33
    joe.ise is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Location
    Ferrum, VA
    Posts
    22
    Left my laptop at home. Gettin old. Going to try to get it during lunch, if not, get back to you soon. Thanks

  4. #34
    joe.ise is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Location
    Ferrum, VA
    Posts
    22
    I could not figure out how to do a find on the project. I did notice that the db file I saved and sent back to you last did not have my code in the CurrentInventory form. I have corrected that. Can you give me some help on understanding how to do a "find on the project".
    Thanks
    Attached Files Attached Files

  5. #35
    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
    While viewing code, go to Edit>Find and select Current Project.

  6. #36
    joe.ise is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Location
    Ferrum, VA
    Posts
    22
    OK
    I did that for Module2. See attached. I found 3 instances in my code that read "OnHandTwo". I did not find any instances that read "OnHand".
    I did that for Module1. I found 2 instances in my code that read "OnHand". I did not find any instances that read "OnHandTwo".
    I think that is what you wanted me to do. Is that correct ?
    Thanks
    Attached Files Attached Files

  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
    Quote Originally Posted by joe.ise View Post
    I think that is what you wanted me to do. Is that correct ?
    You've got it now. Good luck.

  8. #38
    joe.ise is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Location
    Ferrum, VA
    Posts
    22
    Any idea what might be throwing the attached error ? Thanks
    Attached Files Attached Files

  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
    You have defined TWO OnCurrent events for that form. Delete one.

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

Similar Threads

  1. Sample database for a beginner
    By amphinomos in forum Sample Databases
    Replies: 4
    Last Post: 07-13-2013, 03:51 PM
  2. Beginner thread, 1 problem when using forms
    By c.yyang in forum Access
    Replies: 8
    Last Post: 06-22-2013, 11:26 PM
  3. Problem with tables (beginner)
    By alouest in forum Access
    Replies: 5
    Last Post: 04-05-2012, 12:08 PM
  4. Inventory Control DB (Beginner)
    By Clayton252 in forum Database Design
    Replies: 1
    Last Post: 10-06-2010, 06:41 PM
  5. Absolute beginner qu - transferring a database
    By kirstywing in forum Access
    Replies: 2
    Last Post: 09-07-2010, 02:12 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