|
-
Jan 11th, 2007, 01:42 AM
#1
Thread Starter
Junior Member
Adding custom query building facility to app??
is there any way to add custom query building facility to an application ?? something like BinaryWORX BXQuery 3.0 ?? i urgently need help regarding this matter....thanks in advance
-
Jan 11th, 2007, 02:13 AM
#2
Re: Adding custom query building facility to app??
You could add Table names to a Combo, Fields names in another Combo. So when the user selected aTable you query that table Fields and then fill the other Combo with that field names.
Then it comes the WHERE part, you should allow the user to add as many conditions as he wants, using another Combo with: Bigger than, Slower than, Equals, Contains, starts with, ends with so the user can enter i.e:
UserName <Contains> "Jhon".
The another Combo to join conditions, it will contain i.e.: OR, AND
finally, ORDER BY another combo to show fields again.
When the user provided all the info, you can create your query with it.
Last edited by jcis; Jan 11th, 2007 at 02:17 AM.
-
Jan 11th, 2007, 06:42 AM
#3
Thread Starter
Junior Member
Re: Adding custom query building facility to app??
 Originally Posted by jcis
You could add Table names to a Combo, Fields names in another Combo. So when the user selected aTable you query that table Fields and then fill the other Combo with that field names.
Then it comes the WHERE part, you should allow the user to add as many conditions as he wants, using another Combo with: Bigger than, Slower than, Equals, Contains, starts with, ends with so the user can enter i.e:
UserName <Contains> "Jhon".
The another Combo to join conditions, it will contain i.e.: OR, AND
finally, ORDER BY another combo to show fields again.
When the user provided all the info, you can create your query with it.
thanks for your help sir....really appreciate it....but is there any control available for free that will allow me to incorporate a visual query designer into my app ?
-
Jan 11th, 2007, 11:26 AM
#4
Re: Adding custom query building facility to app??
If there were one available it probably wouldn't be free. Someone in my company wrote a program that does what you want, but it took many man-months to get everything working properly.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|