home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,688 of 9,834   
   Kenneth to jmose@mapson.triptracker.com   
   Re: Report print problem...?   
   06 Apr 09 17:51:17   
   
   From: usenet@soleSPAMLESSassociates.com   
      
   On 6 Apr 2009 17:03:39 -0400, "Jim Moseley"   
    wrote:   
      
   >   
   >Kenneth,   
   >   
   >You need to test the result of the Save().   
   >   
   >But, really, why are you saving the report?  Since you used Load(), you can   
   >adjust it however you want, then directly Run() it.   
   >   
   >Also, if this is a multi-user application, you might be overwriting each   
   >other's report.   
   >   
   >Here's my suggested fix:   
   >   
   >;r.save()    ; <- do not need   
   >;if not r.close() then; ; <- do not need   
   >;	errorShow() ; <- do not need   
   >;return   ; <- do not need   
   >;endIf   ; <- do not need   
   >   
   >if not r.run() then    ; <- add   
   >   errorShow()         ; <- add   
   >   return              ; <- add   
   >endif                  ; <- add   
   >   
   >if not r.print(":MONEY:Invoice") then   
   >	errorShow()   
   >	return   
   >endIf   
   >   
   >   
   >HTH,   
   >Jim Moseley   
      
   Hi Jim,   
      
   This particular thing is strictly single user...   
      
   That said, I thank you for your suggestions, but can't give   
   'em as try before tomorrow.   
      
   I'll let you know,   
   --   
   Kenneth   
      
   If you email... Please remove the "SPAMLESS."   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca