Default Avatar

gordk

gordk

About

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

Comments

  • Godfrey if you run single the code in the report obp must have bar1.visible := True/false in appropriate places, When in the ide if you put a report into design mode by dblclck rep component and it is dependant on outside delphi code it will not …
  • hi godfrey reupload the file i replaced it this morning had uploaded wrong one you'll see some changes in the code and in the reports regards
  • hi The FR_CLASS.DCU in the source subdirectory is the same as the one in \FastReports\FastReport\C++Builder\bcb6 Both refer to 245 kb 2003-10-17 19:32 unless this is the date you compiled the library on i would expect it is the old one. regards
  • did you get rid of the old frclass.dcu and did you reset any paths for the environment or project to point to the new location. these are the usual problems. regards
  • hi probably have to reset the paper size in selected printer. and have you compiled fr with the defineprnreset define, in fr_printer.pas file uncommented. regards
  • Hi Godfrey If you look at the printfrom grid example you will notice there is no frdbdataset on the form and if you look at the reports you will notice that only 1 variable was added to the dictionary and the mdbands dataset was set to virtual 1 r…
  • Hi try this put fields you want on design page1 mdband put fields you want on design page2 mdpand set reportcomponent type prop to rtmultiple and its datasetproperty to the correct dataset. regards
  • hi godfrey ill upload another demo to fr yahoo group later tonight printlabelfromgrid.zip regards
  • here is a hint look at the 2crosstab report in frdir\demos\reports demo project apply a filter to your table or use a query to select records for the period to summarize and use a crosstab component. regards
  • Hi by nesting the procedure inside i can disconnect it easily and i don't have to dig out the band name. I handle single selections differently when dblclick in grid modify frdbdataset range props to rbcurrent and i set open and close dataset to …
  • Godfrey go to the files section of the fastreport group on Yahoo and download the flexlabel.zip demo it shows what you want. regards
  • Godfrey a couple of things to look out for with grouping, first grouping works best with a single query result set across several tables using joins and having an order by clause to sort the data according to the grouping condition(s) you intend to…
  • hi piglet if you are working inside the report in an obpevent of a band enclose hexvalue with apostrophe. memo4.fillcolor:='$F4F4F4'; if from outside in delphi var v:tfrview; begin frreport1.loadfromfile('path&filename.frf'); v:= frrepo…
  • hi use hex ie $F4F4F4 regards
  • Hi make sure the text objects are within the boundaries of the band they are on, also increase size of text objects to suit font used, and also check the aligment properties top, center, bottom, find on text toolbar. Also make sure bands arenot ov…
  • Hi make sure when you design report that the select when loaded option is not set to true. in designer menu file-report options. Also try using printpreparedreportdlg function ,this will bring up the printer dialog where you can select printer and…
  • Hi Designer is global only one per project allowed. regards
  • hi for dateedit control dateedit1.text will return the value in 2.51 and lower. regards
  • Hi Did you put your fr database engine components on the underlying form? regards
  • It actually isn't strange, when the objects top is outside the band's boundaries it becomes part of the page, it probably is there it is just hidden by the other memos on subsequent pages. What you will find is that some times an object will jump u…
  • Hi On dialog page select query, in object inspector go to params click to bring up params editor select desired param set type then choose value in editbox type dateedit1.date or dateedit1.text. can't remember which one. regards
  • Hi try this syntax sub your own values as needed. if [(FIELDISNULL('CustomerData.Customers."LastInvoiceDate"'))] then code to set what you want...... ; works fine for me in bde,ads. regards
  • hi yes you can create an array variable and an index variable write code in the obpevent of the masterdataband to do the swapping. ie somewhere before mdband set index to 0 title band obp event. I := 0; in obpevent of mdband add code begin inc…
  • Hi Make sure all text objects are contained within the band's boundaries. regards gord
  • Hi You must also write a handler for onprevious to decrement your index. regards
  • Hi There is also a good label demo in the files section of the Fastreport group on yahoo. http://groups.yahoo.com/group/fastreport regards
  • Hi all be carefull when deleting emf pages by index number, if you are manipulating pages in the final pass of a 2 pass report due to freespace requirements, you will not know the correct emfpage index value untill after you have previewed the repo…
  • Hi Manel look at the reports demo see the report keep group together in the obp event of the header you need to check [freespace] and if it is less than header height + childband height then call newpage. regards
  • Hi that won't solve your problem when a band's data source is set to virtual with a record count. all it realy does is control the number of times the band appears. regards
  • Hi Otzi yesy it is ......code to load report frreport1.preparereport; frreport1.printpreparedreportdlg; or frreport1.printpreparedreport(Pages:string,copies:integer, Collate:Boolean,frall); pages can be '', or '1' or '1,3,5' or '1..5' regar…