G
Gary
Hi,
I use a append query"add_print" to add some record to a table"print_data",
I want to know is it possible to set a field in query can add a special
format serial no to the table,
Today date + four digit serial no = 0405030001
The four digit no need auto accumulate in each record and everyday need
starting back to "0001"
For example 2004/05/03 first time run the query add three record
the result in serial field is:
0405030001
0405030002
0405030003
2004/05/03 second time run the query add four record
the result in serial field is:
0405030004
0405030005
0405030006
0405030007
2004/05/04 first time run the query add two record
the result in serial field is:
0405040001
0405040002
Thank for help!!
Gary
I use a append query"add_print" to add some record to a table"print_data",
I want to know is it possible to set a field in query can add a special
format serial no to the table,
Today date + four digit serial no = 0405030001
The four digit no need auto accumulate in each record and everyday need
starting back to "0001"
For example 2004/05/03 first time run the query add three record
the result in serial field is:
0405030001
0405030002
0405030003
2004/05/03 second time run the query add four record
the result in serial field is:
0405030004
0405030005
0405030006
0405030007
2004/05/04 first time run the query add two record
the result in serial field is:
0405040001
0405040002
Thank for help!!
Gary