J
JM
Hi,
I am using the following code to create a query:
Dim catCurr As New ADOX.Catalog
Dim cmdCurr As New ADODB.Command
Dim flag As Integer
catCurr.ActiveConnection = CurrentProject.Connection
cmdCurr.CommandText = strSql
catCurr.Views.Append strQry, cmdCurr
The problem is that the query is "virtual" do not show in access and it
dissapear once I close access.
How can I "Save" the query?
I am using the following code to create a query:
Dim catCurr As New ADOX.Catalog
Dim cmdCurr As New ADODB.Command
Dim flag As Integer
catCurr.ActiveConnection = CurrentProject.Connection
cmdCurr.CommandText = strSql
catCurr.Views.Append strQry, cmdCurr
The problem is that the query is "virtual" do not show in access and it
dissapear once I close access.
How can I "Save" the query?