O.k this seems bazaar to me, I have the below code were qryADO is a query like so: SELECT * parse(field1) then make table. I made the query in GUI so works fine. When I execute the code below it takes 2 minutes for the table to show up, but if I go to deign mode the table shows up immediately
, any ideas on what going on and how to get the table to show up with out going into design mode. Thanks
Private Sub Command51_DblClick(Cancel As Integer)
Dim Cmd As ADODB.Command
Dim pSQL As String
Set Cmd = New ADODB.Command
Set Cmd.ActiveConnection = CurrentProject.Connection
Cmd.CommandText = "qryADO"
Cmd.CommandType = adCmdStoredProc
Cmd.Execute
Set Cmd = Nothing
End Sub
Private Sub Command51_DblClick(Cancel As Integer)
Dim Cmd As ADODB.Command
Dim pSQL As String
Set Cmd = New ADODB.Command
Set Cmd.ActiveConnection = CurrentProject.Connection
Cmd.CommandText = "qryADO"
Cmd.CommandType = adCmdStoredProc
Cmd.Execute
Set Cmd = Nothing
End Sub