V4RB: 2008r2 to 2009r4

Claudius Sailer Claudius at sailer-online.de
Thu Nov 19 12:55:06 CST 2009


Hi Ruslan,


there I can find the code


  // This is constructor for a local database.
  // On default it get EVStorageType.kDefault
  
  // Call constructor of parent class: 
  VDatabase( inStorageType )
  
  ConstructorCommon()



and this doesn't work :-((
Or do I need Valentina 4.X



Am 19.11.2009 um 18:29 schrieb Ruslan Zasukhin:

> On 11/19/09 6:49 PM, "Claudius Sailer" <Claudius at sailer-online.de> wrote:
> 
> Hi Claudius 
> 
>> my application is old and my last changes are now from 1,5 year ago. I worked
>> with RB 2008r2 and V4RB 3.5.2.
>> 
>> Now I opened my app in RealBasic 2009r4 and got a lot of messages that all my
>> Valentina-Constructores are old.
>> 
>> what do I have to do to fix this problem?
>> 
>> than I use Class method and have one class with following code
>> 
>> 
>>  // This constructor is for LOCAL database.
>> 
>>  // We call parent class Vdatabase.
>>  // Call constructor of parent class:
>>  VDatabase(inStorageType)
>> 
>>  TKategorieGruppen= new DBKategorieGruppen
>>  TFormularArten=new DBFormularArten
>>  TKontoArt= new DBKontoArt
>>  TKontoGruppen= new DBKontoGruppen
>>  TPersoenlich= new DBPersoenlich
>>  TWPArten=new DBWPArten
>>  TOnline= new DBOnline
>>  TMWSt= new DBMWSt
>>  TCurrencies=new DBCurrencies(self)
>>  //erst hier kann die Methode definiert werden
>>  //wird in V4RB2 nicht mehr benötigt
>> 
>> ''TCurrencies.NValue.SetMethod("if(QuotationMode=1,(LastValue/10000)/Quotation
>> Unit,1/((LastValue/10000)/QuotationUnit))")
>>  TMWStSatz=new DBMWStSatz(self)
>>  TSteuerfuchsfelder=new DBSteuerfuchsfelder(self)
>>  TKategorien= new DBKategorien(self)
>>  TKonten= new DBKonten(self)
>>  //wird in V4RB2 nicht mehr benötigt
>>  ''TKonten.HauptGegenKonto.SetTarget(TKonten,EVOnDelete.kSetNull)
>>  TDepotKonten=new DBDepotKonten(self)
>>  TSonstiges= new DBSonstiges(self)
>>  TBuchungen = new DBBuchungen(self)
>>  TDauerauftraege= new DBDauerauftraege(self)
>>  TMakroBuchungen= new DBMakroBuchungen(self)
>>  TAnzeige= new DBAnzeige
>>  TSteuerExport= new DBSteuerExport
>>  TMWStAnzeige= new DBMWSTAnzeige(self)
>>  TWP= new DBWP(self)
>>  TDepot= new DBDepot(self)
>> 
>> 
>> when I try to compile I get the error message
>> 
>> Code, Datenbank.Constructor, Zeile 5, This function has a return value which
>> is to be used, VDatabase(inStorageType)
> 
>    super.Constructor()
> 
> Please check this in V4RB Examples / Class Style
> 
> 
> -- 
> Best regards,
> 
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
> 
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
> 
> [I feel the need: the need for speed]
> 
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina

Claudius

-- 
iMac CD 2GHz / MacOS X 10.5.2de / RB 2008r1/ Valentina 3.5.2
Homepage    http://www.ClaSai.de
iChat        ryhoruk
RealBasic ListBoxes: [ I feel the need...the need for speed!!! ]






More information about the Valentina mailing list