CGI xHarbour
Posted: Mon Apr 20, 2009 7:05 am
Dear friends, do you see anything wrong in the following code that I'm using as CGI?
I don't know why but it only adds a certain number of records (from 1000 to 2000) on 38000.
It works fine if used as normal local application.
Any ideas?
Thanks in advance.
EMG
Code: Select all | Expand
oRs = CREATEOBJECT( "ADODB.Recordset" )
oRs:Open( "SELECT * FROM Contatti", cCns, adOpenForwardOnly,
adLockOptimistic )
USE ( cUpl + "\CONTATTI" )
WHILE !EOF()
oRs:AddNew()
COPYREC( oRs ) // Copy all values from DBF to recordset
oRs:Update()
SKIP
ENDDO
CLOSE
oRs:Close()
I don't know why but it only adds a certain number of records (from 1000 to 2000) on 38000.
It works fine if used as normal local application.
Any ideas?
Thanks in advance.
EMG