RE: [Axapta-Knowledge-Village] constructor problem or ..

2004-12-06 Thread Anders Wancke
  Use StaticNew : http://technet.navision.com/usered/BPH/DevBestPractices/aot_standards/classes/Static_new.htm   BR Anders Warncke HOB Business Solutions  A/S   From: Gökhan Mutlu [mailto:[EMAIL PROTECTED] Sent: 6. december 2004 15:33 To: [EMAIL PROTECTED] Subject:

RE: [Axapta-Knowledge-Village] constructor problem or ..

2004-12-06 Thread Varden Morris
Hi Gökhan   Axapta does support overloading but not the way think. When you overload you must use default values for the parameters of you want them to be optional. You do not use more than one methos with the same name in the same class. For example:   void new(str _to = '',  str _from = '', s

RE: [Axapta-Knowledge-Village] constructor problem or ..

2004-12-06 Thread Malcolm Burtt
Hi   I'm afraid you've been mislead, Axapta only supports overriding, not overloading. Lookup "override vs. overload" in the Developers guide for confirmation.   Regards   Malcolm Burtt Global IT Group"Business Solutions designed for YOUR business processes"Global IT Group is the trading