New topic: 

Commands out of sync

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        JohnV          Post subject: Commands out of syncPosted: Mon Feb 
25, 2013 5:26 pm                         
Joined: Sun Jan 28, 2007 2:38 pm
Posts: 177                I have a record set RS of Employees

PSEUDO CODE
while not rs.eof
  domylookup
  rs.movenext
wend


domylookup contains:

sql=SELECT * FROM Payroll WHERE ID_ofEmployee = 'rs.ID' AND (Type = 'Federal' 
OR Type = 'FICA');

The DB throws:  Commands out of sync; you can't run this command now

Is there any way around dumping the record set into an array and looping thru 
the array?   
                             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]

Reply via email to