Results 1 to 2 of 2

Thread: Direct To Add New Record

  1. #1
    Peter Jameson Guest

    Direct To Add New Record

    Hey All,

    I have a link that I would like to go directly to an add form.
    Much the way we get to this message form when we click on
    `Post New Message`. I have a link down the left menubar that says
    `Add New Control Document` when a user clicks this I would like
    the user to go directly to the addform screen.

    Any suggestions?

    Thankx in advance,

    Peter Jameson
    JPSF & Associates

  2. #2
    John Guest

    Direct To Add New Record (reply)

    Hi Peter,

    Your request is already on the "wish list" for the next major release. In the mean time, you can accomplish what you want to do by using a "back door" method of using the same URL that we use when the ADD NEW button is pushed.

    Put your cursor on the "Add New" button today. What do you see? It should be something like:

    http://www.aspdb.com/pro-demo.asp?aspDBBut_2=aspDBEditAdd::0

    The "?aspDBBut_2=aspDBEditAdd::0" piece of the URL tells ASP-db to enter the "Add mode" for unit #2. If you substitute your own URL in your button`s HREF, it should do exactly the same and work fine for you.

    That said, let me give you a warning... We`re not documenting or officially supporting using this technique because there is always the chance that we will need to change that syntax in the future. In other words, "Use at your own risk." In all likelihood, it should be fine, and we`ll do everything we can to add a Startup Mode=AddNew in the future.

    Hope this helps,
    John


    On 9/20/98 5:51:31 PM, Peter Jameson wrote:
    > Hey All,

    I have a link that I would like to go directly to an add
    > form.
    Much the way we get to this message form when we click on
    `Post
    > New Message`. I have a link down the left menubar that says
    `Add New
    > Control Document` when a user clicks this I would like
    the user to go
    > directly to the addform screen.

    Any suggestions?

    Thankx in
    > advance,

    Peter Jameson
    JPSF & Associates

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •