Hi,
I have code that reads
Dim SQL1 As SQL
Dim s,na,nu As String
Dim c As Cursor
SQL1.BeginTransaction
For iz=0 To ContactList.size-1
...
s="insert into anames values ('" & na & "','" & nu & "')"
SQL1.ExecNonQuery(s)
...
next
SQL1.EndTransaction
It runs without an error and should insert some 50 datasets.
Then I execute
c=SQL1.ExecQuery ("select rowid,aname,aphone from anames")
If c.rowcount=0 Then
' it should never get here, but it does
else
' it should go here
end if
The code seems to enter data, but not to find them (?)
:BangHead:
Thank you
Peter
I have code that reads
Dim SQL1 As SQL
Dim s,na,nu As String
Dim c As Cursor
SQL1.BeginTransaction
For iz=0 To ContactList.size-1
...
s="insert into anames values ('" & na & "','" & nu & "')"
SQL1.ExecNonQuery(s)
...
next
SQL1.EndTransaction
It runs without an error and should insert some 50 datasets.
Then I execute
c=SQL1.ExecQuery ("select rowid,aname,aphone from anames")
If c.rowcount=0 Then
' it should never get here, but it does
else
' it should go here
end if
The code seems to enter data, but not to find them (?)
:BangHead:
Thank you
Peter