Automating Field

  • Thread starter Thread starter Fakhruddin Zavery
  • Start date Start date
F

Fakhruddin Zavery

Hello All,

How can one automate a number sequencially? What I'm trying to do is create
an invoice system and I want the Invoice Number Field to be generated
automatically whenever I create an Invoice or Select a Customer to create an
Invoice for?

I have simple four tables (Customer / Invoice / Invoice Details / Service)

All the help will be appreciated.
 
you'd need a table for that (to make sure the numbers are consecutive) in a
high impact environment you'd probably have to place the table in a d
 
you'd need a table for that (to insure consecutive numbers - without gaps)
additionaly yo'd need (fast) transactions to make it work in a multi-user
environment

a better approach from a (developers/my) point of view would be to create a
"lost" (invoice) number table to keep track of the data that was never
submitted to appeae the accountants (but then again I'm used to Oracle
Sequences..)

Pieter
 
Thanks

pieter wijnen said:
you'd need a table for that (to insure consecutive numbers - without gaps)
additionaly yo'd need (fast) transactions to make it work in a multi-user
environment

a better approach from a (developers/my) point of view would be to create a
"lost" (invoice) number table to keep track of the data that was never
submitted to appeae the accountants (but then again I'm used to Oracle
Sequences..)

Pieter

Fakhruddin Zavery said:
Hello All,

How can one automate a number sequencially? What I'm trying to do is create
an invoice system and I want the Invoice Number Field to be generated
automatically whenever I create an Invoice or Select a Customer to
create
 

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

Back
Top