JonJacobik
Technical User
I have flexgrid problem. Code seems to work perfectly, but the flexgrid only loads about 2000 of 11000 records.
Is there a property limitting the number of records in a the recordset? Here's the code that makes it all happen:
sConnect = "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;User ID=Admin;Data Source=RESULTS2K.MDB;Mode=Share Deny None;Extended Properties=';COUNTRY=0;CP=1252;LANGID=0x0409';Locale Identifier=1033;Jet OLEDB:System database='';Jet OLEDB:Registry Path='';Jet OLEDB
atabase Password='';Jet OLEDB:Global Partial Bulk Ops=2"
sSQL = "select ReFerence,Title,Artist,Category,Tempo,Length,Ending,Intro,Year from Music Order by Title"
' open connection
Set dfwConn = New ADODB.Connection
dfwConn.Open sConnect
' create a recordset using the provided collection
Set datPrimaryRS = New ADODB.Recordset
datPrimaryRS.CursorLocation = adUseClient
datPrimaryRS.Open sSQL, dfwConn, adOpenForwardOnly, adLockReadOnly
drawit
Is there a property limitting the number of records in a the recordset? Here's the code that makes it all happen:
sConnect = "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;User ID=Admin;Data Source=RESULTS2K.MDB;Mode=Share Deny None;Extended Properties=';COUNTRY=0;CP=1252;LANGID=0x0409';Locale Identifier=1033;Jet OLEDB:System database='';Jet OLEDB:Registry Path='';Jet OLEDB
sSQL = "select ReFerence,Title,Artist,Category,Tempo,Length,Ending,Intro,Year from Music Order by Title"
' open connection
Set dfwConn = New ADODB.Connection
dfwConn.Open sConnect
' create a recordset using the provided collection
Set datPrimaryRS = New ADODB.Recordset
datPrimaryRS.CursorLocation = adUseClient
datPrimaryRS.Open sSQL, dfwConn, adOpenForwardOnly, adLockReadOnly
drawit