Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List of all open tables
Message
From
02/07/2008 11:56:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/07/2008 09:49:17
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01328226
Message ID:
01328257
Views:
6
>I need to lists of all open tables and cursors at different places in my code for debugging. There is no database, just free tables. How can I do that? I don't care if it's a text file or a table itself. Just want to see what is open at different times.
local ix,jx
for ix=1 to asessions(aDataSession)
  set datasession to aDataSession[m.ix]
  for jx=1 to aused(aInUse, aDataSession[m.ix])
    ? aInUse[m.jx,1], dbf(aInUse[m.jx,1])
  endfor
endfor
set datasession to
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform