Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric overflow
Message
 
 
To
10/04/2002 03:53:45
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00643035
Message ID:
00643122
Views:
9
Hi Bertje,

AFIELDS() will return an array with all fields (an thier properties) of a table. Locate the field you want in it than I think yourArray(3) will return the length of the array (see MSDN to be sure under AFIELDS()).

Then I'd use the following command :

replace yourField with val(replicate("9",theLengthOfYourField))

and for negative values :

replace yourField with -val(replicate("9",theLengthOfYourField -1 ))


Hope it helps...
********************************************

Benoit Grenier


encoder@silogic.ca (Job)
encoder@sympatico.ca (home)
Web site : www.silogic.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform