Results 1 to 2 of 2
  1. #1
    JackieEVSC is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    70

    Clear values on query based form

    I have a form (frm_Inventory) that is based on a query that requires the end user to enter (or scan) an asset barcode number. The information associated with that tag number is displayed. If that's the correct information, the user can then click a button which creates a repair ticket for that device (which writes the info to the database, assigns an auto-numbered repair ticket) and opens a second form (frm_RepairInfo) where they user can enter the damage/problem with the unit and print a repair ticket. This part works perfectly.

    The problem comes when the user needs to create another ticket. I have a button on this form (frm_RepairInfo) which opens up frm_Inventory. When you click this button, it's not running the query again or prompting the user to enter an asset tag, which means the information from the previous query is still populated on the form.



    I know the answer is glaringly obvious to someone who knows vba well, but I'm stymied! How do I clear the values so that it runs the query every time frm_Inventory is opened?

  2. #2
    JackieEVSC is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    70
    Nevermind ... I have the form name misspelled. (duh!)

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

Similar Threads

  1. Change Table Index Values Based on query Values
    By thuzkee02 in forum Import/Export Data
    Replies: 2
    Last Post: 11-24-2015, 11:45 PM
  2. Replies: 1
    Last Post: 02-27-2015, 05:03 PM
  3. Replies: 1
    Last Post: 12-24-2012, 09:36 AM
  4. Replies: 2
    Last Post: 11-12-2012, 03:52 AM
  5. clear field values
    By surrendertoo in forum Queries
    Replies: 0
    Last Post: 02-23-2008, 10:57 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