chaddy
256 MB on an system running FAT16 and FAT32 (windows 9x andME) is usually plenty.
I am going to approach this from a hardware OS perspective first...
- Do you have other applicaiton open? Are any of them buggy -- ie, memory leaks? Hint: If a computer runs fine in the morning but tends to crashes in the afternoon suggests a memory leak, and dwindling resources. Hint: Close other applications and see if you still get the same error.
- Have you applied the SR2 for Office 97? It fixes some of the memory leaks (especially in Word).
- Have you deleted your TEMP file? And while you are at it, delete your temparary Internet files.
- Do you have more than 200 MB free on the hard drive(s)?
- Is your swap file / virtual memory file big enough and in the right location? Richt click on My PC, properties, performance. A typical installation of Windows - lets Windows control the swap file, and Windows will usually use the C: drive. If you have more than one drive, the C: drive is usually NOT the perferred location. And with 256 MB, a typical rule of thumb is to set the swap file to twice the size, i.e. 512 MB in your case.
With Access, it will run and retrieve an entire recordset even for the simplest query.
Using a "Select *" when you only need "Select CustomerID" can make a difference. I would focus on the combo boxes, and proably the current record event.
lamarw comment regarding open record sets is very valid. An open recordset could mean that the contents of a table or tables is left open serveral times on a form.
Get rid of, or restrict the use of graphics. I had one developer embed a beautiful picture in hist forms. Looked stunning with lots of oohhs and aahhs, but then one could say a lot of oohhs and aahhs while the form was loading. And user got errors regarding resources. When I convinced him to remove the graphics, the forms did not look as slick but now it worked.
While you are at it, simplify or get rid of the graphics on the screen saver and wallpaper. These pictures, especially in Win 9x environment is extremely wasteful. Pleasing to the eye - yes, but degrades performance and uses memory.
Richard