473,320 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Help with combo box

I have a form that is based on a table called CVA Defects Table. Three
of the fields in the table and form are Oil line defects, Gas line
defects, and Sub assembly defects. These fields use lookups into
another table called "defects table". If I input from the CVA Defects
Table everything works fine all the time. However when I input data
from the form I have problems.
The Oil & Gas line lookups work very well all the time in the form.
The Sub assembly lookup doesn't. I get this error message:

The record source'~sq_cCVA Line DC~sq_cSub Assembly Defect' specified on
this form or report does not exist.

So I've checked the record source property line and this is what is in
that line:
Select [CVA Defects Table].[Sub Assembly Defects] From [CVA Defects Table];

This appears to be correct. I'm not sure why the error message says
"CVA Line DC, that is the name of the form not the table.

I can make it work if I redo the record source. When I redo the record
source I type in exactly what I wrote above. I even highlighted the
line, cut it, and pasted it right back in. That made it work. I save
it close the form, open it back up and get the same error message.

I also deleted the combo box from the form, dragged a new one down from
the field list and it worked perfectly, until I re-opened it, then I got
the same error message again.

The defects table that holds the three defects data has three columns,
Oil defects, Gas defects, and Sub assembly defects. I use the record
source, column count, and bound column property boxes to control which
column the lookup uses.

Any ideas what is wrong?
Thanks for your help,
Don..................
Nov 13 '05 #1
4 1522
On Sat, 15 Oct 2005 13:08:42 GMT, Don Sealer <vz******@verizon.net>
wrote:

Queries starting with ~sq_ are generated behind the scenes by Access,
for example when you use query by form. Typically you can get rid of
them by compacting the db.

-Tom.

I have a form that is based on a table called CVA Defects Table. Three
of the fields in the table and form are Oil line defects, Gas line
defects, and Sub assembly defects. These fields use lookups into
another table called "defects table". If I input from the CVA Defects
Table everything works fine all the time. However when I input data
from the form I have problems.
The Oil & Gas line lookups work very well all the time in the form.
The Sub assembly lookup doesn't. I get this error message:

The record source'~sq_cCVA Line DC~sq_cSub Assembly Defect' specified on
this form or report does not exist.

So I've checked the record source property line and this is what is in
that line:
Select [CVA Defects Table].[Sub Assembly Defects] From [CVA Defects Table];

This appears to be correct. I'm not sure why the error message says
"CVA Line DC, that is the name of the form not the table.

I can make it work if I redo the record source. When I redo the record
source I type in exactly what I wrote above. I even highlighted the
line, cut it, and pasted it right back in. That made it work. I save
it close the form, open it back up and get the same error message.

I also deleted the combo box from the form, dragged a new one down from
the field list and it worked perfectly, until I re-opened it, then I got
the same error message again.

The defects table that holds the three defects data has three columns,
Oil defects, Gas defects, and Sub assembly defects. I use the record
source, column count, and bound column property boxes to control which
column the lookup uses.

Any ideas what is wrong?
Thanks for your help,
Don..................


Nov 13 '05 #2
Tom,
I think I follow what your saying but I don't have a query associated
with these tables or with this form.
I will however try compacting the database.
Thanks,
Don........

Tom van Stiphout wrote:
On Sat, 15 Oct 2005 13:08:42 GMT, Don Sealer <vz******@verizon.net>
wrote:

Queries starting with ~sq_ are generated behind the scenes by Access,
for example when you use query by form. Typically you can get rid of
them by compacting the db.

-Tom.
I have a form that is based on a table called CVA Defects Table. Three
of the fields in the table and form are Oil line defects, Gas line
defects, and Sub assembly defects. These fields use lookups into
another table called "defects table". If I input from the CVA Defects
Table everything works fine all the time. However when I input data

from the form I have problems.

The Oil & Gas line lookups work very well all the time in the form.
The Sub assembly lookup doesn't. I get this error message:

The record source'~sq_cCVA Line DC~sq_cSub Assembly Defect' specified on
this form or report does not exist.

So I've checked the record source property line and this is what is in
that line:
Select [CVA Defects Table].[Sub Assembly Defects] From [CVA Defects Table];

This appears to be correct. I'm not sure why the error message says
"CVA Line DC, that is the name of the form not the table.

I can make it work if I redo the record source. When I redo the record
source I type in exactly what I wrote above. I even highlighted the
line, cut it, and pasted it right back in. That made it work. I save
it close the form, open it back up and get the same error message.

I also deleted the combo box from the form, dragged a new one down from
the field list and it worked perfectly, until I re-opened it, then I got
the same error message again.

The defects table that holds the three defects data has three columns,
Oil defects, Gas defects, and Sub assembly defects. I use the record
source, column count, and bound column property boxes to control which
column the lookup uses.

Any ideas what is wrong?
Thanks for your help,
Don..................


Nov 13 '05 #3
I have compacted and repaired the db but it still gives the error
message. I don't really see any difference between any of the three
fields of similar construction. The fields and property boxes for the
other two defects works all the time. The one for sub assembly defects
rarely works. I just tried it after the compacting and it didn't work,
I got the same error message. However I went into the property box,
highlighted the record source line, cut the type, then pasted it back in
the record source line, switched to form view and the look up worked
fine. I saved and closed the form, opened it back up and I get the
error message.
I still don't understand.
Don..............

Don Sealer wrote:
Tom,
I think I follow what your saying but I don't have a query associated
with these tables or with this form.
I will however try compacting the database.
Thanks,
Don........

Tom van Stiphout wrote:
On Sat, 15 Oct 2005 13:08:42 GMT, Don Sealer <vz******@verizon.net>
wrote:

Queries starting with ~sq_ are generated behind the scenes by Access,
for example when you use query by form. Typically you can get rid of
them by compacting the db.

-Tom.
I have a form that is based on a table called CVA Defects Table.
Three of the fields in the table and form are Oil line defects, Gas
line defects, and Sub assembly defects. These fields use lookups
into another table called "defects table". If I input from the CVA
Defects Table everything works fine all the time. However when I
input data


from the form I have problems.


The Oil & Gas line lookups work very well all the time in the form.
The Sub assembly lookup doesn't. I get this error message:

The record source'~sq_cCVA Line DC~sq_cSub Assembly Defect' specified
on this form or report does not exist.

So I've checked the record source property line and this is what is
in that line:
Select [CVA Defects Table].[Sub Assembly Defects] From [CVA Defects
Table];

This appears to be correct. I'm not sure why the error message says
"CVA Line DC, that is the name of the form not the table.

I can make it work if I redo the record source. When I redo the
record source I type in exactly what I wrote above. I even
highlighted the line, cut it, and pasted it right back in. That made
it work. I save it close the form, open it back up and get the same
error message.

I also deleted the combo box from the form, dragged a new one down
from the field list and it worked perfectly, until I re-opened it,
then I got the same error message again.

The defects table that holds the three defects data has three
columns, Oil defects, Gas defects, and Sub assembly defects. I use
the record source, column count, and bound column property boxes to
control which column the lookup uses.

Any ideas what is wrong?
Thanks for your help,
Don..................


Nov 13 '05 #4
Here's another thing that is puzzling. I've deleted the combo box on my
form for the sub assembly defects. I then go into "view" field list and
pull down the same, sub assembly defects. If the message is telling me
this doesn't exist "> The record source'~sq_cCVA Line DC~sq_cSub
Assembly Defect' specified on
this form or report does not exist.
then why would it be in my field list?
It works until I close the form but when I re-open the form I get the
message.
Don.............

Don Sealer wrote: I have a form that is based on a table called CVA Defects Table. Three
of the fields in the table and form are Oil line defects, Gas line
defects, and Sub assembly defects. These fields use lookups into
another table called "defects table". If I input from the CVA Defects
Table everything works fine all the time. However when I input data
from the form I have problems.
The Oil & Gas line lookups work very well all the time in the form. The
Sub assembly lookup doesn't. I get this error message:

The record source'~sq_cCVA Line DC~sq_cSub Assembly Defect' specified on
this form or report does not exist.

So I've checked the record source property line and this is what is in
that line:
Select [CVA Defects Table].[Sub Assembly Defects] From [CVA Defects Table];

This appears to be correct. I'm not sure why the error message says
"CVA Line DC, that is the name of the form not the table.

I can make it work if I redo the record source. When I redo the record
source I type in exactly what I wrote above. I even highlighted the
line, cut it, and pasted it right back in. That made it work. I save
it close the form, open it back up and get the same error message.

I also deleted the combo box from the form, dragged a new one down from
the field list and it worked perfectly, until I re-opened it, then I got
the same error message again.

The defects table that holds the three defects data has three columns,
Oil defects, Gas defects, and Sub assembly defects. I use the record
source, column count, and bound column property boxes to control which
column the lookup uses.

Any ideas what is wrong?
Thanks for your help,
Don..................

Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: CGuy | last post by:
URGENT HELP REQUIRED FROM GURUS Hi, I have a custom object that implements ICollection and IListSource. This object has also an enumerator defined for it which implements IEnumerator and...
2
by: mark | last post by:
I've been working on an Access 2000 database for a couple of weeks now. I took a course in access about a year ago, a crash course, and I learned a ton, but I didn't touch Access for the year since...
5
by: J. Yuan | last post by:
Hi, I am working on a checkout/inventory system. How can I make a button that when pressed, would update the previous fields transaction number to a table (for example, -3 printers, so that...
5
by: Steve Patrick | last post by:
Hi All You guys are my last hope, despite spending money on books and hours reading them I still can not achieve the results I need. I have designed a database in Access 2000 based on 1 table,...
8
by: Steph | last post by:
Hi. I'm very new to MS Access and have been presented with an Access database of contacts by my employer. I am trying to redesign the main form of the database so that a button entitled...
9
by: Edwinah63 | last post by:
Hi everyone, Please let there be someone out there who can help. I have two BOUND combo boxes on a continuous form, the second being dependent on the first. I have no problem getting the...
5
by: CCLeasing | last post by:
Hello, I have searched google but can not find a straight forward answer to my problem. Hopefuly someone will be kind enough to offer their expertise. Please forgive if this seems a bit convoluted...
0
by: CCLeasing | last post by:
Hello, I have searched google but can not find a straight forward answer to my problem. Hopefuly someone will be kind enough to offer their expertise. Please forgive if this seems a bit convoluted...
3
by: Strasser | last post by:
In a nested subform in datasheet view, an interviewer of homeless people picks a descriptive CATEGORY from 20 descriptive categories. The 20 categories are displayed via a combo box. (Categories...
2
by: jafarsibtain | last post by:
hi.. I am creating a form where there are two combo Boxes (drop Down) > Program_Combo_box > Course_Code_Combo in the Program Combo Box there are five items in the list > 1. BIT 2.BCA 3....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.