How to use fastreport component under sybase power

How to use fastreport component under sybase powerbuilder;
can you give me a example

Comments

  • edited 3:34AM
    Oleobject Ole_ftr
    int li_ret

    Ole_ftr=create OLEObject
    li_ret=Ole_ftr.connecttonewobject("FastReport.TfrxReport")
    if li_ret<0 then
    guo_msg.of_messagebox_ok( "can'nt connet..")
    if isvalid(ole_ftr) then destroy(ole_ftr)
    return
    end if

    Ole_ftr.LoadReportFromFile("c:\a.fr3")
    Ole_ftr.DesignReport()
    Ole_ftr.ShowReport()

    if isvalid(ole_ftr) then destroy(ole_ftr)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.