Results 1 to 4 of 4

Thread: Adding custom query building facility to app??

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2005
    Posts
    18

    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

  2. #2
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    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.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2005
    Posts
    18

    Re: Adding custom query building facility to app??

    Quote 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 ?

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    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
  •  



Click Here to Expand Forum to Full Width