Line Numbers

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

I would like to get the code for the line number that
increments for each order.


i place an order on the order in the subform i have many
lines, how do i get this line number to increment for each
order
 
I interpreted the original posting to mean that you wished to have code
which will add an automatically-incrementing row number to records in a
subform and, as records are added to the subform, to have each new record
supplied with a row number. The site to which I referred you has a
downloadable database with sample code and forms which do exactly that. If
you have already downloaded the database, please open and study the example
form: "Form and Subform Example" .

If I mis-interpreted your question, then please post back with a clear and
distinct explanation of what it is that you do want.
 
If you are simply wanting to display a row or line number beside each
row of your Subform Detail then the sample shows you how to to
accomplish exactly that.
If you want to generate and store a permanent Details Rownumber or
whatever than that is a different story altogether.

What problems are you having with the sample MDB Cheryl pointed you to?
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Back
Top