Results 1 to 2 of 2
  1. #1
    Raptor_45 is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2013
    Posts
    11

    Parameterized Queries in Access 2010

    Hi, I have a database running on SQL Server and I have created some forms in Access 2003. Some of the forms call stored procedures and functions which prompt you for the required parameters. Access 2003 automatically pops up a box that asks me for the parameters then either returns the results or inserts the data. Access 2010 won't prompt me for the parameters, it just gives me an error saying missing required parameter or something. I've heard people say I need to create a pass through query. I tried this but couldn't get anything to work without hard coding the parameters.


    Why does Access 2003 prompt for parameters and Access 2010 doesn't? Do I need to rewrite these procedures and functions? Thanks,



    Jess

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    well try this: in query design view - with your cursor in white space in the upper half of the view; right click and select 'Parameter': in the box that opens - enter the field name of the column that has the parameter prompt and enter its data type (text, integer, date, etc) - save and try...... just a guess

    if that doesn't work you are going to have to experiment a little....

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

Similar Threads

  1. Replies: 5
    Last Post: 01-07-2016, 12:49 PM
  2. Exporting multiple tables/queries to XML Access 2010
    By InuYasha64 in forum Import/Export Data
    Replies: 3
    Last Post: 09-14-2012, 12:26 PM
  3. Replies: 0
    Last Post: 02-07-2012, 04:38 AM
  4. 2010 and 2007 Access Queries, Forms & Reports
    By rpaldridge in forum Import/Export Data
    Replies: 3
    Last Post: 02-11-2011, 07:37 AM
  5. Export 2 Queries to Same Workbook in Access 2010
    By Mikey in forum Import/Export Data
    Replies: 2
    Last Post: 08-23-2010, 05:16 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