I maintain a membership database for an organization. The process of adding a new member or updating a current member is as follows:
1. Use filter by form to look up member's last name (even for new applications)
2. If new member, assign member number by opening recordset of max(MemberNumber) for that type of membership. Add 1 to it and concatinate to alpha prifix
3. On sub form, enter transactions: If type of transactions contains the word membership, open recordset of table of membership dues for that type of membership. Add unit price to subform record. If doesn't contain "membership" look up price in transaction type table. Entering type of payment (MasterCard, Visa, AmEX, check) involves opening a recordset to determine which card is used (based on first digit).
4. "Membeship" in transaction type causes scanning of all fields (member info stuff) for creation of confirmation e-mail. This e-mail goes as a record in an e-mail table. At the end of a session, e-mails are sent.
After each recordset is used, it is closed and set equal to nothing.
After a few hours of entering information, I suddenly get an "out of memory" message. Does anyone have any ideas or suggestions about why it is happening and how to correct the problem?
1. Use filter by form to look up member's last name (even for new applications)
2. If new member, assign member number by opening recordset of max(MemberNumber) for that type of membership. Add 1 to it and concatinate to alpha prifix
3. On sub form, enter transactions: If type of transactions contains the word membership, open recordset of table of membership dues for that type of membership. Add unit price to subform record. If doesn't contain "membership" look up price in transaction type table. Entering type of payment (MasterCard, Visa, AmEX, check) involves opening a recordset to determine which card is used (based on first digit).
4. "Membeship" in transaction type causes scanning of all fields (member info stuff) for creation of confirmation e-mail. This e-mail goes as a record in an e-mail table. At the end of a session, e-mails are sent.
After each recordset is used, it is closed and set equal to nothing.
After a few hours of entering information, I suddenly get an "out of memory" message. Does anyone have any ideas or suggestions about why it is happening and how to correct the problem?