Yes, I think I understand. But, I am reasonably sure the way to accomplish
what you want is not to work in the Form, but with the tables/query that are
the RecordSource for the Form.
Am I correct in understanding that, to start, there will be no Records, so
you need to create them, populate one Field from a Crosstab Query, and then
populate the other Fields from a different Query? If not, please clarify.
If so, (1) how are the Records identified (what field is the one which
uniquely identifies the Record? What type of Field is it? If Autonumber,
that's an easy thing; otherwise, you have to define how the value is
calculated.) (2) Is there only one user, so that you have assurance that no
one else will be trying to do something with a partially-completed Record?
(3) What is the source of the data for the CrossTab Query? Do you have a
working Crosstab Query?
If the RecordSource of your Form includes a Query on ReadOnly data joined
with a Crosstab Query (the results of which aren't editable), then I am not
surprised that the Form is not editable.
Can you explain what type of data you have, what the crosstab is returning,
what editing you want to do, and what you are going to do with it/how you
are going to use it... in business terms, not Access tech terms?
Larry Linson
Microsoft Access MVP
"greg" <gr*****@gmail. comwrote in message
news:11******** **************@ n76g2000hsh.goo glegroups.com.. .
>
Yes, well actually what I'm trying to do is set the values in the Text
Box to a dynamically generated query (within vba code) which I can
access with a DAO.Recordset object. However, the rest of the fields
are generated from a different query which cannot really be altered
because the file (for work related reasons) is read only. I was hoping
to set only certain fields dynamically because they are generated from
a crosstab query and if you join the rest of the query with it, the
data in the entire form cannot be editted. I need all of this
information to be displayed in the form though and still be editable.
I hope that makes sense.
Thanks,
greg