Results 1 to 6 of 6

Thread: Hyperlink from grid to form mode

  1. #1
    Frank Guest

    Hyperlink from grid to form mode (reply)

    Steven,
    See the previous message - " Check out this interesting FAQ ". In this documnet, there is one Q/A -
    -------------------------------------------------------------------
    Q. How can I use the grid field as an index and not the system # (leftmost column) as an index to navigate and sync with the form ?

    A. Set the last parameter of the MagicCell’s group as “index”. and the cell’s “converted” content will be hot linked to the form’s record. For example –

    X.dbMagicCell="fieldnamenumber, table tag, MagicCell,index,indexanchor"

    If the field after the index field is “indexanchor” then the url generated will include an anchor tag.

    In this example, the last entry is to identify that field “0” is to be used as the hot link index. You should also disable the GridIndex by issuing the dbGridIndex=False to make this looks better.
    --------------------------------------------------------------------------
    See whether this would do the job !


    Frank


    On 9/9/98 4:33:16 PM, Steven Overson wrote:
    > I am displaying five of about 20 fields from my table in grid mode. I want
    > to have the left-most field (not the dbGridIndex field) be a hyperlink that
    > will display that record in form mode. Can this be done? If so, how?

  2. #2
    Mark Guest

    Hyperlink from grid to form mode (reply)

    On 9/9/98 4:33:16 PM, Steven Overson wrote:
    > I am displaying five of about 20 fields from my table in grid mode. I want
    > to have the left-most field (not the dbGridIndex field) be a hyperlink that
    > will display that record in form mode. Can this be done? If so, how?

    Please go to our web site and look at Example A13 on the Examples page.
    It shows how to use a different field as the drill down.

  3. #3
    Steven Overson Guest

    Hyperlink from grid to form mode

    I am displaying five of about 20 fields from my table in grid mode. I want to have the left-most field (not the dbGridIndex field) be a hyperlink that will display that record in form mode. Can this be done? If so, how?

  4. #4
    Mark Guest

    Hyperlink from grid to form mode (reply)

    If you want, you can just have a Grid with links on it. Then, when
    you click on a record, it takes you to a more detailed form. You may
    then return back to the grid.
    To see an example of this, go to the following (unofficial) example:

    http://www.aspdb.com/test/mh-dual2.asp

  5. #5
    Steven Overson Guest

    Hyperlink from grid to form mode (reply)

    Frank,

    Unless I am missing something, this (and Mark`s Example A13) only works in one of the dual modes. What I would really like is to display just the grid-mode view, and when the link in the first column in clicked, display just the form-mode view. Can this be done?

    If ASP-db won`t handle this directly, is there a way to handle it with conditional scripting?

    Thanks,
    Steven


    On 9/9/98 8:29:22 PM, Frank Kwong wrote:
    > Steven,
    See the previous message - " Check out this interesting FAQ ". In
    > this documnet, there is one Q/A
    > -
    -------------------------------------------------------------------
    Q.
    > How can I use the grid field as an index and not the system # (leftmost
    > column) as an index to navigate and sync with the form ?

    A. Set the
    > last parameter of the MagicCell’s group as “index”. and the cell’s
    > “converted” content will be hot linked to the form’s record. For example
    > –

    X.dbMagicCell="fieldnamenumber, table tag,
    > MagicCell,index,indexanchor"

    If the field after the index field is
    > “indexanchor” then the url generated will include an anchor tag.

    In this
    > example, the last entry is to identify that field “0” is to be used as the
    > hot link index. You should also disable the GridIndex by issuing the
    > dbGridIndex=False to make this looks
    > better.
    -------------------------------------------------------------------
    > -------
    See whether this would do the job !


    Frank


    On 9/9/98
    > 4:33:16 PM, Steven Overson wrote:
    > I am displaying five of about 20
    > fields from my table in grid mode. I want
    > to have the left-most field
    > (not the dbGridIndex field) be a hyperlink that
    > will display that
    > record in form mode. Can this be done? If so, how?

  6. #6
    Guest

    Hyperlink from grid to form mode (reply)

    Yes, this is what I am trying to do! Now, to simplify my life, would you share with me the important pieces of code it takes to make this work?

    Thanks,
    Steven


    On 9/10/98 2:05:57 PM, Mark Harpootlian wrote:
    > If you want, you can just have a Grid with links on it. Then, when
    you
    > click on a record, it takes you to a more detailed form. You may
    then
    > return back to the grid.
    To see an example of this, go to the following
    > (unofficial) example:

    http://www.aspdb.com/test/mh-dual2.asp

Posting Permissions

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