Date picker formatting?

L

Linn Kubler

Hi,

I found a nice looking date picker solution but I'm having trouble with the
formatting of the field. Just wondering if anyone can shed some light on
how this is working.

I'm implementing Stephen Travis' date picker from
http://home.att.net/~codeLibrary/CDO/outlook_date_picker.htm

I have two issues, the first is that the date format it uses looks like
this:
Friday, October 28, 2005, but I want the standard format:
Fri 10/28/2005. He sets the format with a function call:

sctDatePickerDateFormat = FormatDateTime(dtDate, 1)

It doesn't look like the formatdatetime function will return that format, is
there another function available that will?

My second issue is with the field name for the toggle_sctdatepicker call.
The instructions say: Syntax: Toggle_sctDatePicker "Page Name", "Control
Name", "Result Field Name"

But when I set the Result Field Name to the field I want to use, in this
case it's the start date field of an appointment, I get an error. "Could
not find the specified object" I'm guessing this is just a syntax issue. I
also tried a user defined field but that reported the same error.

If anyone could help that would be great.
Thanks,
Linn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top