rbuser
Comments
-
Some further info on this.
The dialog is not displayed at all. I am on Windows 7.
if I change the following in function TppTemplate.ShowFileSaveDialog:
lSaveDlg.Options:= [ofOverWritePrompt, ofPathMustExist, fHideRea… -
On 09/02/2017 05:52, Ian Branch wrote:
Our app has rich end user reporting interface, including a report setup
that allows for specifying a primary search criterion. When the report
is run we check for this and then any form t… -
Nard,
Thanks. It was the LoadFrom/SaveTo File OnClick events that I had to
change:
lDesignerMenu.FileMenu.LoadFromFile.OnClick:=LoadFromFile;
lDesignerMenu.FileMenu.SaveToFile.OnClick:=SaveToFile;
Reg… -
Hi Nard,
I can't seem to get this to work.
I have put my code in the TppDesigner.OnCustomOpenDoc event but this is
not being called when I click on File>Load from File in the designers
menu. It is still calling Tpp… -
Thanks Nard,
The 2nd approach seems exactly what I am looking for.
Thanks,
Ken
-
Hi Nico,
Thank you for your reply.
Ah Ha! Done & Dusted.
Thank you very much.
Regards,
Ian
-
Hi Nico,
You were 100% correct. I had totally forgotten about being able to access the Events.
Sure enough, under ReportOnStartPage was:
{code}
procedure ReportOnStartPage;
begin
Report.GetAutoSearchDescr… -
From the .dfm file..
object raCodeModule1: TraCodeModule
object raProgramInfo1: TraProgramInfo
raClassName = 'TraEventHandler'
raProgram.ProgramName = 'ReportOnStartPage'
raProgram.ProgramType =… -
Gets deeper. I deleted the Memo and now I get a 'Could not compile program: ReportOnStartPage.'.
This suggests to me thatthere is something happening in the background I know not where.
-
Hi Nico,
Interesting. After I opened and closed the Page Style the memo is showing the 'after' text. Weird.
OK, so I have what I need showing. I am passing the search dates from the App as 'dd/mm/yyyy,dd/mm/yyyy'. Working… -
I found that if I select Report|Page Style I can see the Preview text in the memo.
-
Hi Nico,
Thank you for the reply.
Perhaps I wasn't clear enough.
I am referring to the text in the memo changing from the first in Design to the second in Preview.
This is while in the Report Builder.
Regards,
IanPerhaps this?
[code}
ppR1.Parameters.Items['StartDate'].AsString := '01/01/2006';
ppR1.Parameters.Items['EndDate'].AsString := '01/04/2016';
ppR1.Print;
{code}
The compiler likes it anyw…Hi Nico,
Parameters are not something I have ever played with.
I have added the Parameters to the Report and the SQL although I am unsure what goes into each of the Parameter
properties under User Interface.
…OK. Gotta get new glasses. Found it.
All working as desired now.
Thank you very much for your support & guidance.
Regards,
Ian
Got it working from the Application OK.
How/where do I set some values in the designer for the Parameters so I can test during the design phase in RB?
Hi Nice,
Thank you for your reply.
I will have a look at the reference and have a go.
Will advise.
Regards,
Ian
Hi Bernd,
Sorry, been dealing with a sick Wife.
As Nard showed.
Regards,
Ian
Ian Branch wrote:
Do you mind posting your solution?
brgds Bernd
--
Whup! Disregard. Found it by accident.
All good now.
Regards & Tks,
Ian
Hi Nico,
Ah Ha! I knew the capability was in there somewhere. ;-)
Thank you. All sorted.
Regards,
Ian
Nico Cizik (Digital Metaphors) wrote:
Hi Nico,
Yeah. I think that is where my configuration falls down.
ATT as the App suite uses bith the Standalone & embeded reporting functionality, all the reports are cont…Nevermind. Some fields were missing. After I synchronized then
generated the fields in the dictionary, it started working as normal.
--
Ah Ha! I find it. Didn't enable 'enabled' in the actual Report Properties.
All good now.
Regards,
Ian
Hmmm. If I right-click on the report in Explorer I get a sub-menu with an eMail option that works.
I also have Enabled checked in EmailSettings in ppReport but still no email button in Preview.
Nico Cizik (Digital Metaphors) wrote:
Hi Nico,
Thanks for getting back to me. Unfortunately vtSearchDesc doesn't have
the output I was hoping for - I need access to each individual search
criteria and a ha…Hi Nard,
Excellent thank you. I got myself all confused with GroupStart, GroupEnd, etc.
Regards & Tks Again,
Ian
Scratch that, it is SQL Server 2008 using ADO
SQL Server 2008 and ASTA(!!)