HI,
Hope you can help. I would like to create a loop where I change the VB line with the loop number. IE
rs2.AddNew
rs2![SDPhone] = Val(stext)
rs2![SDQty] = rs1![P1Qry]
rs2![SDName] = rs1![P1Name]
rs2![SDSKU] = rs1![P1SKU]
rs2![SDPID] = rs1![PID]
I would like to change the P1 where the loop number changes the numeric number. So in pass one it will be P1 next time P2 next P3 and so on.
The P1 refers to a field name.
Thanks for any help.
Regards
Peter
Hope you can help. I would like to create a loop where I change the VB line with the loop number. IE
rs2.AddNew
rs2![SDPhone] = Val(stext)
rs2![SDQty] = rs1![P1Qry]
rs2![SDName] = rs1![P1Name]
rs2![SDSKU] = rs1![P1SKU]
rs2![SDPID] = rs1![PID]
I would like to change the P1 where the loop number changes the numeric number. So in pass one it will be P1 next time P2 next P3 and so on.
The P1 refers to a field name.
Thanks for any help.
Regards
Peter