Results 1 to 4 of 4
  1. #1
    adnancanada is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    122

    Problem in obtaining parameter from input form

    I have form f_extract. it has one input box name "txtvdrid". Please note that in Query Vendor ID is like that 2342A, 34543B so I m using like function.



    I have query Q_expense

    I am using that parameter in my query.

    like "*" &[forms]![f_extract]![txtvdrid]& "*"

    query runs fine when I use like function without input parameter but whenever I use
    like "*" &[forms]![f_extract]![txtvdrid]& "*"

    give me message please enter parameter value. It s really pain in the butt.

    Please help me out.

  2. #2
    cyanidem's Avatar
    cyanidem is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2015
    Location
    Consett, UK
    Posts
    270
    Try:

    Code:
    Forms![f_extract]![txtvdrid].Value

  3. #3
    adnancanada is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    122
    Quote Originally Posted by cyanidem View Post
    Try:

    Code:
    Forms![f_extract]![txtvdrid].Value
    Tried its not working.

  4. #4
    cyanidem's Avatar
    cyanidem is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2015
    Location
    Consett, UK
    Posts
    270
    Should work (without value though).
    Code:
    Forms![f_extract]![txtvdrid]
    Double check if there's no mispelling in form name or text box name. And show us please what exact message do you receive (with parameter name).

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

Similar Threads

  1. Replies: 10
    Last Post: 02-14-2015, 10:41 AM
  2. Input Parameter Not Working
    By cc143most in forum Queries
    Replies: 2
    Last Post: 08-21-2012, 07:37 AM
  3. Obtaining a value in a form from a table
    By Cedarguy in forum Forms
    Replies: 8
    Last Post: 05-17-2012, 03:21 PM
  4. Use input from form not pop-up parameter
    By hvnlysrph in forum Queries
    Replies: 4
    Last Post: 04-14-2012, 09:36 PM
  5. Form Input Problem
    By alvin in forum Forms
    Replies: 2
    Last Post: 01-12-2006, 09:42 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