vba - create new query based on access form -


This is my problem.

I am working with a database which is very easy, with a table of 21 fields and a series of values. I have created a simple select query that selects 2 fields and generates a total value based on a query count field.

What I would like to do is an input form with a combo box, which allows the user to enter the field in which they want to select the field, basically to run the query yourself Creating a GUI less in comparison (if possible) to a GUI

Currently I have 21 potential areas, should I try to write 21 x 21 questions and then try to write some types of code which is linked to the appropriate query if criteria are chosen from the combo box Were? Is there some type of VBA script that can generate queries on the fly over and over again? Any sign on the way forward will be very useful, I have never used VBA but are not ready to tell anyone in the right direction.

According to the comment, below = SQL for query

  SELECT paddling.Paddling, sailing. Boat, [Boating]! [Sailing] * [paddling]! [Paddling] Include pedaling from ASPEder in boating. Space = sailing. Use space;  


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -