Yes, you could automate this task by automating an append query to your
underlying table
Dim sSQL As String
Dim iStartNo As Long
Dim iEndNo As Long
iStartNo = InputBox("What is the start number to use?")
iEndNo = InputBox("What is the end number to use?")
for i = iStartNo To iEndNo
sSQL = "INSERT INTO YOURTABLE (YOUR FIELDS..., [FromNo]) VALUES(" & _
yourformfield & ", " & i);"
Next i
CurrentDb.Execute sSQL
--
Hope this helps,
Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples:
http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.
"BrakX" wrote:
> This is something that I have been trying to do for a long time and sort of
> gave up on it... but since the issue came up again, I’m going to try to ask
> for help again.
>
> I issue out forms, all with sequential numbers on them, to customers. These
> forms have lots of data on them like Name, License plate number, destination,
> ext. Right now with my current database, if I issue 1000 forms to the same
> person, and they are using the same vehicle, I have put all the data in the
> 1st form, save it, carry it over, and then change the number and save it
> again... and do this 1000 times until all the numbers are in the database. So
> what I’m asking is, is there a way that I can put in the start value, the
> finish value in to a form and all the data in between would be autofilled in
> to the tables?
> --
> BrakX
>