At 11:39 PM 10/12/2005, Larry Wilson wrote:

In Rbase 7.5
Is there a way to set a default value to a date/time picker object
and allow the user to change it?

I know I can do this with a dbedit object but I like the date/time
picker object.


Larry,

Here's how:

Use the following PROPERTY command as "On Before Insert Row EEP"
for Table Settings.

Form Designer | Table | Add Remove Tables... | Table Settings...

Exit/Entry Procedures: On Before Insert Row EEP

-- start
PROPERTY DBDateTimePickerComponentID DEFAULTDATETIME 'dd/mm/yyyy'
RETURN
-- end

where 'dd/mm/yyyy' is that actual default value for DB DATE/Time
Picker.

That's all there is to it!

Very Best R:egards,

Razzak.

Reply via email to