VDouble.GetString return formatted string 15 char long

Francois Van Lerberghe fvanlerberghe at freegates.be
Tue Jun 14 06:42:55 CDT 2011


Hello Ivan,

Thank you or the explanation, but I don't see how I can use it in my
situation.
Must I set it in the constructor of the Vtable, VDouble or in the
constructor of the Vcursor ?

In Realbasic, I write :

    dim csr As VCursor
    csr = mDatabase.SQLSelect(sqlQuery)

    dim myDoubleField As Vdouble

    myDoubleField = csr.VDoubleField(1)
    
    dim myStringResult As String
    myStringResult  = myDoubleField.GetString

Where and how can I use the scale property in order to have the desired (old
style) string output ?


François Van Lerberghe
Rue Thier Monty, 15 A
4570 Marchin
Belgique


le 14/06/11 10:41, Ivan Smahin <ivan_smahin at paradigmasoft.com> a écrit :

>    SELECT FORMAT(f1, '###.###') from t1;  



More information about the Valentina mailing list