PDA

View Full Version : Taking an action based on Checkbox value



RKFerguson
06-16-2009, 05:55 AM
Folks,

I have a .dot file used to request a service. I have some VBA code to generate a for number by combining the create-date with a sequence number. That works fine.

The template then captures data from the user. That works fine.

I now want to add a feature in the form of a checkbox labelled "Scan complete:". When that checkbox value is true I want to insert the current date into a bookmark called ScanCompletedDate.

That part does not work. I have a macro called "Completed""com which I have called from the Checkbox on exit. I can step through the Autonew macro but the macro "Completed" never seems to execute, that is, the bookmark is not populated.

Could someone take a look and give some guidance please?

macropod
06-16-2009, 06:18 PM
Hi RKFerguson,

It's really hard to tell what the problem is when we can't see the code.

fumei
06-17-2009, 10:27 AM
"Could someone take a look and give some guidance please?"

We will look when we have something to look at. Please give us full details.

Where exactly is the procedure Completed?
What exactly is your procedure to fill the bookmark?