Active Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 1751
Number of posts: 4473

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
how to retrive last entry / record from access db, using asp Posted by ozalkl on 16 Mar 2010 at 1:48 PM
hi,

i have dev tape log system with different type of tape categories (dvd, cd, voice over,etc) my challenge is i want to auto generate tape ID number when ever i try to add new tape log.

for example:

the last Tape log ID for Voice over category is VO5533

Now, how do i tell the application that i want to retrieve the last Tape log ID for the Voice over category?

currently in my Add new Tape log page, i have to insert the Tape log ID manually, which is very hard as i need to search for the last record manually then enter the new record, is there anyway i can write a script to auto generate the tape ID based on the category selected and add + 1 to the tape log ID?

im kind of new to ASP i would appreciate any sample codes or tuts you guys can provide me with
Report
Re: how to retrive last entry / record from access db, using asp Posted by jayvee88 on 23 Feb 2013 at 11:09 PM
i guess it's late for this but, just for future references..
to be able to tell the application to retrieve a record from a certain category, having different tables for a category would do and for the id, i would recommend auto-increment.
Report
Re: how to retrive last entry / record from access db, using asp Posted by jayvee88 on 23 Feb 2013 at 11:36 PM
i guess it's late for this but, just for future references..
to be able to tell the application to retrieve a record from a certain category, having different tables for a category would do and for the id, i would recommend auto-increment.
Report
Re: how to retrive last entry / record from access db, using asp Posted by jayvee88 on 23 Feb 2013 at 11:38 PM
i guess it's late for this but, just for future references..
to be able to tell the application to retrieve a record from a certain category, having different tables for a category would do and for the id, i would recommend auto-increment.
Report
Re: how to retrive last entry / record from access db, using asp Posted by jayvee88 on 24 Feb 2013 at 1:01 AM
i guess it's late for this but, just for future references..
to be able to tell the application to retrieve a record from a certain category, having different tables for a category would do and for the id, i would recommend auto-increment.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.