Re: [fpc-pascal] Fwd: Re: fcl-report demos not working on windows10/64 with win64 compiled - Font Arial not found

2019-12-28 Thread Andi Friess
Hello, i think there is a problem with definiton of HumanFriendlyName and PostScriptName. it looks like the Arial font is the default (parent font) under windows. But the name Arial is not correct, it should be translated to the correct PostScriptFontName = ArialMT. Because a search in Font(Font

[fpc-pascal] fcl-report - Aggregates are initialized on every page - duplicat exception in expressionparser

2019-12-29 Thread Andi Friess
Hello, i have found out, if i make a report with more than one page and with aggregate variables, this variables are initialized more than once in procedure TFPCustomReport.InitializeAggregates(IsFirstPass : Boolean); and this raise and exception, because the variables are duplicates. The except

Re: [fpc-pascal] SqlDB TSQLQuery sqoAutoApplyUpdates does not work with ExecSQL

2022-12-15 Thread Andi Friess via fpc-pascal
Am 15.12.2022 um 14:59 schrieb Michael Van Canneyt via fpc-pascal: On Thu, 15 Dec 2022, Andreas Frieß via fpc-pascal wrote: Post operation. No, if you use a stored procedure on the MSSQL Server there can be changes on tables. Without the ApplyUpdates these changes are not persitent. If you

Re: [fpc-pascal] SqlDB TSQLQuery sqoAutoApplyUpdates does not work with ExecSQL

2022-12-16 Thread Andi Friess via fpc-pascal
Am 16.12.2022 um 08:50 schrieb Michael Van Canneyt via fpc-pascal: ApplyUpdates as you use it, is not the correct solution. Once more: ApplyUpdates ONLY makes sense after changing data and doing a Post. Any other use does not make any sense. Data is changed by the SP. But this is done in a simp