Subject Re: [IBO] Using the IB_Grid with date fields
Author Helen Borrie
At 08:22 AM 17/10/2005 +0000, you wrote:
>Hi
>
>How do I get a date column in an IB_Grid to allow users to pick the
>date?
>
>This thread: http://groups.yahoo.com/group/IBObjects/message/27436
>suggested that it should happen automatically if my database column
>was set to the date data type, but that doesnt appear to be the case
>for me.
>
>I tried following the instructions for embeddding the IB_lookupcombo
>that seemed relevent to the IB_date, ie place an IB_date on form, set
>datasource to the same as the IB_grid and datafield to the date
>column, cut the IB_grid, selected the IB_grid then pasted. The IB_Date
>automatically located in the correct column, but when i run the
>project i dont get any drop down selection or anything
>different from the other cells in the grid.
>
>Can someone point me in the direction of what i have done wrong?

You don't have to do anything. It's already embedded as a datepicker for
columns of date types (just as the checkbox is embedded for columns with
the Boolean attribute).

But remember that it won't be available unless the dataset is in an editing
mode.

Helen