By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,562 Members | 1,307 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,562 IT Pros & Developers. It's quick & easy.

Help with combo box

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.