Heidestrand
Registered User.
- Local time
- Today, 09:27
- Joined
- Apr 21, 2015
- Messages
- 73
Hello community,
I have a problem I want to solve but I don't know how to properly do it. I already learned here that I can alter a SQL string by typing something into a text box and reading out the content (mySQL="....WHERE (" & strDetec & " is null..)
But what I want to do now is: I have 6 check boxes and I want to dynmically generate a query when I check some of the boxes. Each check box stands for a table. So I want to JOIN the tables how I want by checking the boxes.
My example: I have a text box where I type in a number. Then I have 6 tables with 3 columns each. In every table this number exists in a column. So by checking the boxes I want to "build" my query f.e. with table 1, 3 and 5 where the number is the same.
I'd be awesome if this is possible because it would really help me accomplish my goal with my database.
Is this possible?
Best regards,
heide
I have a problem I want to solve but I don't know how to properly do it. I already learned here that I can alter a SQL string by typing something into a text box and reading out the content (mySQL="....WHERE (" & strDetec & " is null..)
But what I want to do now is: I have 6 check boxes and I want to dynmically generate a query when I check some of the boxes. Each check box stands for a table. So I want to JOIN the tables how I want by checking the boxes.
My example: I have a text box where I type in a number. Then I have 6 tables with 3 columns each. In every table this number exists in a column. So by checking the boxes I want to "build" my query f.e. with table 1, 3 and 5 where the number is the same.
I'd be awesome if this is possible because it would really help me accomplish my goal with my database.
Is this possible?
Best regards,
heide
Last edited: