-
1
- #1
OK...
I am about ready to run through the hall screaming....
TWO QUESTIONS:
I need to have my VB6 app touch SQL7 databases, one that is used merely for searching for data to put in the other's tables. SO... One has a table that I need to read(empl), one has MANY tables that I need to read/write (used to track requests for work).
What kind of data connection is best??? Should I use a Data Environment? A ADODC? A regular Data Control? I am currently using both an ADO Data Control that has an ODBC Data Connection and an ADO Data Control that uses a connection string (Provider=MSDASQL.1;Persist Security Info=False;User ID= ;Data Source=(read only database);Mode=Read|Write;Initial Catalog=(read/write database))
So... The second problem??? It is not updating the files and the way that my data controls are set up, I get data immediately on the opening of the form, which what I want is it opening to capture data that will be entered by the user and then saved to the db when the save button is pressed. The read/write table/db should not be shown at all while the read only table/db is used to add users/customers information like their employee id. I am currently using a Hierarchical FlexGrid but want it to only show the rows that fit the criteria of a SQL statement that is generated with user input...
The user then selects that record and it's information will be passed to the form calling this "Search" form.
How do I utilize a SQL statement to populate a FlexGrid... Should I be using a different type of Grid object?
THANNNNKSSS. (I'll go scream in the hall and wait for your replies)
****************
DariceLR
:-{} :-V :-x
****************
I am about ready to run through the hall screaming....
TWO QUESTIONS:
I need to have my VB6 app touch SQL7 databases, one that is used merely for searching for data to put in the other's tables. SO... One has a table that I need to read(empl), one has MANY tables that I need to read/write (used to track requests for work).
What kind of data connection is best??? Should I use a Data Environment? A ADODC? A regular Data Control? I am currently using both an ADO Data Control that has an ODBC Data Connection and an ADO Data Control that uses a connection string (Provider=MSDASQL.1;Persist Security Info=False;User ID= ;Data Source=(read only database);Mode=Read|Write;Initial Catalog=(read/write database))
So... The second problem??? It is not updating the files and the way that my data controls are set up, I get data immediately on the opening of the form, which what I want is it opening to capture data that will be entered by the user and then saved to the db when the save button is pressed. The read/write table/db should not be shown at all while the read only table/db is used to add users/customers information like their employee id. I am currently using a Hierarchical FlexGrid but want it to only show the rows that fit the criteria of a SQL statement that is generated with user input...
The user then selects that record and it's information will be passed to the form calling this "Search" form.
How do I utilize a SQL statement to populate a FlexGrid... Should I be using a different type of Grid object?
THANNNNKSSS. (I'll go scream in the hall and wait for your replies)
****************
DariceLR
:-{} :-V :-x
****************