I want to get the number of records in each of the tables in a database.
When I open the .dbc file as a table I can scan for ObjectType = 'Table'
and get the names but when I try to do a "select cnt(*) from (objectname)
into  array Cnt" I get the message that "The database for table ... could
not be opened. Would you like to try to locate the owning database or
delete the link (and free the table)?

Apparently if the DBC is open as a table it cannot be opened as a database
and the system will not let a file linked to a database be opened if the
database cannot be opened as well.

There are a number of workarounds that I can think of but I'm wondering -
Is there is a way to scan through the files in a database while the DBC is
open as a database?

Thanks in advance,

Joe


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cabqednwzwwagnmdtn+skcjdhb9ejavuupvqua-y8vxy-fob...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to