Dynamically remove date format mask in forms 4.5.10.6.0

From: Marty Sprague <marty_at_buffnet.net>
Date: 16 Dec 1998 12:59:26 +0500
Message-ID: <3677f4fe.0_at_news3.buffnet.net>



Hi All,

I have a need to dynamically (at runtime) remove date format masks that are defined in an items property sheet. I have been able to change the mask via set_item_property, but have been unable to remove the mask. I have tried the following to no avail:

set_item_property('date_field',format_mask,''); <--null
set_item_property('date_field',format_mask,' '); <-- 1 space
set_item_property('date_field',format_mask, disable);
set_item_property('date_field',format_mask,property_false);

The reason we want to remove the mask is there's a registry setting (FORMS45_USER_DATE_FORMAT) that can be used ) to define multiple date field masksproviding a mask does not exist for that item. That is, it can be defined as 'mm/dd/rr|mmddrr' to give the users the ability to enter the date with or without the slashes. With the number of forms and date fields we have, we want to avoid manually removing the mask from the property sheets.

Any assistance would be greatly appreciated.

Marty Sprague
DBA
Erie County Medical Center
Buffalo, NY 14215 Received on Wed Dec 16 1998 - 08:59:26 CET

Original text of this message