Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric overflow
Message
 
À
10/04/2002 03:53:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00643035
Message ID:
00643122
Vues:
10
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform