Hello Everybody
From a given tableview form foundset i can copy data to excel with this:
var vfs = forms.Auswahl_Kontakte.foundset;
var vdp = ["rbkontaktid","rbkontakt_to_rbobjekte.name1","rbkontakt_to_rbobjekte.objektbezeich","rbeingangsdatum","rbkontaktart","rbkontaktmelder","rbkontakttext"]
var vfile = plugins.file.showFileSaveDialog("Kontakt_Export.xls");
var vbytes = plugins.excelxport.excelExport(vfs, vdp);
plugins.file.writeFile(vfile, vbytes);
2 problems:
a)
Now i want to set different column headers:
rbkontakt_to_rbobjekte.name1 = Name
rbkontakt_to_rbobjekte.objektbezeich = Bezeichnung
b)
In my excel file the rbeingangsdatum ( a timestamp in my database ) is shown like this “16 Jan.”
I need the full timestamp “16.01.2012 16:43:17”
How to do this with servoy 6.0.7???
Best regards
Albert