I beleive you want to create a unique ID number for the report being created.
One way is to create a table with only one field and one record. Set that field value to the begining number. On the Report open event call that table via a recordset read the number increment by one. Update the table field and use that number with in the report.
I would not normally recommend that unless there is only one user and never any intention of more than one user. Besides that creating a system parameter table to hold and supply constant values to the application is always a good idea anyway. Once this table is established you will find lots of uses for it. Now don't misunderstand, if you need to save this unique number for later use than by all means store it back into the draw point but I would not use that location to pull the next number.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.