Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: John McLellan
  Where is John McLellan?
 Birmingham
 United Kingdom
 John McLellan
 To: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 Tags
Subject: RE: display tables in database
Thread ID: 143153 Message ID: 143159 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Saturday, August 25, 2007 12:28:09 PM         
   


> > hi, how do i create a listbox to display the tables in a database. The same as the form which pops up when you add tables to a dataenvironment?
> >
> > TIA
> >
> > John
>
>
> OPEN DATABASE xxxxx
> ADBOBJECTS(laTables,[TABLE])
> LIST MEMO LIKE laTables
> 

> You could use that array ass a rowsource of the listbox.
>
> -----------------
> Borislav Borissov
>
> Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
> The only thing normal about database guys is their tables.



thats great :-)
thanks a lot

John

ENTIRE THREAD

display tables in database Posted by John McLellan @ 8/25/2007 11:58:44 AM
RE: display tables in database Posted by Borislav Borissov @ 8/25/2007 12:04:50 PM
RE: display tables in database Posted by John McLellan @ 8/25/2007 12:28:09 PM
RE: display tables in database Posted by Cetin Basoz @ 8/25/2007 12:05:37 PM
RE: display tables in database Posted by John McLellan @ 8/25/2007 12:32:37 PM