Hi all ,
i want to generate ID for asset that is based on input in different fields. When the asset is first time added to data base..
its ID is defined as...
its o/p should look like this
MY_ID=aaa/02/08/PSB/1
MY_ID=aaa/02/08/SE/2
MY_ID=aaa/02/08/CP/3
as u can see in the $MY_ID o/p "
number" every times increment
by one. so somebody give me the idea to remember the number is to
read the last entry in the asset table n read its MY_ID and separate the
last part of string which is number .so that u can increment it by one for
making a ID for asset
bt the problem is how to read the last row of database
ny command or query to slove this problem..
or Any other logic to solve this problem..
Thanks in Advance
$V
