BaseReportExtension Support und Discussion [en,de]

Alles zur Programmierung im LibreOffice.
Benutzeravatar
charlie.it
Beiträge: 14
Registriert: Sa 7. Jan 2017, 07:56

Re: BaseReportExtension Support und Discussion [en,de]

Beitrag von charlie.it » Fr 20. Jan 2017, 08:26

Ciao gogo,
thank you for the answer, it works.
LibreOffice 4.3.7
Mac OSX 10.7.5



steph07
Beiträge: 2
Registriert: Mo 5. Nov 2018, 14:14

Re: BaseReportExtension Support und Discussion [en,de]

Beitrag von steph07 » Mo 5. Nov 2018, 14:56

Hello,
I installed basereport extension and it works fine except to print the data of the record running in a form.
Could you give me an example of syntax for use of:
###FORMFIELD(<MainForm><SubForm><GridName><ColumnName>)###
my Mainform’ name is “Formulaire”
my GridName is called “ControleTable1”
my ColumnName is called “Etat”
I’ve tried
FORMFIELD(“Formulaire”“ControleTable1””Etat”)
FORMFIELD(“Formulaire”.”ControleTable1”.”Etat”)
FORMFIELD(“Formulaire” ”ControleTable1” ”Etat”)
FORMFIELD(“Formulaire”/”ControleTable1”/”Etat”)
and I got every time ###SQLERROR###

Thank’s.

gogo
Beiträge: 806
Registriert: Sa 5. Feb 2011, 19:07

Re: BaseReportExtension Support und Discussion [en,de]

Beitrag von gogo » Do 8. Nov 2018, 10:17

Hi Steph,

Code: Alles auswählen

###FORMFIELD(<Formulaire><ControleTable1><Etat>)###
should work.

I wonder why you get a ###SQLERROR### as you should get a messagebox like:
"Error! The control " & sName & " could NOT be found in " & sPathToObject & "!"

A ###SQLERROR### should appear in case of a not-SQL-string only...
g
2008 LucidL./MaverickM./WinXP LibreOffice 3.3.2 > 02/13 LinuxMint13/Xubuntu > 09/13 Debian Wheezy+LO3.5.4.2 > 01/15 Debian Jessie KDE+LO4.3.3.2/Mint17 openbox auf USB+LO4.2.8.2 > 03/16 ArchLin & LO5.1+ff



Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste