1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

MS Access : two questions

Discussion in 'Other PC Software' started by Lancer, 2002/11/06.

Thread Status:
Not open for further replies.
  1. 2002/11/06
    Lancer

    Lancer Inactive Thread Starter

    Joined:
    2002/01/07
    Messages:
    48
    Likes Received:
    0
    1. How to I make a pull-down list which dynamically reads its option fields from a table?

    For example, I might have a form with a pull down list of options for "How did you hear about us?" (word of mouth / newspaper / TV advert / etc). The "options" should not be set in concrete. Rather, they should be listed as a table somewhere. This way, if I add "radio advertisement" to the table... hey presto! t appears as an option on the pull down list.

    2. How do I get autonumbers (e.g. client_ID) to reset after deleting all fields, so I can start afresh?

    For example, I might spent a lot of time getting the forms sorted on a database. During the process, I would have made several "fake" records / forms in order to test my data. Now that I'm satisfied, I want to delete all fields and have the client_ID auto-number restart at 0 (zero). Instead, it starts at a larger number, in respect of the previous data entry (still thinks it's up to record 207).

    P.S: I'm using Access from Office 2000 on Win-98 SE
     
    Last edited: 2002/11/06
  2. 2002/11/06
    Hex92

    Hex92 Inactive

    Joined:
    2002/01/08
    Messages:
    153
    Likes Received:
    0
    I think I can help you out.

    1.) You have partially answered your own question.
    Create a table containing 2 fields: autonumber and your how did you hear about us choices.
    Then create your table that contains fields for all the other data you collect. Create a field for the choice in design view and choose lookup wizard.
    Follow the steps and you will easily be able to do what you want.

    2.) You can't. Well actually you can, but you have to delete the autonumber field and then recreate it. There are a couple of other ways to do it , but I thinks thats the easiest.
     

  3. to hide this advert.

  4. 2002/11/12
    Lancer

    Lancer Inactive Thread Starter

    Joined:
    2002/01/07
    Messages:
    48
    Likes Received:
    0
    Thanks :)
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.