This is absolutely amazingsee Allen Brownes Crosstab sample, especially this section "
Multiple sets of values
this is the example:
Thank you so muchand here is your database (Combine query), using Allen Browne's
Trying to get this query into a form nowwhen you view the query, the columns are in "alternating" (qty then vol).
you can drag to arrange the columns and "group" them (group by qty or volume).
I tried that but there is no addition control sources to select in the Formyou need to set the ControlSource of each "#Name?" textbox to the column in your Query.
I tried that but there is no addition control sources to select in the Form
View attachment 106367
View attachment 106368
These are the only controls to select from when I select the query as record source
The queries makes provision for any additional locations from the table should they be addedCan't set ControlSource to fields that don't exist.
If you want "placeholders" columns then need to specify names in the CROSSTAB PIVOT clause with IN(). Again, look at Allen Browne's article for more info.
look at Agent Laura and Johny, they both have same qty/volume and the Total is not Tally?Got it thank you
Please take Plog's advice above.I tried the below code but got a lot of errors