Table of Contents

Funktion ExchangeDescriptorDialog()

Informationen

  • Kategorien: Kernel | Klassenformeln
  • Version: 15.0.0.2607
  • Veröffentlichungsdatum: Donnerstag, 31. März 2011
  • Entwickler: Götzen
  • Benötigt Datenbankänderung: Ja
  • Betreff: Dialog "Exportbeschreibung definieren" als Klassenformelfunktion

Beschreibung

ExchangeDescriptorDialog( «string sClassName», «string sExchangeDescriptorFile», «int iFlags», «int nModuleType» )

Shows a dialog to edit an ex- or importdescriptor.

Beispielcode

usage: ExchangeDescriptorDialog( «string sClassName», «string sExchangeDescriptorFile», «int iFlags», «int nModuleType» )

Shows a dialog to edit an ex- or importdescriptor.

Arguments:
	sClassName:		Name of the pit-FM class
	sExchangeDescriptorFile: path of file, which describes the fields to import. If this file does not exist, an new file will be created.
	iFlags:		can be a sum of the following values:
		 1 = ForExport
		 2 = ForImport 
		 4 = EnableStoring
		 8 = EnableLoading
	nModuleType:			
		 0 = TextExchange
		 1 = DatabaseExchange
		 2 = ExcelExport
		 4 = LdapImport

returns 1 if succesfull, 0 otherwise.

for example:
var string $Path;
var int $bResult;
$Path = GetDir( 3, 10, "system", 2 );
$bResult = ExchangeDescriptorDialog( "Employee", $Path + "\\Employees.cid", 1, 1 );