Hi Duane,
Thanks for the response, but I think I solved my issue last night. Here's
the setup I had:
I ran a select query to pull together some rates (from a rates table) and
some hours (Straight, Overtime, & Doubletime from a records table) and added
calculated fields to find the product (charge). I then ran a crosstab query
to get the sum of all the charges for records that met a particular
criteria. Then, I was trying to get the values from the crosstab into a
form so that I do some comparison between the database data and matching
data from an external source (variance). The form I was trying to get the
crosstab values into was bound to a table so that I could store some
information.
After working on this a while, ended up leaving the form bound to the table,
and set the values of the controls to the Sum of the charges from the
original select query. This works well and eliminates (as far as I can
tell) the need for the crosstab query and I'm plowing ahead with it. I
think I was just hung up on using the crosstab since it was the first time I
worked with one and was determined to make it work.
BTW, the columns were not fixed. If you can think of a better solution,
please let me know. Simpler is better, and at this point I'm unsure if I've
made it simple enough. If you want me to post additional information,
please let me know.
Thanks,
Tony