Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to control numeric field length in views
Message
From
02/08/2002 16:31:40
 
 
To
02/08/2002 07:04:08
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00685298
Message ID:
00685704
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform