V
Vayse
If I goto Tools/Options/Advanced I can enter the default max records. I have
set this to 10,000.
Which is fine for my forms. However, this is one particular view,
qryCheckClients that I use this when a user adds a new client - it has over
50,000 records.
If I check this view through code, it seems only the first 10,000 is
returned.
Set cnnADO = CurrentProject.Connection
Set rsOpenGI = New ADODB.Recordset
stSQL = "SELECT Ref, ClientDiv, Client_Exec FROM Clients WHERE Ref = '"
& stClientCode & "'"
rsOpenGI.Open stSQL, cnnADO, adOpenForwardOnly, adLockOptimistic
Is there a way I can this code to check the full view? Or must I change the
default max records for the whole adp?
Thanks
Vayse
set this to 10,000.
Which is fine for my forms. However, this is one particular view,
qryCheckClients that I use this when a user adds a new client - it has over
50,000 records.
If I check this view through code, it seems only the first 10,000 is
returned.
Set cnnADO = CurrentProject.Connection
Set rsOpenGI = New ADODB.Recordset
stSQL = "SELECT Ref, ClientDiv, Client_Exec FROM Clients WHERE Ref = '"
& stClientCode & "'"
rsOpenGI.Open stSQL, cnnADO, adOpenForwardOnly, adLockOptimistic
Is there a way I can this code to check the full view? Or must I change the
default max records for the whole adp?
Thanks
Vayse