form with subform

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...
 
C

Cathy

TK,

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

Cathy
 
O

Order2Chaos

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top