Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding (sum) to a character (char) field or variable
Message
 
 
À
17/05/2006 16:45:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01122997
Message ID:
01123000
Vues:
19
>Is there any way that I can sum numbers to another number.. but as a character field?
>
>Because i have a routine that sums +1 to the last record of the database... but that record is a character field.. and i cant change it to numeric...? some help plz...
>
>Okay the real problem... is .. that i have a combo box wich lists new customers... those customers are in a table wich has a *customer_id and customer_name, but... i want the user of my program to add new customers... so they will appear in the combo box for later selection... the problem is that i want to relate the customer table with my main table... when I add the whole record i have data type mistmatchs in the combo box :'(

You can use STR() function to convert numeric to character.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform