Results 1 to 4 of 4
  1. #1
    Rzadziu is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    28

    Query parameter problem

    Hi,



    I have create the Access project file and plugged it into a Microsoft SQL database.
    I have create also a query and a form with a combo box that should control the query.
    Unfortunately, when I try to add a parameter Access show me error measage "Wrong type of data"
    http://screenshooter.net/8947036/ycedyrc

    Can anyone knows how to resolve my problem?

    BR Marcin

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,952
    What are settings for these properties of the combobox:
    RowSource
    ColumnCount
    BoundColumn
    ColumnWidths

    Is OrdNo field a text or number type?
    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
    Rzadziu is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    28
    Hi,
    Row source is from query http://screenshooter.net/8947036/xnmhect

    OrdNo properties - http://screenshooter.net/8947036/fgtstks

    But biggest issue is that i can't put criteria of OrdNo as on first link.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,952
    Verified OrdNo is a number type. Far as I can tell through the language barrier, the combobox properties seem appropriate.

    My best guess is that the parameter used in the query is under the wrong field. The combobox is probably bound to numeric primary key field. The parameter referencing combobox must be under a number field.
    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. Parameter Report Problem
    By keatsy_040489 in forum Reports
    Replies: 3
    Last Post: 02-04-2012, 08:00 AM
  2. Forms Subforms Enter Parameter Problem
    By GenericHbomb in forum Forms
    Replies: 3
    Last Post: 08-02-2011, 10:17 AM
  3. Enter Parameter Value Problem
    By batowl in forum Queries
    Replies: 4
    Last Post: 12-22-2010, 01:37 PM
  4. Custom Query Parameter Prompts-- Problem
    By tylerthompson in forum Forms
    Replies: 11
    Last Post: 07-07-2009, 10:28 PM
  5. Problem with parameter driven combo box
    By clydet2 in forum Queries
    Replies: 0
    Last Post: 04-06-2009, 12:19 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