Results 1 to 4 of 4
  1. #1
    detaylor1242 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Location
    Lacey, WA
    Posts
    19

    Red face Double inquiry

    Using Access 2010, on Window 7 Pro. I have a main menu form that has a button that runs a Query Macro. However when I select that button it asks me for the consignor number of the records that I want to edit or add to. This is what it is supposed to do but when I put the number in it comes right back and asks me again. When I put it in the second time it works fine.



    The query is Consignor Item Query and the Consignor Field has the ? in it. The Macro for the New/Edit Button is macEditItem that contains Query Name Consignor Item Query, View Datasheet and DataMode Edit. I have several other button that are acting the same as this one. Any help greatly appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I don't use macros. However, I understand them and can usually figure them out. If you want to provide db for analysis, follow instructions at bottom of my post.

    Why does Consignor Field have ? in it?
    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. #3
    detaylor1242 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Location
    Lacey, WA
    Posts
    19
    In a Query the ? is what brings up the message box that asks for input. In this case I would put in the consignor number that I want the query to search for.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Okay, it is in the Criteria row of query and that triggers popup input prompt. I never use them.

    Somewhere else there is another prompt for input. Maybe in the macro. Don't know without being able to analyse.
    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.

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

Similar Threads

  1. Access / Excel / Word Checkbox Macro Inquiry
    By taikuodo in forum Programming
    Replies: 0
    Last Post: 06-04-2012, 06:02 PM
  2. recordsource - inquiry
    By myboii1984 in forum Forms
    Replies: 4
    Last Post: 04-02-2012, 08:11 AM
  3. Layout Inquiry
    By allstar45 in forum Reports
    Replies: 2
    Last Post: 03-15-2012, 11:44 AM
  4. Inquiry form updates the current record
    By mazzanrol in forum Forms
    Replies: 4
    Last Post: 04-08-2011, 08:35 AM
  5. Query Optimization Inquiry
    By Nobody in forum Queries
    Replies: 1
    Last Post: 07-29-2010, 08:53 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