Results 1 to 2 of 2

Thread: How do you enter a default value

  1. #1
    Lana Mosby Guest

    How do you enter a default value


    How do you enter a default value, that is a session variable into a edit form.

    I have set-up a variable app_off = session("usrname&#34.

    Next to the field in edit list I entered [app_off] and it does not pick up the value in the variable, just the variable name.

    Thanks
    Lana Mosby

  2. #2
    Mark Guest

    How do you enter a default value (reply)

    Hi Lana,

    It sounds like maybe you have a syntax error in your asp code.
    The statement you need should look something like this:

    Mydb.cnEditFlds = "Name[" & Session("DesiredName&#34 & "],Address;"

    I hope that helps.
    If you can't get it working, show us your source code.
    Thanks.

    Mark

    ------------
    Lana Mosby at 9/25/00 4:53:51 PM


    How do you enter a default value, that is a session variable into a edit form.

    I have set-up a variable app_off = session("usrname&#34.

    Next to the field in edit list I entered [app_off] and it does not pick up the value in the variable, just the variable name.

    Thanks
    Lana Mosby

Posting Permissions

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