Default Avatar

basswar

basswar

About

Username
basswar
Joined
Visits
1
Last Active
Roles
Members

Comments

  • Hi! Did you set the TFRReport's Preview property to the appropriate TFRPreview component? If so, it wouldn't show its primary preview window in a new window. Regards:Alex
  • Hi! There are at least 2 ways to achieve what You want: 1., write this code to the text section of the memo object : [IF(ReportPilotiQuery."NA"=1,ReportPilotiQuery."NA",LINE#)] or 2., write the following code to the code section of the mem…
  • You can use TFRPictureView.Picture's LoadFromFile, LoadFromStream methods if the stream is a memory bitmap. If You load the graphic data from any other image format not directly supported by the VCL, You must assign the loaded data to a TBitmap inst…
  • Then why do you use separate memos? However this kind of automatic horizontal movement is not supported, only via script. But if you don't need different font formatting for the 3 data you can place them togeteher in one memo and they will be besi…
  • Unfortunately the link was modified (don't know why) and here is the correct link: http://f4.grp.yahoofs.com/v1/UClkQMgqVhI1q...ow/fruserds.ace Alex
  • Hi! I uploaded the demo project that will show You the usage of userdataset component. I'm not sure that is the recommended usage, but this demo works fine and the things came from my mind since I haven't seen any FR related demo showing the usag…
  • I will load up a complete example to the file section of Yahoo Groups and will post the link here. Regards:Alex
  • Hi! Yes it is possible. The TfrUserDataSet component is built especially for this kind of situations. The following is a quote from the fr_eng.doc. Read it carefully. TfrUserDataSet component This component is also used to navigate a da…
  • Hi! Don't provide your email, I uploaded the frf to the Yahoo groups file section. The link is: http://f3.grp.yahoofs.com/v1/AEBhQN8MsplOm...c4PQ/only20.frf Regards:Alex
  • The first is the db-level solution. Many db-engine has a syntax to fetch x rows from the opened cursor and to skip some. See the example above from Oracle. FireBird also has this capability with SELECT FIRST X SKIP Y FROM .... The report-level so…
  • Dou You mean that You wanna sum the 3 columns in the last column and sum all the numeric fields in the report summary (or anywhere)? You can simply put an expression in the memo representing the row_total. [Value_1+Value_2+Value_3] put this code in …
    in Sum Comment by basswar March 2004
  • Hi! Maybe You shouldn't add the .VString word to the end of the variable reference. I tried this code (in Delphi) and it seems that the VString is only applicable when the variant is an automation object. Regards:Alex
  • If the PDF printer driver is good to You then there is a free one called PDF995, that works perfectly, has a small footprint and handles postscript data. It can be downloaded from www.pdf995.com Regards:Alex
  • Hi David! Does it mean 'Invalid variant type conversion'? Well the basic problem is the standard DbLookupCombobox doesn't have a simple meaningless default value and also doesn't have the ability to synchronize itself with the underlying dataset.…
  • Hi Stephen! I've already finished my work and my TFRPictureView based component is ready for use. It can do all of the above with advanced editor (effects, etc) and correct rendering when setting stretched to false (ie. correct clipping at bounda…
  • Hi! See my reply in the Yahoo groups FR list. I suppose it was your thread I replied. If not drop here a post. Regards:Alex
  • Hi! I always use the internal pascal interpreter to initialize or reset variables. Every kind of band has the OnBeforePrint event that is useful for operations like this. Regards:Alex
  • Make sure that a valid printer is selected (not the virtual) in the report options dialog or else this error will be shown when trying to print without print dialog. Or select the printer via code at runtime by calling the ChangePrinter method. R…
  • Hey Milo! What version do You use? I use an older version (2.42) and everything is OK. I created the OLE object from file and when I closed the dialog the whole document appeared in the rectangle object with the formatting applied to it. Maybe th…
  • Hi! If You use more than one logical expressions in your conditional statements and there is a NOT operator then place () around the member containing the NOT operator. In your case: IF xxx AND (NOT yyy ) This caused "List index out of bou…
  • Hi! Maybe your database's and FR's rounding methods are different. The proved technique for me is retrieving the numeric fields from the database in the desired precision. For example I retrieve currency fields from FireBird with NUMERIC(12,2) fo…
  • One more note. You can include any unit in the uses clause of FR_GEdit.pas that contains class definitions implementing TGraphic based classes. This way You can extend FR to load ANY image format supported by the included classes. Regards:Alex
  • The problem solved. Only one change to the FR source has left. Open the FR_Class.pas file and locate the TfrPictureView.ShowEditor procedure. Modify it like the following: procedure TfrPictureView.ShowEditor; Var Bm:TBitmap; begin frPictureEdi…
  • Sorry for the previous post, it works only in the designer yet, I didn't preview using the above method and when previewing the image is not displayed, only in designtime. Must look into the source. Regards:Alex
  • Hi! If You need the picture to be loaded in designtime do the following: Open the following files from \FR_directory\source\ : - FR_GEdit.pas - FR.INC The followings suppose You have the GraphicEx library freely available from www.lischke…
  • If I right, the only restriction in the demo version is printing only one page. Try the free PDF995 PDF printer driver (www.pdf995.com) that works wonderfully with FR (just like with any other software). I use it and it is great. Regards:Alex
    in Adobe PDF Comment by basswar March 2004
  • What does this mean? Sorry, I don't know what do you want. Please tell it in details. Regards:Alex
  • Place the a code similar to the following in the MasterData band's OBP event handler: If CurY=Round(PageHeight/2)-Round(DesiredBlankSpace/2) then Begin CurY:=CurY+DesiredBlankSpace; End; Positioning may be different if You don't want the bl…
  • See the documentation included. Almost every TFRView descendant has positioning properties like LEFT, TOP, BANDALIGN. With use of these properties You can do almost everything. You can set them from FR script on report level or from application leve…
  • Hi Monty! Just uncomment the following line in the FR.INC file (located in the \source\directory): //{$DEFINE IBO}, after this You must recompile the FR package. This will enable FR to use the native IBO data access dialog controls. Rega…