form with subform

  • Thread starter Thread starter tk
  • Start date Start date
T

tk

Can someone help me out?

I want to generate a form with auto number

The form has Project No as text box and subform has a several text box with
one of them as a autonumber..each time i create a new record (project No) i
want the subform to start from 1 (autonumber)...i don't want the autonumber
to carry on from pervious record...
 
TK,

Are you going to store this information in a table? Normally you have the
table generate the auto number for you.

Cathy
 
Have you considered using VB code to generate a number for you?

I use some code on one of my forms to generate a date stamp followed by an
auto-number, so you should be able to use the same principle on your subform.

I use a DCount formula in my code to see how many times the master ID code
has been recorded in a table, then plus 1 for my autonumber.
 
Back
Top