Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to control numeric field length in views
Message
De
02/08/2002 16:31:40
Wally Noll
Double Aa Builders
Mesa, Arizona, États-Unis
 
 
À
02/08/2002 07:04:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00685298
Message ID:
00685704
Vues:
23
This message has been marked as the solution to the initial question of the thread.
Chung

You see the DBSETPROP command can be used to set a property just for that particular field. The width of the numeric field is being defined in a manner you don't want presumably when you run CREATE VIEW SQL command. After that command runs you use DBSETPROP('myView.myField','Field','DataType','N(5,2)'). So, you see it really is 1 line of code. I just rarely use the code, so I had to look it up.

eView is a tool for you use, not to be distributed to your clients or users. It is merely a better visual tool than the standard VFP one to edit views. It also generates good code.

Wally
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform