PuddleJumper
Registered User.
- Local time
- Yesterday, 22:54
- Joined
- Jul 24, 2010
- Messages
- 10
First post: I need to use the form's recordsource(recordset?) of a record to copy it back into the table (an exact copy). Reason: When inspectors go out and have "identical" writeups (passes/fails) it saves time on entry. I used the following but now I did something to mess it up:
Do Until MultiCounter = TempCounter
DoCmd.SetWarnings False
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy
DoCmd.RunCommand acCmdPasteAppend
DoCmd.SetWarnings True
MultiCounter = MultiCounter + 1
Loop
Used a loop to "multiply" the record.
Should I delete the forms recordsource and stay with a recordset?
- Problem I had was after copying, the recordsource would go to last record
Can you provide sample script?
Do Until MultiCounter = TempCounter
DoCmd.SetWarnings False
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy
DoCmd.RunCommand acCmdPasteAppend
DoCmd.SetWarnings True
MultiCounter = MultiCounter + 1
Loop
Used a loop to "multiply" the record.
Should I delete the forms recordsource and stay with a recordset?
- Problem I had was after copying, the recordsource would go to last record
Can you provide sample script?