One of my glorious forms in my multi-form report thingiemajigger is a tabular form. For example, it shows customer items purchased and the price.
"Item1" "1.99"
"Item2" "2.99"
I'd like to pull that data into a single string from another form. But my variable assignment just keeps pulling the first item over and over.
Expand|Select|Wrap|Line Numbers
- Summary=[Forms]![MainForm]![Orderform].[Form]![ItemName] & " " & _
- [Forms]![MainForm]![Orderform].[Form]![ItemPrice]
- Summary=Summary & ", " & _
- [Forms]![MainForm]![Orderform].[Form]![ItemName] & " " & _
- [Forms]![MainForm]![Orderform].[Form]![ItemPrice]
I know I'm missing a loop in here, but what am I looping? I tried an SQL statement that counted the results of the query the data is coming from, but that just made everything function slower and got me nowhere.
Please, save me from my own stupidity! :-)