Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fixing field length in SQL Select command
Message
From
28/11/2001 17:02:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Fixing field length in SQL Select command
Miscellaneous
Thread ID:
00587219
Message ID:
00587219
Views:
54
Is it possible to set the field lenght of a field when using the SQL Select command. What I need to do is insert 4 lines into a table based on existing values in the table and calculated values. The fourth line is the sum of the first three lines. Number of fields is dynamic so I am using macro substitution to create the lines. In the original table the format of the numeric fields is 12. When I do my Select commands I get different lengths for the fields. Is there any way around this?

I am thinking of using arrays. I there is an easy way to print the values of the arrays? How about adding them (short of the brute force method of a For loop).
Next
Reply
Map
View

Click here to load this message in the networking platform