Alpha Video Training
Results 1 to 5 of 5

Thread: 'Maintaing ' PW

  1. #1
    Member
    Real Name
    Michael Benjamin
    Join Date
    Jun 2009
    Posts
    7

    Default 'Maintaing ' PW

    Hi
    I am sure that this is old hat.

    Suppose I have three tables
    USERS containing the UN & PW(Unique) used at login or registration.
    QUESTIONS Congaing QuestionText & Question ID
    ANSWERS Containing AnswerText, QuestionID & PW. The 'meat' of the site.

    The form is from the answers table with a link to the Questions table. That part is simple . But how do I enter the PW into the ANSWERS table once the PW is entered at the beginning of the session.

    As this is so basic I am sure that there is a ready answer. Where do I find it.

    Michael

  2. #2
    Volunteer Moderator
    Real Name
    Alan Buchholz
    Join Date
    Oct 2000
    Location
    Delavan, Wisconsin
    Posts
    9,617

    Default Re: 'Maintaing ' PW

    Sorry what you want to do doesn't make sense.

    Please explain again in another manner...

    Or you should hold the password in a global variable and add to any other table that you want. But this answer is offered based on my initial comment of not understanding.. If this answer is inadequate, please refer to Stan Mathews signature line for additional information. ;)
    Al Buchholz
    Bookwood Systems, LTD
    Weekly QReportBuilder Webinars Thursday 1 pm CST

    Occam's Razor - KISS
    Normalize till it hurts - De-normalize till it works.
    Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
    When we triage a problem it is much easier to read sample systems than to read a mind.

  3. #3
    Member
    Real Name
    Michael Benjamin
    Join Date
    Jun 2009
    Posts
    7

    Default Re: 'Maintaing ' PW

    I'll try
    A user logs on
    He is presented questions.
    Each visit he is presented the same question.
    In this case to make it clearer.Question 1 is "Report what where you doing when you felt distress?"... two is "What wee your thoughts about-?" & so on
    His answers are then stored in an answer table which ha in it the Question Number, Date, Answer & the Patients email address. I guessed that adding a global variable is the answer. But I was hoping that their was an easy way of doing this. Either code less or at least very easy :)
    Sorry for being obscure.
    Hope that is clearer. Thanks for helping
    Michael

  4. #4
    "Certified" Alphaholic Keith Hubert's Avatar
    Real Name
    Keith Hubert
    Join Date
    Jul 2000
    Location
    London, UK
    Posts
    6,930

    Default Re: 'Maintaing ' PW

    Hi Michael,

    Your question seems to be for a web page.

    If it is, then you will get a better reply in the server section of this forum.

    PS. Please re-read your typing before posting. Also, there is a spell checker button at the top of the dialog, which can be used as many times as you wish.
    Regards
    Keith Hubert
    Alpha Guild Member
    London.
    KHDB Management Systems
    Skype = keith.hubert


    For your day-to-day Needs, you Need an Alpha Database!

  5. #5
    "Certified" Alphaholic G Gabriel's Avatar
    Real Name
    G. Gabriel
    Join Date
    Oct 2004
    Posts
    7,204

    Default Re: 'Maintaing ' PW

    Quote Originally Posted by beden View Post
    But how do I enter the PW into the ANSWERS table once the PW is entered at the beginning of the session.
    Right click the table in the Control Panel, go to Field Rules then Lookup.
    In Lookup use table, and use the table that has Un & PW.

Bookmarks

Posting Permissions

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