New topic: 

RB Database example r5

<http://forums.realsoftware.com/viewtopic.php?t=31385>

       Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic         Author  
Message       flyingmd           Post subject: RB Database example r5Posted: 
Wed Dec 02, 2009 5:41 pm                        
Joined: Thu Oct 22, 2009 5:53 am
Posts: 20              Obviously there are issues with the database and r5. I 
can not get the example database to compile out of the box. This is the 
offending line of code:

Code:if rpt.Document <> Nil Then ReportViewer1.SetDocument( rpt.Document ) from 
this section of code

Code:If rpt.Run( rsq, ps ) Then
  If rpt.Document <> Nil Then ReportViewer1.SetDocument( rpt.Document )
End If


and this is the error I am getting:

Code:Code, SampleReports.PushButton1.Action, line 28, Parameters are not 
compatible with this function, If rpt.Document <> Nil Then 
ReportViewer1.SetDocument( rpt.Document )

Im using a MB pro 10.5.8 and 2009r5. Had no such issues with r4 release. I have 
enough trouble trying to learn this stuff as it is. But if the examples wont 
work..... I have searched the forums and have not seen this error yet posted. 
Can anyone direct me in how to fix this so it compiles? I suspect that even if 
I get it to compile there are a bunch of other issues with r5 and the database.

Thanks in advance.   
                            Top                timhare           Post subject: 
Re: RB Database example r5Posted: Wed Dec 02, 2009 5:45 pm                      
  
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 6867
Location: Portland, OR  USA              There are some known issues with 
REALSQLDatabase in r5.  RS has announced a fix to be released mid-month.   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to