V4RB2 Method-Question
Claudius Sailer
Claudius at sailer-online.de
Thu Mar 31 06:04:49 CST 2005
Hi,
you can see, that I use in following database table class a method. It
is possible that LastValue gets as value 0 or NULL and then I should
have division by 0 or NULL. Brings this trouble and I should make an
if-statement around or is it okay to let method as it is in the moment?
name="Currencies"
CUR=new VVarChar("CUR",504,EVFlag.fUnique +EVFlag.fIndexed)
CURName=new VVarChar("CURName",504, EVFlag.fUnique +EVFlag.fIndexed)
Ric=new VVarChar("Ric",504,EVFlag.fIndexed+EVFlag.fNullable)
Online=new VObjectPtr("Online",inDataBase.TOnline,EVFlag.fNullable +
EVOnDeletion.kRestrict)
LastValue=new VLong("LastValue",EVFlag.fNullable)
QuotationUnit=new VULong("QuotationUnit")
QuotationMode=new VBoolean("QuotationMode")
NValue=new VFloat("NValue", EVFlag.fNone,
"if(QuotationMode=1,(LastValue/10000)/QuotationUnit,1/((LastValue/
10000)/QuotationUnit))")
Sortierung=new VULong("Sortierung")
thanks
Claudius
--
G4/733 QS / MacOS X 10.3.7de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.1
Homepage http://www.ClaSai.de
iChat ryhoruk
RealBasic ListBoxes: [ I feel the need...the need for speed!!! ]
More information about the Valentina
mailing list