Date Field Control

This control allows the user to quickly and easily choose a date from an on-screen calendar.

NOTE:  The current version of abcDB has a maximum of 40 labels, 40 textboxes, 7 dropdowns, 6 buttons, 14 checkboxes, 1 grid, 4 datepickers, 1 image, 1 scribble and 1 tab per form.

The DatePicker control supports the following properties.

Property Name

Description

Bound Field

The Field from which this DATEPICKER will receive it’s data, or in other words, the field that this DATEPICKER will be ‘bound’ to.

Default

This property determines the default value that will be used to populate this DATEPICKER whenever a new record is added.  For example, if you have a date field, you could automatically populate this field with the current date by entering the following for the DEFAULT property:

DATE()

Tag

You can use the Tag property to specify or determine the string that identifies the name of a DATEPICKER.  Thereafter, the contents of that DATEPICKER can be referred to elsewhere in the application using the syntax ~TAGNAME~.

ie. If a DATEPICKER is bound to the INVOICEDATE field of an orders table, you could give this textbox a TAG name of INV_DATE, which can then be used elsewhere by using the syntax ~ INV_DATE ~.

Visible

Specifies whether this DATEPICKER will be visible or invisible

Height

The height of this DATEPICKER in Twips*

Width

The width of this DATEPICKER in Twips*

Left

The horizontal location of the top-left corner of this DATEPICKER in Twips*

Top

The vertical location of the top-left corner of this DATEPICKER in Twips*

Print Border?

Specifies whether this DATEPICKER will be printed with a border or no border (Note: This property is only valid in ‘printing’ versions of abcDB™)

TabPage If a tab-control is present on the form, this property determines which 'page' of the tab this control will be located on.  0-Not on tab.

 

The DatePicker control does not support any EVENTS.