New topic: 

Refresh database

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        Stuart J Sykes          Post subject: Refresh databasePosted: 
Wed Nov 28, 2012 7:23 pm                         
Joined: Fri Oct 26, 2012 6:24 am
Posts: 20                How do I get a listbox to refresh its data contained 
in a RealBasic SQL database after a delete or an addition
Delete seems pretty straight forward as I can just use 
Listbox1.RemoveRow(Listbox1.ListIndex)
But this isn't refreshing the listbox via the database its just deleting the 
selected record from the listbox
Thanks in advance   
                             Top                Akiland          Post subject: 
Re: Refresh databasePosted: Thu Nov 29, 2012 12:51 am                           
      
Joined: Tue Jan 04, 2011 3:02 am
Posts: 1030
Location: Jönköping, Sweden                Query the database again and 
repopulate the Listbox     
_________________
 http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
REAL.Studio Web Edition 2011r3  
                             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