×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Filter forms data based on value of password form combo box selection

Filter forms data based on value of password form combo box selection

Filter forms data based on value of password form combo box selection

(OP)
I need to take the value of a combo box and pass it the form that will open.  I want only the data that matches the passed value of the combo box. Ex:

I have a password form for users. If Michelle is selected and her SupevisorID for the bound field in the combo box is 5 then when the form is open only the data with a 5 in the SupervisorID field for the view that is the forms data source will be available to be viewed.

When I attempt to do the [forms].[frmpassword].[txtSupID] in the views criteria it doesn't work.

When I attmpe to do the [forms].[frmpassword].[txtSupID] in a sql statement it has an error trying to convert the [forms].[frmpassword].[txtSupID] value to an integer.

Help!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources