Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problem with form display says error,"Data mismatch".

Posted on 2012-04-13
1
Medium Priority
?
329 Views
Last Modified: 2012-08-14
This is the code of the row source in the code,"SELECT [qryinduction].[Model] FROM qryinduction;

This is the code afterupdate event,"Action(SearchforRecord)   then in where condition ="[Model] = " & "'" & [Screen].[ActiveControl] & "'"(I would like the in active controls to be grayed out)

This code will work in the first two dropdowns. but after that I get an error saying Data type Mismatch. Below is the database. It includes the form query and table.

(I would like the inactive controls to be grayed out) when you select the model.
CheckMark.accdb
0
Comment
Question by:gigifarrow
1 Comment
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 37844788
remove the Control Source of the combo box, make it unbound (no Control source)
GMail2.accdb
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New style of hardware planning for Microsoft Exchange server.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question