saleemMSMS
Registered User.
- Local time
- Tomorrow, 03:02
- Joined
- Aug 12, 2009
- Messages
- 92
This is what i want to do
consider the following table
Books (BookID, Title, Price, NoOfPages)
the format of the BookID is "BXXX" (i.e "B" Followed by 3 Numbers)
i want to get the latest BookID and get the Number part out of it. how can i do this ?
BookID Title Price NoOfPages
===== =============== ==== =======
B101 Java Programming 55 200
B102 VB.NET 67 230
B103 Access Step by Step 56 200
so what i need is to take the latest added record (in this case, B103) the extract the number part (i.e to get 103).
please tell me how to do. its not compulsory to only use Queries.. even VBA will do.. or a mixture..
please answer....
thanx
consider the following table
Books (BookID, Title, Price, NoOfPages)
the format of the BookID is "BXXX" (i.e "B" Followed by 3 Numbers)
i want to get the latest BookID and get the Number part out of it. how can i do this ?
BookID Title Price NoOfPages
===== =============== ==== =======
B101 Java Programming 55 200
B102 VB.NET 67 230
B103 Access Step by Step 56 200
so what i need is to take the latest added record (in this case, B103) the extract the number part (i.e to get 103).
please tell me how to do. its not compulsory to only use Queries.. even VBA will do.. or a mixture..
please answer....
thanx