G said:
Ok.
I have a form, that has 3 synchronizing combo boxes,
and a few text boxes along with it.
I am dumping the data entry into a table. So far all the
information inputs correctly into the table except the
first combo box that instead of storing a text , it stores
the ID.
For the first combo box a table gets called in the
rowsource, for the second and third combo box a query
gets called in the rowsource. In my Record source of the
form I call the table that I want all the data entry to be
stored in. You suggested that I write a query for that,
which I am not really sure on how to do it. Do I make
sence?
I asked you to explain the tables and their fields too. I
really can't tell how to write the query until I know what
data you have to work with.
Sometimes, the critical parts of a data structure can be
inferred from a form descri[tion, but in this case, it seems
as if thats just causing more confusion. For instance, the
form is bound to the Support table through its RecordSource
property, right? What type of field is each of the combo
boxes bound to in this table? Are they ID numbers, Text
strings or, heaven forbid, Lookup fields? I beginning to
suspect that the problematic field is a Lookup and that's
where all the problems originate.
In addition, you said that one of the combo boxes uses a
table in its RowSource. What is this table? I presume that
it has at least an number field as the record ID and another
field with a descriptive Text string or name. In the combo
box on the form, generally the ID field is the bound column
but the name column has the first non-zero column width. is
that right? If you'd tell me the name of the table and each
of its important fields, we could talk about them more
precisely without all this rambling narrative.
Back to the report. When I said to create a query with both
tables, I meant the Support table and the table used in the
problematic combo box. The connecting line should have one
end at the Support table field bound to the combo box in the
form and the other end at the ID number field in whatever
you're calling the table used in the combo box. From what I
think I've gathered so far, those are the only two tables
required to make the report work as required.