Okay, so, working on a form -- think of it as an order form -- where the header has a couple relevant items, serial number and item ID, and a subform contains a couple more items, which customers get the items and how many. EXAMPLE: buying 100 widgets, customer A gets 50, customer B gets 50. So subform MAY OR MAY NOT contain multiple rows. Next step is to move data from the form to a working table, using an SQL INSERT INTO query. So far so good, but in my test version (two header items, two subform items) the query asks me at two points for the "parameter value." Puzzling, because the other two items transfer fine. Only difference I can see is that they are numerical. And it's likely not a main form vs. subform thing, as of the two "rejected" items, one is header and one is subform. So not understanding why the query handles one item from the header just fine, and one from the subform just fine, but barfs at the other two. Mind you, if I answer the parameter prompts with the appropriate values everything goes as intended, but as they're already available from the form I don't get why I have to do that. SQL follows, and this is literally all there is, click a button, run this SQL, no other code involved. The items that fail are #2 and #3. All help welcome.
"INSERT INTO Table1 (Serial, MFName, MMTAcct, Qty) SELECT " & Me.txtSerial.Value & "," & Me.txtMFName.Value & "," & Me.[Test1Subform].Form!txtMMTAcct.Value & "," & Me.[Test1Subform].Form!txtQty.Value & ";"