Solved

Enter parameter value

Posted on 2011-09-28
6
208 Views
Last Modified: 2012-05-12
Experts,
I have a combo box that generates the following error in he AfterUpdate event:
Enter Parameter Value
Forms!frmAdjustmentsToBonus!cboEmployee

The name of the form is frmMaintenaceToBonus

The query is:
SELECT tblAdjustmentsToBonus.EmployeeID, tblEmployee.EmployeeFirstName & " " & [EmployeeLastName] AS Employee
FROM tblAdjustmentsToBonus INNER JOIN tblEmployee ON tblAdjustmentsToBonus.EmployeeID = tblEmployee.EmployeeID
GROUP BY tblAdjustmentsToBonus.EmployeeID, tblEmployee.EmployeeFirstName & " " & [EmployeeLastName];

I cannot locate this source
0
Comment
Question by:Frank Freese
  • 3
  • 3
6 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 36718275
check the rowSource of your combo box, that is mentioned/listed in the afterupdate event of the combo box "cboEmployee"..

0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 36718314
when you find the RowSource of the combo,

change this

Forms!frmAdjustmentsToBonus!cboEmployee

with



Forms!frmMaintenaceToBonus!cboEmployee

btw

should "frmMaintenaceToBonus"  be "frmMaintenanceToBonus"


0
 

Author Comment

by:Frank Freese
ID: 36718350
the query I listed above was from the row source. By the way, this is a copy of the form you fixed for me on post 36598961. All I did was copy the orginal form frmAdjustmentsToBonus and named the copy frmMaintenanceToBonus ans deleted in the new form the command button Maintenance.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 36718361
if i remember it right, check the RowSource of combo cboMonth.
0
 

Author Comment

by:Frank Freese
ID: 36718390
I missed that -- great pick up and thank you - problem gone
0
 

Author Closing Comment

by:Frank Freese
ID: 36718393
thank you - I do appreciate your help
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

831 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