I have attached a test version (only a few test records and various forums, queries, etc. deleted) of the database causing a problem.
I'm sorry for such a long post; however, it is the only way I know to adequately explain the problem.
Using Access 2007, I created two similar combo boxes, using the control
wizard for each form, in design view, one for each of two separate databases.
For one database it presents no problem at all. But for the other, when I
create a query, initially the query displays during the creation process.
However, every time I try to re-open the query, it re-opens and displays the correct data, BUT only after I close an error message box that always pops up. The error message says:
"An invalid condition was encountered by Access due to a value that you
entered for a field or table property. Review the table for any changes
which might be out of range or are not supported by the table. Examine any changes that you may have made to the table and, if possible, revert back to a previous copy of either the database or the table to determine the differences in your settings."
I have no idea why this is happening. As for values, the field in each
database are simple text fields. I made no changes other that adding the
combo box to each database. Yet, one database never displays the error
message, and the other one always displays it.
The combo box for the database that causes no problems is for a "FROM" field on a datasheet form that I use for posting. It has, as does the other
database, one module that adds a date to an edit date field, if the record is changed. Btw, I don't know VBA programming -- the code was given to me for the module.
In the database that has no problem, I have a separate table named "from" that has all of the possible text entries that comprise the drop down list for selecting an entry for the from field on the form. The main table, has the from field designated as a text field. The "from" table also has the
"from" field designated as a text field.
In the database that causes the problem, I have a separate table named "type" It has one field, named type (a text field), and three records (single, family, lifetime) to indicate membership categories. (Actually I don't really need a combo box to allow me to type only the first letter of each category on the 2010-type field (a text field) on the form. The form is a datasheet form created from the main table. (The form -- and main table [Membership] -- have many fields, such as name, address line 1, state, status, email address, telephone, and for each year, three fields, such as 2010-date, 2010-type, 2010-paid.
Incidentally, I'm keeping this membership database as a volunteer for a non-profit membership organization. I set up the combo box and the "type" table because I wanted to see how a combo box works -- so, I set up a combo box for each database (the other database is an inventory of my digital disks (DVDs, CD, etc. -- the from Combo box lists all of the original sources that my burned CDs & DVDs were made from, such as MP3, AVI, MPG, FLAC, FLAC+Cue Sheet, etc.)
For both databases, the combo boxes work fine...it is only when I run a test by creating a query from the main table (Membership) and only selecting the field (2010-Type) bound by the combo box that I have a problem with the one database -- that is, the error message pops up, as described above. (The property box for cbo2010-Type says Column Bound: 1 -- so I'm assuming that it's bound.....I say assuming, because I lost track, but I used the wizard to create the combo box, deleted it, ran the wizard again, etc. Most times I think it said bound on the design view and I think once or twice said unbound).. Incidentally, if this problem can be resolved, I want to create more combo boxes for 2011-Type, 2012-Type, etc. with all of the combo boxes on the forum getting its listing from the Type table (and the type table should have a single field, called type). Also, a null value (data not required for 2010-Type field on the Membership table because there are some years that members don't renew, then come back in a following year, etc. -- or the field is blank on a members records, because he/she has not renewed yet).
I've made changes to property sheets, etc. but nothing seems to work to get rid of the error message pop-up box. (I renamed the "Type" Table to "2010-Type" to agree same field name in main table and even tried using that field as a primary key in each -- that would not be good -- but I tried it just to see if helped with the problem -- it didn't).
Any suggestions how to remedy this situation would be appreciated, or even advice as to why this should always happen with the one database and never with the other..
Thanks.
I'm sorry for such a long post; however, it is the only way I know to adequately explain the problem.
Using Access 2007, I created two similar combo boxes, using the control
wizard for each form, in design view, one for each of two separate databases.
For one database it presents no problem at all. But for the other, when I
create a query, initially the query displays during the creation process.
However, every time I try to re-open the query, it re-opens and displays the correct data, BUT only after I close an error message box that always pops up. The error message says:
"An invalid condition was encountered by Access due to a value that you
entered for a field or table property. Review the table for any changes
which might be out of range or are not supported by the table. Examine any changes that you may have made to the table and, if possible, revert back to a previous copy of either the database or the table to determine the differences in your settings."
I have no idea why this is happening. As for values, the field in each
database are simple text fields. I made no changes other that adding the
combo box to each database. Yet, one database never displays the error
message, and the other one always displays it.
The combo box for the database that causes no problems is for a "FROM" field on a datasheet form that I use for posting. It has, as does the other
database, one module that adds a date to an edit date field, if the record is changed. Btw, I don't know VBA programming -- the code was given to me for the module.
In the database that has no problem, I have a separate table named "from" that has all of the possible text entries that comprise the drop down list for selecting an entry for the from field on the form. The main table, has the from field designated as a text field. The "from" table also has the
"from" field designated as a text field.
In the database that causes the problem, I have a separate table named "type" It has one field, named type (a text field), and three records (single, family, lifetime) to indicate membership categories. (Actually I don't really need a combo box to allow me to type only the first letter of each category on the 2010-type field (a text field) on the form. The form is a datasheet form created from the main table. (The form -- and main table [Membership] -- have many fields, such as name, address line 1, state, status, email address, telephone, and for each year, three fields, such as 2010-date, 2010-type, 2010-paid.
Incidentally, I'm keeping this membership database as a volunteer for a non-profit membership organization. I set up the combo box and the "type" table because I wanted to see how a combo box works -- so, I set up a combo box for each database (the other database is an inventory of my digital disks (DVDs, CD, etc. -- the from Combo box lists all of the original sources that my burned CDs & DVDs were made from, such as MP3, AVI, MPG, FLAC, FLAC+Cue Sheet, etc.)
For both databases, the combo boxes work fine...it is only when I run a test by creating a query from the main table (Membership) and only selecting the field (2010-Type) bound by the combo box that I have a problem with the one database -- that is, the error message pops up, as described above. (The property box for cbo2010-Type says Column Bound: 1 -- so I'm assuming that it's bound.....I say assuming, because I lost track, but I used the wizard to create the combo box, deleted it, ran the wizard again, etc. Most times I think it said bound on the design view and I think once or twice said unbound).. Incidentally, if this problem can be resolved, I want to create more combo boxes for 2011-Type, 2012-Type, etc. with all of the combo boxes on the forum getting its listing from the Type table (and the type table should have a single field, called type). Also, a null value (data not required for 2010-Type field on the Membership table because there are some years that members don't renew, then come back in a following year, etc. -- or the field is blank on a members records, because he/she has not renewed yet).
I've made changes to property sheets, etc. but nothing seems to work to get rid of the error message pop-up box. (I renamed the "Type" Table to "2010-Type" to agree same field name in main table and even tried using that field as a primary key in each -- that would not be good -- but I tried it just to see if helped with the problem -- it didn't).
Any suggestions how to remedy this situation would be appreciated, or even advice as to why this should always happen with the one database and never with the other..
Thanks.