Can't Move to Next Record
I am able to update my database with the ExecSQL
Now, because I have a multi-table query. Request Live is False, and I am
not using Cached updates. The EXecSQL works fine for updating.
The problem is, because of a read-only result set I can't navigate to
the next record to send the next e-mail. ( One E-mail is sent and then
the entire database is updated, stating that all e-mails have been
'MAILED' where they use to say 'AVAL'. But only one record has actually
been sent.
Query.next; (to move to the next record) is when the "cannot perform
this operation on a closed dataset" error appears.
I know why I'm getting this error, I'm wondering if anyone has any info
on how to navigate to the next record in a read-only dataset. This
program starts up, send the e-mails and shuts down, there are no
dbGrids, fields, or any displayed data for that fact. It runs like a
batch file and then closes.
Got any Ideas?
Kenneth