Board index » delphi » simple PARADOX Question -----------------------------------------------

simple PARADOX Question -----------------------------------------------

I use Delphi 3 C/S

I create a paradox7 .db
i create a field DATUM
in maskedit i write ##.##.####  ( .. the format of date 30.09.1999)

BUT when I edit the .db with my DBGrid - the maskedit doesnt work

Can you help me ???

Thanx....

--
Software Engineering Center
{*word*55}er & Viehauser OEG

www.sec.at
off...@sec.at
_______________________________________
Wissen ist MACHT, nix wissen MACHT auch nix !

 

Re:simple PARADOX Question -----------------------------------------------


Quote
On Thu, 30 Sep 1999 17:00:59 +0200, "Erich" <off...@sec.at> wrote:
>I use Delphi 3 C/S

>I create a paradox7 .db
>i create a field DATUM
>in maskedit i write ##.##.####  ( .. the format of date 30.09.1999)

>BUT when I edit the .db with my DBGrid - the maskedit doesnt work

Delphi does not see or use these picture templates inside the .DB file. To
do what you describe, use something like the EditMask property of the
TDateField and TDateTimeField classes.

  Table1.Fields[16].EditMask := '00.00.0000;1';

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Steve Koterski              "Health nuts are going to feel stupid someday,
Felton, CA                  lying in hospitals dying of nothing."
                                                              -- Redd Foxx

Re:simple PARADOX Question -----------------------------------------------


Thank you ....

Erich {*word*55}er  (yes i know ... its a terrible family-name...)

--
Software Engineering Center
{*word*55}er & Viehauser OEG

www.sec.at
off...@sec.at
_______________________________________
Wissen ist MACHT, nix wissen MACHT auch nix !
Steve Koterski <koter...@NOSPAMgte.net> schrieb in im Newsbeitrag:
37f592e4.4239...@news.gte.net...

Quote
> On Thu, 30 Sep 1999 17:00:59 +0200, "Erich" <off...@sec.at> wrote:

> >I use Delphi 3 C/S

> >I create a paradox7 .db
> >i create a field DATUM
> >in maskedit i write ##.##.####  ( .. the format of date 30.09.1999)

> >BUT when I edit the .db with my DBGrid - the maskedit doesnt work

> Delphi does not see or use these picture templates inside the .DB file. To
> do what you describe, use something like the EditMask property of the
> TDateField and TDateTimeField classes.

>   Table1.Fields[16].EditMask := '00.00.0000;1';

> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> Steve Koterski              "Health nuts are going to feel stupid someday,
> Felton, CA                  lying in hospitals dying of nothing."
>                                                               -- Redd Foxx

Re:simple PARADOX Question -----------------------------------------------


Quote
Erich wrote:

> I use Delphi 3 C/S

> I create a paradox7 .db
> i create a field DATUM
> in maskedit i write ##.##.####  ( .. the format of date 30.09.1999)

> BUT when I edit the .db with my DBGrid - the maskedit doesnt work

> Can you help me ???

> Thanx....

Pretty easy... Delphi doesn't like Austrians !!! <gdaravf>
                                                     |______grinning, ducking and
running
                                                            away very fast !!

;-)

Re:simple PARADOX Question -----------------------------------------------


Re:simple PARADOX Question -----------------------------------------------


try doubleclicking the ttable object then import the fields you need,
select your data field press F11 and edit your mask!

Quote
Andreas Damm <A.D...@alcatel.de> wrote in message

37FB2149.7B4A2...@alcatel.de...

Quote
Erich wrote:

> I use Delphi 3 C/S

> I create a paradox7 .db
> i create a field DATUM
> in maskedit i write ##.##.####  ( .. the format of date 30.09.1999)

> BUT when I edit the .db with my DBGrid - the maskedit doesnt work

> Can you help me ???

> Thanx....

Pretty easy... Delphi doesn't like Austrians !!! <gdaravf>
                                                     |______grinning,
ducking and
running
                                                            away very fast
!!

;-)

Other Threads