Results 1 to 3 of 3
  1. #1
    Boost is offline Advanced Beginner
    Windows 8 Access 2013 64bit
    Join Date
    May 2018
    Posts
    47

    Creating a Query based Form

    Hi there, I was wondering if the following was possible.



    I would like to create a form, in order to bypass the Report Wizard, so end-users of my db can generate custom queries (select only the relative values) - then utilise the custom search form developed and provided by Gicu (whose assistive thread can be located https://www.accessforums.net/showthread.php?t=72947) to refine this data.

    I want to generate a query this way, as I don't necessarily want every value held behind a record. Where previously, auto-generated queries include all values (Surname, Initials, 1st name, Last name, Middle Name, Job Position, Job Title, Job Location etc.) - I would like the end-user to define what values are contained within the query such as (Surname, Middle Name, Job Position) through a form based process in order to generate the specified query.

    From here, the query will then be either stored in the dB or temporarily stored in the db - for the Custom Search form developed and provided by Gicu to utilise.

    Any thoughts or alternative practices/recommendations would be mutely appreciated!

    Cheers

    Boost

    EDIT:
    http://www.opengatesw.net/products/Access-Report-Builder/Report-Builder-for-Access.htm perhaps something similar to this.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    What you describe would involve programmatically setting report RecordSource and other design properties of report and it's controls. If you want something that flexible then I suggest buying that product would be more cost effective than building from scratch.

    If you just want to delete and create query objects, that can be done in VBA with SQL. However, I don't recommend implementing process that routinely modifies db design.
    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
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    boost,

    Another option, often used in similar situations:
    -have users identify 5-10 of the "most needed" reports
    -create such reports and make them selectable via a form with combobox.

    OR Buy some supported software as June suggested.

    You may get more ideas from this Martin Green article.

    Good luck with your project

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

Similar Threads

  1. Replies: 3
    Last Post: 07-26-2016, 02:12 PM
  2. Replies: 3
    Last Post: 01-01-2013, 06:22 PM
  3. creating recordset based on query
    By akrylik in forum Access
    Replies: 8
    Last Post: 05-10-2012, 02:57 PM
  4. Replies: 10
    Last Post: 03-02-2012, 11:06 AM
  5. Replies: 0
    Last Post: 08-31-2009, 10:50 AM

Tags for this Thread

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