List box slow down

FloBob

Registered User.
Local time
Yesterday, 22:17
Joined
Jul 19, 2002
Messages
108
Same ole problem different spin.

I have a split database forms /data (actually several datas and forms for security but mainly just dealing with the first). If you have been dealing with access awhile you know you can experience first form slow down when you open up a form that has some sort of link to the table itself (ie attached, listboxes). I have gotten around this problem for the most part by detaching the forms from the tables and using recordsets to populate the forms on the required records.

My issue come from list boxes.. I have a hard time doing a descent search using anything but list boxes, however this is attaching the form to the table either by using a query or by coding:
me!mylistbox.rowsource = "select Blah blah"

which doesnt run any faster. Now does anybody have a better way of doing this.. maybe an dao solution? I am ashamed to say I am not too familiar with ado because welp I have been able to do everything I have needed in the past with dao and I never spent the time to learn it. however if any one can give me some code/ideas I would greatly appreciate it.. sorry to make this so long please let me know if you have any solutions.
 
you can offcourse fill your listboxes with strings building them (using either ADO or DAO) from the DB on open of the form or on click of the box. However i doubt that to be (much) faster than using a query as rowsource....

Its an idea tho to try....

Regards
 
I tried that ... and it doesnt work as well. There has got to be a way to speed up databases withought having to go to a dedicated db server(sql). I believe it has somthing to do with the connection, once that connection is established to the BE you get the same performance as local tables. If you leave yoru main form open with some kind of connection . It will take awhile to load that main form and then every other form should be quick. Im just guessing here based on what I have experienced but this does work. Seems dirty thoug. If anyone else has sugjestions please let me know. Thanks
 

Users who are viewing this thread

Back
Top Bottom