Default Avatar

gordk

gordk

About

Username
gordk
Location
St.Catherines On. Canada.
Joined
Visits
0
Last Active
Roles
FR Team

Comments

  • instead of continually creating why not just put the memoview in the design and control its visibility and content and position
  • I prefer to add custom functions as a library of functions then they are available to all reports. see the developers manual on how to create custom functions.
  • you must also check if the width of the object from its left is greater than the page width. also you need to do it in every band and it will lead to a lot of code to process. You need to know which objects to check within each band or you will ha…
  • you can't open the project you can open the .frf files using fr4 and the conversion file and save in .fr3 format the application units must be changed to fr4 units etc. ie frdbdataset becomes frxdbdataset
  • there are many number to text functions in 3rd party libs for converting, it is not simple as many things have to be considered numeric system european, usa, language being used.
  • if you are creating the memo it is up to you to place it in the correct position within it's parent object. or design 2 different pages one for portrait and one for landscape and decide which to use at start of report, unless you like writing code …
  • you don't understand what you are trying to do. you use [] braces to display a variable or datafield value in a memoviews memo. which can contain static text and expressions. which in your case the + is being treated as static text and since you…
  • include the required frxdataengine components in your underlying delphi form. and read the user manual
  • assuming you have positioned to start of stream. frxReport.PreviewPages.LoadFromStream(Stream);// loads a prepared report // not needed report is already built frxReport.PrepareReport; frxReport.Print
  • you can set it either in the oi or by draging. unless you are working with an inherited report or designer restrictions set
  • when working from delphi measurements are in pixels so use a suitable constant. pay attention to value used depending upon design you may need to apply one of the frconstants fr01cm = 3.77953; fr1cm = 37.7953; fr01in = 9.6; fr1in = 96; be …
  • Not clear as to what you are trying to do.
  • look in the binaries newsgroup storingreports in a database by Den Zubov posted aug 10 2006
  • my prefrence would be to use a set of categorized variables and store the inputed values in the variables which then can be used for display within a memoview and their values, and can be acessed from any event of the tfrxreport component.
  • you could try using the oap event of the report component to read the tagstring. inside the report in the oad event of the memoview put the text in the tagstring
  • you are changing the design paramaters untill the data meets another statement that changes the color value it will stay on the new color. you can reset it to a basic value in an "else" portion or use the oap event of the object. you need multiple…
  • if the memo that displays NS is not being switched to red font color then your datafield is not returning "NS' since you have centered the text in the memo object it is possible that it may be returning something like ' NS' or 'NS ' that has leadi…
  • Gordon i am not sure if this will help or not try embedding the fonts. another approach is to use a program like scansoft's/nuance's pdf creator which installs as a printer driver and use it to print the report.
  • see the interactive report in the main demo. also note that what you are retreiving is the design contents of the memo you could have many occurences of a memoview depending upon band record counts.
  • read the delphi help files about changing printers. when an app is started it picks up on the default printer and this must be changed (this is what you are doing when you select from the fr preview printer dialog)
  • tfrxmemoview does not support tabs
  • gordon make sure that the reason field is returning an integer and use a case statement in the obp event to decide which color ie databand1____________________________ connected to ds1 with 2memoviews | memo1 | | memo2 |…
  • you can't use case statements with strings
  • no you changed your code from what you previously had. previous was [iif(blabla)] + [iif(blabla)] you now have [iif(blabla) + iif(blabla)] which is correct
  • if ='B' then alum1mAS1.Font.Color:=clRed else alum1mAS1.Font.Color:= clblack; this should work when used in the obp event of either the band or memoview. you will need an if statement for each possible value of the field alum1m."as1" note either …
  • first of all what is the user storing in the reason field an interger, string, or hexvalue. also be carefull when and where you use the value property of a memoview's memo value returns the value of the last variable or datafield processed in the …
  • if using in a memoview add the [] [( + )]
  • you won't you are reading answers in the wrong forum for fr4 this forum is for fr2 read your fr4 programmers manual and usermanual
  • with out more info it is hard to say but it probably is a typo where you are loading a report file you probably have used the .fd3 extension instead of .fr3
  • as long as a dataset has been made available to the report it's fields can be referenced record positioning will depend upon band being connected to the dataset or manual positiong by code. typical code of an obp event of a databand. if = 1…