CutAndPaste
Registered User.
- Local time
- Today, 15:45
- Joined
- Jul 16, 2001
- Messages
- 60
I've created an append and delete query combination to move records between 2 dates to an archive database. I've also got a message box that pops up prior to this query executing to ask for confirmation from the user before this action is carried out. I'd like to include more information in the message box, something like "You are about to archive X records between dd/mm/yyyy and dd/mm/yyyy" Do you want to proceed?"
I'm guessing that I somehow reference the [StartDate] and [EndDate] fields on my form that filter the query, but am not so sure of the syntax of this within a message box. Also getting a count of the records is needed.
So part of the message box is going to look like:
"You are about to archive X records between "& Forms![frmReport]![StartDate]&" and "& Forms![frmReport]![EndDate]&" Do you want to proceed?"
Am I on the right track here? The Record Count is still evading me though...
[This message has been edited by CutAndPaste (edited 07-31-2001).]
I'm guessing that I somehow reference the [StartDate] and [EndDate] fields on my form that filter the query, but am not so sure of the syntax of this within a message box. Also getting a count of the records is needed.
So part of the message box is going to look like:
"You are about to archive X records between "& Forms![frmReport]![StartDate]&" and "& Forms![frmReport]![EndDate]&" Do you want to proceed?"
Am I on the right track here? The Record Count is still evading me though...
[This message has been edited by CutAndPaste (edited 07-31-2001).]