A
Alpesh Patel
I am using ADODB recordset and has SQL server database. I have a ListBox on
the form and need to load large rows around 100 number of rows with about 12
columns. I want to do the same using couple of commands because it is require
to refresh the ListBox many times during different operations on form.
If I am using the Link table which links to the SQL Server table and using
ListBox.RowSource by supplying the normal SQL or using Pass-through query, I
can get the data very easily and can refresh the same very easily. But these
will all requires ODBC connections. The Microsoft Access Application I
created is going to use by different user and will be difficult to install
ODBC to different machine, so that logic may not works.
I am using ADODB recordset to get the data from the SQL Server tables. I can
load individual row in the list box by moving the records by record in the
ADODB Recordset, but that will take time loading the data and not good to
refresh frequently.
Is there any other way I can load the SQL Server table data into ListBox
using ADODB RecordSet or some other easy way by couple of commands?
Thanks in Advance.
Alpesh Patel
the form and need to load large rows around 100 number of rows with about 12
columns. I want to do the same using couple of commands because it is require
to refresh the ListBox many times during different operations on form.
If I am using the Link table which links to the SQL Server table and using
ListBox.RowSource by supplying the normal SQL or using Pass-through query, I
can get the data very easily and can refresh the same very easily. But these
will all requires ODBC connections. The Microsoft Access Application I
created is going to use by different user and will be difficult to install
ODBC to different machine, so that logic may not works.
I am using ADODB recordset to get the data from the SQL Server tables. I can
load individual row in the list box by moving the records by record in the
ADODB Recordset, but that will take time loading the data and not good to
refresh frequently.
Is there any other way I can load the SQL Server table data into ListBox
using ADODB RecordSet or some other easy way by couple of commands?
Thanks in Advance.
Alpesh Patel