Results 1 to 2 of 2

Thread: Getting links in field link in ASPDB example.

  1. #1
    Dave Shishkoff Guest

    Getting links in field link in ASPDB example.

    Hi all,

    I really like how in the main ASPDB demo (the car one) you can click on the name of the car to bring up the form field of that item.

    Unfortunately, i can't find any reference to how it's done..i can get a listing of #'s that does the same thing, but it's not what i want..

    Also, as a side note, anyone know how to 'unhighlight' the column or field that is selected, or at least change the color?

    Many thanks in advance for any assistance. =)

    - Dave

  2. #2
    John Guest

    Getting links in field link in ASPDB example. (reply)

    Hi Dave,

    We have the source code for our main page on example D50 (unofficial examples page #50). Go to www.aspdb.com/examples and follow the link.

    As for changing the colors or "unhighlighting" the selected column, it's no problem! Just use dbNameMap and set the colors however you want them to appear. Once you "hard code" the colors for a column title, they'll stay fixed at those colors regardless of whether you click on that column or not. If you want to "toggle" that highlighting on and off, then simply "toggle" your dbNameMap property on or off with an IF check. Here's an example:

    MyDb.dbNameMap = &#34;ST,<FONT color=red>State</FONT>,bgcolor=white&#34;

    Cheers,

    John


    On 2/9/99 9:39:16 PM, Dave Shishkoff wrote:
    > Hi all,

    I really like how in the main ASPDB demo (the car one) you can
    > click on the name of the car to bring up the form field of that
    > item.

    Unfortunately, i can&#39;t find any reference to how it&#39;s
    > done..i can get a listing of #&#39;s that does the same thing, but it&#39;s
    > not what i want..

    Also, as a side note, anyone know how to
    > &#39;unhighlight&#39; the column or field that is selected, or at least
    > change the color?

    Many thanks in advance for any assistance. =)

    - Dave

Posting Permissions

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