New topic: Problem with simple If Then....
<http://forums.realsoftware.com/viewtopic.php?t=37716> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message tseyfarth Post subject: Problem with simple If Then....Posted: Fri Feb 18, 2011 5:45 pm Joined: Sat Dec 04, 2010 9:14 pm Posts: 89 Hello all. Within a class, there is a property called RecordCount. The class has been instantiated within a forms property as Remotes. While executing the code within the method, called by the form, the from performs this simple If Then Code:if Remotes.RecordCount = 0 then Exit Function The problem is, the debugger says that the value of Remotes.RecordCount is two(2). However, the when this line is executed, the function is exited. Any ideas why? Tim Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- 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]
