H
Hermann Scheibe
Hi NG,
I've been having a really weird problem with ACC97.
Follow procedure does crush at the last line:
Sub Crush()
Dim qdf As DAO.QueryDef
' only for sample, IRL is the table already present
CurrentDb.Execute "CREATE TABLE Tmp(ID GUID CONSTRAINT pkTmp PRIMARY KEY,
V INTEGER)"
CurrentDb.TableDefs.Refresh
' I'm use CurrentDb but IRL it's may be a Connection to ODBC
Set qdf = CurrentDb.CreateQueryDef(Empty, _
"SELECT * FROM Tmp WHERE ID = ? ORDER BY V")
'Bo-o-ohm
Debug.Print qdf.Parameters.Count
End Sub
Can anybody reproduce the prb?
Thanx
Hermann
I've been having a really weird problem with ACC97.
Follow procedure does crush at the last line:
Sub Crush()
Dim qdf As DAO.QueryDef
' only for sample, IRL is the table already present
CurrentDb.Execute "CREATE TABLE Tmp(ID GUID CONSTRAINT pkTmp PRIMARY KEY,
V INTEGER)"
CurrentDb.TableDefs.Refresh
' I'm use CurrentDb but IRL it's may be a Connection to ODBC
Set qdf = CurrentDb.CreateQueryDef(Empty, _
"SELECT * FROM Tmp WHERE ID = ? ORDER BY V")
'Bo-o-ohm
Debug.Print qdf.Parameters.Count
End Sub
Can anybody reproduce the prb?
Thanx
Hermann