Results 1 to 5 of 5
  1. #1
    podrae is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    4

    Updating embedded report using dynamic created SQL statement

    Hi Guys



    I have created a database and have a form (searchpartsfrm) with multiple combo boxes and a text box that builds up all the entries and creates a perfect SQL statement and stores this in strisql variable.

    I have a report (showallpartsrpt) embedded on the page that is currently showing every record in the database.

    Is there anyway to have this form "refresh" and show only the results of the query by clicking a "search" button?

    I believe I need to use the filter command somehow but im not sure how to reference the embedded form. If I try with some test code it cannot locate showallpartsrpt.

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,746

  3. #3
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by orange View Post
    Here's a recent youtube video that may help.
    That's a good video.

  4. #4
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,746
    Yes. It's quite new and very clear --good voice and recording.
    Steve has a number of Access related videos on youtube.
    He posts here from time to time.

  5. #5
    podrae is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    4
    Man legend, That was exactly what I was looking for and clear enough that I actually learnt something rather than copy pasting.

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

Similar Threads

  1. Replies: 2
    Last Post: 10-31-2014, 06:24 AM
  2. Replies: 8
    Last Post: 09-24-2014, 05:36 PM
  3. newbie needs dynamic query created in access 2010
    By hairlesshippy in forum Queries
    Replies: 1
    Last Post: 09-10-2012, 08:55 AM
  4. Dynamic (VBA-Created) Forms in accde?
    By phi11yguy19 in forum Programming
    Replies: 0
    Last Post: 07-02-2011, 09:56 PM
  5. Dynamic With Statement
    By swalsh84 in forum Programming
    Replies: 10
    Last Post: 09-09-2010, 12:35 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