ASP How do you go to a detail page from an insert page?

Hi
I'm building a site in asp and I have an insert page that
once submitted should go to a detail page of the record just
submitted. There is a unique ID field in the database that is
generated by the database. I was thinking that the unique ID is the
key but I'm not sure that I can pickup the id that is generated
when I insert the record. Any suggestions or pointers greatly
appreciated.
Thanks
flapper

You can use @@Identity in a SQL statement to grab the
recordID of the newly
created record, which you could then attach to a session
value for passing
to the next page.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"flapper j" <[email protected]> wrote in
message
news:el7ddq$p0g$[email protected]..
> Hi
>
> I'm building a site in asp and I have an insert page
that once submitted
> should go to a detail page of the record just submitted.
There is a
> unique ID
> field in the database that is generated by the database.
I was thinking
> that
> the unique ID is the key but I'm not sure that I can
pickup the id that is
> generated when I insert the record. Any suggestions or
pointers greatly
> appreciated.
>
> Thanks
>
> flapper
>

Similar Messages

  • How do you resize photos on a page of a book created in iPhoto '09?

    How do you resize photos on a page of a book created in iPhoto '09? I can zoom in or out, but I can't figure out how to make a photo smaller. Is this just because I am working in a Contemporary book format, using a 2 photos per page layout? I'd like to work with maximum flexibility, like starting from the blank template in iWeb, where I can add any number of photos, text, and change all the sizes. Is this possible? Thanks.

    Chrickie
    Welcome to the Apple user to user assistance forums
    How do you resize photos on a page of a book created in iPhoto '09? I can zoom in or out, but I can't figure out how to make a photo smaller.
    You resize the photo by clicking on it and zooming
    You can not resize the photo frame
    Is this just because I am working in a Contemporary book format, using a 2 photos per page layout?
    No they all work the same - see Liz Castro's page - http://www.lizcastro.com/iphotobookthemes/ - for a detailed description of iPhoto '08 layouts - all of those carry forward to iPhoto '09 plus there are new ones that she has not documented yet
    I'd like to work with maximum flexibility, like starting from the blank template in iWeb, where I can add any number of photos, text, and change all the sizes. Is this possible?
    Not in iWeb but you can do pages in any page layout program (word, pagemaker, pages, etc) and print to PDF using the send PDF to iPhoto option to create a totally custom page - see Old Toad's tutorial #19 - http://web.mac.com/toad.hall/OldToadsTutorials/No._19.html - for directions
    LN

  • How do you combine 3 different itunes libraries from 3 different computers to one computer?

    How do you combine 3 different itunes libraries from 3 different computers to 1 computer?
    Can you keep it from creating duplicates?  These libraries have some duplicates.
    How do you deal with duplicates? 
    I'm talking 50GB. 
    All computers are authorized. 
    THANKS for any suggestions.

    You can't.
    If accounts could be merged, then everybody could merge their accounts with everybody and there would be no need for anyone to buy anything.

  • Can you have multiple Apple TV's in the same house and network? If so how do you know which one to pick from your Idevice?

    can you have multiple Apple TV's in the same house and network? If so how do you know which one to pick from your Idevice?

    Yes, there are even defaults for naming them, such as LivingRoom, Bedroom, etc, or you can even enter your own name with the remote for each AppleTV.

  • How do you set a default Home Page in the Safari Applet?

    How do you set a default Home Page in the Safari Applet?

    How do you set a default Home Page in the Safari Applet?

  • How do you fax more than one page at a time?

    How do you fax more than one page using the phone?

    Hello @spirittoo, 
    I am not quite sure what you mean.
    Are you using a third party app to send faxes from a cell phone?
    In case you are having an actual fax issue, I have included the following links.
    Send a Fax from the Scanner Glass or the Automatic Document Feeder
    Fax Sending Fails Intermittently or Fails for Only One Recipient
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • How do you transfer iTunes music and movies from an old PC to a new PC.  I have all data svaed on an external hard drive.

    How do you transfer iTunes music and movies from an old PC to a new PC.  I have all data svaed on an external hard drive.

    This article should outline the options
    http://support.apple.com/kb/HT4527

  • How can you create a writable PDF document from a PPT presentation ?

    How can you create a writable PDF document from a PPT presentation ? Upper part with the image , lower part with a free space in order to take notes for students during presentation or course.
    Thanks.
    B

    You can make a PDF file out of you notes and handouts but using the Adobe PDF printer.
    Open your PowerPoint Document then go to “File” “Print”
    Select ‘Adobe PDF” Printer
    Under slides, select which way you want to print. Note it will not print to a printer but to a PDF file.
    After then go into printer Properties and Setup PDF properties, do the following: (see second image below)
    Default: PDF/A 1-b
    Adobe Security: none (change as needed)
    Adobe Output folder: Prompt for Adobe file name
    Adobe Page size: Letter (change as needed)
    Check the following check boxes
    View Adobe PDf Results,
    Add Document Information,
    Rely on system fonts only,
    Delete Log files for successful jobs.
    Select OK
    A pop will ask you where you want to save the document. The file extension should be PDF. After giving the file name select okay and the file should popup as a PDF. Down side is if you want to speaker notes included then you will have to do another file, like wise with just screen shots then combine into one PDF document.
    I used Acrobat IX Pro. So to do this you need Acrobat IX or X Pro.
    Hope this will help.
    Tiger26

  • How do you transfer files (Music/books/pictures) from an iPAD or iPOD device to an new PC that has iTunes, but no data of files

    I have purchased an new PC since my oriiginal PC crashed after 5 years of use.  I want to transfer my iTunes files from my iPAD and iPOD to my new PC.
    How do you transfer files (Music/books/pictures) from an iPAD or iPOD device to an new PC that has iTunes, but no data of files

    The text below is copied from this discussion.
    https://discussions.apple.com/message/11527071#11527071
    Authorize your new computer's iTunes first - Store>Authorize this computer.
    1) Without connecting your iPad to your laptop, start iTunes. Click on Edit. Click on Preferences. Click on Devices. Check the box next to "Prevent your iPod etc. from automatically syncing." Click OK.
    2) Now connect your iPad to your laptop and start iTunes.
    3) When iTunes starts, right click on your iPad under Devices in the left column. Select Transfer purchases etc.
    4) After it finishes transferring all your apps to your new laptop, right click on your iPad and select Backup your iPad.
    5) After it finishes backing up your iPad, right click on your iPad and select Restore etc.
    6) After it finishes restoring, left click on your iPad , then click on the Apps tab on top, and check the box next to Sync Apps, then click on Apply below.
    If everything on your iPad looks good after the sync, go back and click on Edit / Preferences / Devices and UN-check the box next to Prevent your iPod etc. The only other thing you may want to check is if your contacts, bookmarks, etc. are syncing correctly now. If not, go to the Info tab after connecting and make sure you indicate which features you want to sync with what sources.
    This discussion has much of the same information and even some more helpful tips.
    https://discussions.apple.com/thread/3305461

  • How do you use timeline in a pages document? I need to restore a document from earlier?

    How do you use timeline in a pages document?  I need to restore a document from earlier today?  How do I bring up the time - scale?

    View and restore past versions of documents

  • HT1349 how  do you remove the header and footer from a document

    how  do you remove the header and footer from a document

    It depends upon the app you are using.

  • How do you delete a document in Pages?

    How do you delete a document in Pages? I keep trying to and it's still there...very annoying. Any help would be great. Thanks!

    Where have you saved the document, or are you talking about a template?
    You do not delete any documents inside Pages. You must locate them in Finder (probably in the Documents folder) and then drag them to the Trash.
    If you need basic help with using a Mac, Apple has helpful videos and tips in their Support section of their website.
    Peter

  • How do you create hanging indents in Pages?

    How do you create hanging indents in Pages?

    Look at the left hand margin indicator -
    Compare it to the right-hand one. You'll note that it is actually two stops, instead of just one - a small bar on top of a triangle.
    Split them by careful dragging, and you can get what you want -
    You may need to do a bit of fiddling until you get it just the way you want it.

  • How do you change the Print Products Store from USA to UK like you can do in IPhoto?

    How do you change the Print Products Store from USA to UK like you can do in IPhoto?

    Please keep in mind that Aperture is not an enhanced iPhoto, it is a different application with a different philosophy and a different intended audience. If you approach it with that in mind you will have a lot less frustration as you learn Aperture.
    Aperture adds a layer of complexity that is not needed by many.  iPhoto is a very powerful application and fits the needs of many amateur photographers.
    As for your original issue, as I said I am surprised that iPhoto allows you do switch countries like that and am not surprised that Aperture doesn't. If this is something you really need to do working in Aperture but using iPhoto to order the prints is a good work around and will not be all that difficult to do once you get the hang of it.
    As for your new question, the books in iPhoto and Aperture are different enough that the code that created the book in iPhoto wouldn't work in Aperture. What happens when you import an iPhoto library into Aperture is that the images in the book are combined into an album in Aperture with the same name as the iPhoto book. You will need to re-create the book in Aperture uaing the images in this album.
    Hope this helps, post back if you have anymore questions.
    regards

  • How do you add Contacts to Address Book From a List

    How do you add Contacts to Address Book from an outside source?

    In Address Book go to Help Menu -> Importing Contacts to get started.

Maybe you are looking for

  • Migrar de TAXBRJ para TAXBRA

    Bom dia pessoal , preciso de uma ajuda de vocês. A empresa que estamos dando suporte quer trocar de TAXBRJ para TAXBRA, no entanto não fizemos isto antes e não sabemos os possíveis impactos na operação, se podemos ter pedidos de compras abertos, orde

  • When sharing project to iTunes I get an error message "missing media"

    Mac Book Pro OS10.9.5  Imovie 10.0.5  Storing library on external hard drive.  Only opening iMovie from the library in the hard drive.  Working fine other than problem below Have a project that I tried to share to iTunes and it states there is missin

  • Premiere Pro CC 64bit not utilizing GPU

    Hello all, first time poster here.  I recently built a new budget PC with photo/video editing in mind.    I'm running an AMD FX8350 with a ASUS GTX780-DC20C-3GD5 video card.   Windows 8.1 pro 64bit.   16GB HyperX Fury DDR3 1866mhz Memory.    Premiere

  • How can I open a file with a REM format on my PC ?

    Hi!I wanted to open a picture on my PC, but it has a REM format and my PC can't support it. I have red that this type of formats are an encryption of BB and I can open the picture if I desencrypt my media card....but now the main problem is that I do

  • What is ox80090318

    hi i have a problem with my itunes for connect to internet by windows this eror error ox80090318 please help me