aggeliki23
Programmer
hello all.
I have created my database with Visual Data Manager -> Microsoft Access -> Version 7.0 MDB
I am using VB6.
i am using a sql query in code of my application with where clauses. My query is like this:
"select * from orders where OrderID " & _
"like '" & FuncTxt.Text & "%'"
The functxt is a textbox in a form that user typing a value and my program searching the table orders to find the proper record if exists, to display it in another form. So, as you can understand, the functxt's value changes every time the user typing something else and depens on what record the users wants to display. I have to create a data report using this query. I want it to display the results of query. I wonder if i can save the sql query from code into my database, to add it as a command in data enviroment in order to connect it with data report to display the results of query. Any help will be appreciate.
Thank you
much.
I have created my database with Visual Data Manager -> Microsoft Access -> Version 7.0 MDB
I am using VB6.
i am using a sql query in code of my application with where clauses. My query is like this:
"select * from orders where OrderID " & _
"like '" & FuncTxt.Text & "%'"
The functxt is a textbox in a form that user typing a value and my program searching the table orders to find the proper record if exists, to display it in another form. So, as you can understand, the functxt's value changes every time the user typing something else and depens on what record the users wants to display. I have to create a data report using this query. I want it to display the results of query. I wonder if i can save the sql query from code into my database, to add it as a command in data enviroment in order to connect it with data report to display the results of query. Any help will be appreciate.
Thank you
much.