sDbDateEdit min – maxdate not working

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39176
    Support
    Keymaster

      Yes, you are right, but entered data must be controlled by DataSet constraints.. What you think?

      sDBDateEdit control was derived from sCustomDateEdit control and have MinDate and MaxDate properties inherited. Problem may be easy solved if sDBDateEdit control will have the CheckOnExit property published like sDateEdit control, but maybe constraining in DataSet will be better?

      #39198
      shadow_tj
      Participant

        mmm we do not much wich restrictions on database.
        all restrictions are made in the application.

        but when you set a min max date, why not restrict that.. because its a propertie, you expect that it is working <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />

        QUOTE (Support @ May 13 2009, 08:30 AM)
        Yes, you are right, but entered data must be controlled by DataSet constraints.. What you think?

        sDBDateEdit control was derived from sCustomDateEdit control and have MinDate and MaxDate properties inherited. Problem may be easy solved if sDBDateEdit control will have the CheckOnExit property published like sDateEdit control, but maybe constraining in DataSet will be better?

        #39199
        Support
        Keymaster

          QUOTE (shadow_tj @ May 13 2009, 01:02 PM)
          mmm we do not much wich restrictions on database.
          all restrictions are made in the application.


          I mean conditions which may be defined in the TDataSet (in application).

          QUOTE
          but when you set a min max date, why not restrict that.. because its a propertie, you expect that it is working <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />


          In the next release CheckOnExit property will be published and will work like in TsDateEdit control.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.