Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Padding with zeroes
Message
From
22/09/1998 02:53:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00137666
Message ID:
00139378
Views:
35
>Hi Cetin,
>
>Thanks for your reply. It seems that whenever I get a reply, I become more confused due to the fact that I'm presented with more options to choose from. Is there a difference between setting the Inputmask and Format properties in the Table Designer and setting it in the PEM of Form designer. If I may take a long shot, I would say that setting the properties in the Table Designer would be more effective, because it is closer to the DB, or is it a case of one is the display and the other is the way data is stored?
>
>Petrus.
Petrus,
DBC is the one I prefer too. But some controls in form designer get it by default while others not. ie: If you define them in DBC and drop a field on a form a textbox created with the same format and inputmask in PEMsheet. But if the control you use, is a grid, neither captions nor format and inputmasks are read from DBC. Still DBC has the advantage because any class code could read it from there and write on the fly programmatically. Plus in DBC, format, inputmask and valid used together, you can have the uniform input at DBC level, users opening the table with VFP and browse also would obey it and all you need would be drag&drop to form to have same functionality on form (if you would have 10+ of this control on different forms it would be like a DBC level class :) ).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform