I am trying to move the location of two combo boxes to a different form, but it is not working very well. the two combo boxes are cmbEmployeeID and cmdPerformance. I am trying to move them to a subform that pops up from another form.
I copied everything exactly, the row source is exactly the same, and I added the reference in the forms Record Source. (seen below)
cmbPerformance RowSource -
SELECT STAT_Performance_LT.PerformanceID, STAT_Performance_LT.Description FROM STAT_Performance_LT ORDER BY [PerformanceID];
-
cmdEmployee RowSource -
SELECT qryActiveEmployees.EmployeeID, qryActiveEmployees.Name FROM qryActiveEmployees ORDER BY qryActiveEmployees.Name;
-
Forms Record Source Property -
SELECT STAT_Orders.EmployeeID, STAT_Orders.PerformanceID, Shippers.Name, Orders.OrderID, Orders.ShippedDate, Orders.RequiredDate, Orders.ApprovedByEG, Orders.ApprovedByBB, Orders.ShipTrackNum, Orders.ShippedInvoice, Orders.ShipperID, Orders.InvoicePrinted, Orders.PackageSize, Orders.ShippedBy, Orders.FilledBy, Orders.ShipComments, Orders.PrePaid, Orders.Collect, Orders.Freight, Orders.Subtotal, Orders.GSTCharge, Orders.PSTCharge, Orders.HSTCharge, Orders.CustomerID, Orders.OrderDate, Orders.TechAssigned FROM Shippers RIGHT JOIN (Employees RIGHT JOIN Orders ON (Employees.EmployeeID=Orders.ShippedBy) AND (Employees.EmployeeID=Orders.FilledBy)) ON Shippers.ShipperID=Orders.ShipperID;
-
The comboboxes are showing up fine, but I cant click on any of the items
Anyone have any ideas whats wrong/what I am missing?
4 1467
Possible causes: - Combobox control is Locked
- AllowEdits on popup form is set to No/False
- Popup form is based on a Query that is Read-Only
If the 'subform' is an actual subform (it sounds more like it's simply a form being opened from another form, which does not constitue a 'subform') the main form being Read-Only would also cause the problem.
Linq ;0)>
You're right, its a popup not an actual subform.
The combobox isnt locked, the AllowEdits is Yes, and the form is based off.
Here is the code for the RecordSource of the form if it helps. The STAT_Orders.EmployeeID and STAT_Orders.PerformanceID are where I am getting the values for the two comboboxes -
SELECT STAT_Orders.EmployeeID, STAT_Orders.PerformanceID, Shippers.Name, Orders.OrderID, Orders.ShippedDate, Orders.RequiredDate, Orders.ApprovedByEG, Orders.ApprovedByBB, Orders.ShipTrackNum, Orders.ShippedInvoice, Orders.ShipperID, Orders.InvoicePrinted, Orders.PackageSize, Orders.ShippedBy, Orders.FilledBy, Orders.ShipComments, Orders.PrePaid, Orders.Collect, Orders.Freight, Orders.Subtotal, Orders.GSTCharge, Orders.PSTCharge, Orders.HSTCharge, Orders.CustomerID, Orders.OrderDate, Orders.TechAssigned FROM Shippers RIGHT JOIN (Employees RIGHT JOIN Orders ON (Employees.EmployeeID=Orders.FilledBy) AND (Employees.EmployeeID=Orders.ShippedBy)) ON Shippers.ShipperID=Orders.ShipperID;
-
A form based on a query that joins three or more tables is almost sure to be Read-Only!
Have a look at Allen Browne's article as to why this is so and for some possible workarounds: http://allenbrowne.com/ser-61.html
Linq ;0)>
"It uses JOINs of different directions on multiple tables in the FROM clause. Remove some tables."
I dont think I can just remove some of the tables, they are there to get other data from for the rest of the form
Sign in to post your reply or Sign up for a free account.
Similar topics
by: D Perron |
last post by:
I am having a problem working with one combo box that is filtering
another combo box.
My table is tblResearch. There are two field in this table; one
is and the other . I have a form called...
|
by: jim |
last post by:
I have created a Table that has 13 fields and 2 Primary Keys, e.g. 60 1, 60
2, ... 60 28,
61 1, 61 2, ... 61 28, etc...
I want to create a Form where I can input the Primary Key values to query...
|
by: prakashsurya |
last post by:
Hi
i am having a small problem with combo boxes
actually i am preparing a form
in which i have to go through the experience in years
for that i am using 4 combo boxes.
on the first two combo...
|
by: annivanova |
last post by:
Hi,
I saw posts in Dependent listboxes on access forms, which problem is very similar to my.
I’m working over to create an MS Access application.
I used in my project given code :
Code:...
|
by: buddyr |
last post by:
Hello,
I have a store database already set up with alot of data in it.
I have one table: table1
fields: partNumber, storeName,date,amount,description- ( some others)
I have one form: form1
up to...
|
by: kcdoell |
last post by:
I have a form (Form1) that displays records based on 3 unbound combo boxes that are also on my form. My record source for this form is a query “ReQryForecast” (which looks at those combo boxes via...
|
by: jgoodnight |
last post by:
Hi,
I have a form with three combo boxes: Area, Sub-Area, and Factor. I've set up the Sub-Area combo box to list only those areas that are part of the selected area. I've set up the Factor combo...
|
by: BeaBea |
last post by:
Hi All,
I have been reading some of the threads in your forum and decided to join and post my question. Hopefully it won't be too lengthy.
I have created an Unbound Form called paramform2. ...
|
by: JeremyI |
last post by:
The form I am working on at the moment is designed to allow a data entry person to add new questions for the assessment of some properties. I am trying to set up cascading combo boxes that force the...
|
by: mwgjr |
last post by:
Problem – displaying a graphics form from another form’s button click event without losing the XY data plot.
If the Startup form is the GraphWindow form the Graphlib.vb calls create a XY data...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |