Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting access to a SUM column from the SQL
Message
De
14/06/2006 11:43:02
 
 
À
14/06/2006 10:34:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01128850
Message ID:
01129048
Vues:
12
>A sum() might return different data types. To be sure make a conversion first. ie:
>
>MessageBox.Show( Convert.ToDouble(loRowTotal("SumColumn")).ToString("#########0") )
>
Yes, this is what I figured out. I replied in the other message in this thread with the adjustments I did to have a generic function to handle it. I already had those functions so I thought I would simply make a call to them when needed.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform