On Sunday 31 August 2008 12:47:19 pm Bob Mathias - Sysero llc Business Group 
wrote:
> Dear Paul,
>
>    I ran the report designer and should have taken my time by looking
> more carefully at the designer.  Sorry for my mistake. The show I put on
> today was a great success about your designer system. My partner is sold
> the idea about dabo.
>
>    On the question about calling a java program.  I have all ready
> design using jasper report and I would like to make a system call to run
> java jasper report and then return back to my dabo program.  Can this be
> done?
>
> Thank you
>       Bob Mathias

Here is a sample of something I cooked up to call Kbarcode from Dabo. When I 
click on the button it runs Kbarcode with the appropriate paramaters and 
returns when it is done.

class PrintTag(dabo.ui.dButton):
        def afterInit(self):
                self.Caption = "Print Tag"
                self.FontBold = True
        def onHit(self,evt):
                self.Form.collectValues()
kb=('kbarcode','--batch','/home/aklaver/dabo_app/lfnw/lfnw_name_tag_rev.kbarcode'\
,'--importcsv','nameTag.csv')
                p_id=os.spawnvp(os.P_NOWAIT,'kbarcode',kb)



-- 
Adrian Klaver
[EMAIL PROTECTED]


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to