|
Subject:
|
How to create auto generate variables?
|
|
Posted By:
|
yikchin
|
Post Date:
|
12/12/2005 12:10:53 PM
|
i try to create a receipt system that will issue receipt online but the problem is ... i have no idea how to create an auto-generate receipt id so that it will make each receipt unique and no duplicate, easy to track as well.
could anyone teach me ... thank you very much.
|
|
Reply By:
|
Raj_mhetre
|
Reply Date:
|
12/19/2005 6:27:05 AM
|
If you are using database then it is very simple, using select max(idfield) from tablename.
|