Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

memory error using select statement

Status
Not open for further replies.

AdamVerellen

IS-IT--Management
Sep 20, 2002
39
CA
I'm using DAO 3.6
I get a memory problem when running the following select statement. It works before compiling. After compile I get the memory error. I can provide more info if someone has an idea.

Set LabelList = DB.OpenRecordset("Select * from [Work In Progress] where sequence between " & Partno1 & " AND " & Partno2 & " order by sequence",dbOpenSnapShot)

There is only about 50 records ever selected. I can't understand why it works before compiling but not after.
I have all the latest service packs installed.
I'm open to suggestions.

 
Figured it out.
Happened to be something right before it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top