Results 1 to 4 of 4

Thread: specifying number of text fields

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    90

    specifying number of text fields

    hello, can anyone shed some light on how to go about working on this.
    i.e, user will be allowed to specify the number of textfield/s to be displayed in the next form. thank you very much.



  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: specifying number of text fields

    Possibly you could have a maximum number of fields, then create a form with all the fields.
    As you open the form from a button click, you pass the number of fields in the openArgs part of the DoCmd.openform.
    Your form takes the number (defaults to say 2 fields) and makes any of the other text fields invisible as the form opens/loads.
    Won't be too helpful if it is bound, but should still work.

    There are probably other ways to do this.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    90

    Re: specifying number of text fields

    Thanks man Vincent! =) Sorry for the late reply!

  4. #4
    Fanatic Member dannymking's Avatar
    Join Date
    Jul 2005
    Location
    Darlington, North East UK
    Posts
    677

    Re: specifying number of text fields

    Another way to do this would be to show the user the fields that are available and allow them to select those that they want including in the next form..

    Those that are not selected can just be set to hidden, this way your resulting form can be bound (providing all fields are not set to required)
    Danny

    Never Think Impossible

    If you find my answer helpful then please add to my reputation

Posting Permissions

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



Click Here to Expand Forum to Full Width