Hello,
I installed basereport extension and it works fine except to print the data of the record running in a form.
the button calling the report is in a form named Spanc1
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.
❤️ Helfen Sie noch heute, unser LibreOffice Forum zu erhalten! ❤️
>> Dank Ihrer Unterstützung -> Keine Werbung für alle registrierten LibreOffice-Forum User! <<
🤗 Als Dankeschön werden Sie im Forum als LO-SUPPORTER gekennzeichnet. 🤗
base report extension
Re: base report extension
Hi Steph,
###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... I think
Using quotation marks inside " ... ###FORMFIELD(<Formulaire><ControleTable1><Etat>)### ... " will lead to unexpected results, as they cause misinterpretation of the string for sure. That's why I choosed the <...> notation. I think I never lined out, that the use of "(", ")", ">" and "<" will cause problems ...
###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... I think
Using quotation marks inside " ... ###FORMFIELD(<Formulaire><ControleTable1><Etat>)### ... " will lead to unexpected results, as they cause misinterpretation of the string for sure. That's why I choosed the <...> notation. I think I never lined out, that the use of "(", ")", ">" and "<" will cause problems ...
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 > 02/18 Kubuntu
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 > 02/18 Kubuntu
An alle, die das LibreOffice-Forum gern nutzen und unterstützen wollen:
Bitte helfen Sie uns mit 7 Euro pro Monat.
Durch Ihren Beitrag tragen Sie dazu bei, unsere laufenden Kosten für die kommenden Monate zu decken.
Unkompliziert per Kreditkarte oder PayPal.
Als ein kleines Dankeschön werden Sie im LO-Forum als SUPPORTER gekennzeichnet.