Results 1 to 4 of 4
  1. #1
    GammieWen is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2017
    Posts
    1

    Question Can a form be programmed to automatically generate within a field?

    Windows 10
    Access 2016

    I am setting up a database for a local food pantry so they will be able to get everything computerized. I am fairly new to using Access and my question is this:



    When in a field in a form is it possible to have another form generate based upon an answer within the field? Example: in one of the fields we have to list how many people are in the household under 18. If the answer is anything other than 0, can a form pop up that will enable us to enter all needed information? If this is possible, what is the best way to do this?

    Just a side note: I do need to keep this as simple and easy as possible - some of the users are not computer savvy at all. So this needs to be something that can be navigated easily

    Any help with this would be greatly appreciated.
    Thank you.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,896
    Anything can be done with enough code. Keep in mind - 'the more user friendly, the more code'.

    Sounds like you really need to complete some introductory tutorials to learn the basics of relational database concepts and Access functionality.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,896
    Anything can be done with enough code. Keep in mind - 'the more user friendly, the more code'.

    Your question is very broad and really not possible to provide specific answer as any approach taken depends so much on your data relationships and business processes and your skills.

    Maybe a popup is not the best approach for your situation. Maybe should just do a form/subform structure.

    Sounds like you really need to complete some introductory tutorials to learn the basics of relational database concepts and Access functionality.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    Micron is online now Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,784
    To elaborate on the answer given, you are likely going to need to use the AfterUpdate event of the text box or combo box that contains the user input or a value chosen from a list. This you would do via vba code or a macro, but most of us who answer here don't use macros so vba would be our method since it is more powerful and reliable. As for your users, they would not know the difference as long as your method functioned well.

    However, the answer implies that you need to delve into aspects of Access design that are likely foreign to you and I would agree on that. It is quite likely that what you should be doing is revealing a hidden subform, or perhaps just revealing hidden form controls for the user to enter data into, depending on prior input. How easy it is for the user to navigate is very much the responsibility of the designer, and that is you. To increase your chances of success in this regard, you should research Access design as much as possible. There are tons of videos and information sites out there.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 10-09-2015, 04:47 PM
  2. Replies: 8
    Last Post: 09-08-2014, 09:18 AM
  3. Replies: 4
    Last Post: 02-05-2014, 04:05 PM
  4. Replies: 3
    Last Post: 12-07-2013, 01:12 AM
  5. Replies: 9
    Last Post: 04-28-2009, 05:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums