AFAIK, the only way to retrieve the information you are looking for is with 
VB(A). I can think of some really strange ways to do this with SQLish 
methods, like:

o create a spreadsheet that has a VBA Macro linked to a particular Cell
o use UPDATE SQL to treat the spreadsheet as a database (yes, this works, 
within bounds)
    updating a particular cell with a database name/path. This would 
trigger the VB Macro to run
    which would then populate the spreadsheet with the tables  and and 
other information ( field names)
o use a SQL Select to retrieve the data from the spreadsheet.

I know, Bizarre, but workable.

Steve
p.s. In this mode of use, SQL access to microsoft Office products must be 
single threaded. VBA/Excel is not thread safe. Trust me on that one...

At 02:14 PM 2/8/2005, William Kossack wrote:
>I think I've got sql server figured out but access is
>problematic.
>
>the only solutions I can find for access are in VB
>
>when I do a google search for system tables google
>finds anything but access
>
>any help on this would be appreciated
>
>I've done several searches
>
>--- Cameron Childress <[EMAIL PROTECTED]> wrote:
>
> > For SQL Server, you're going to want to look into
> > sysobjects.  Access
> > is similar, but I can't remember exactly the table
> > names.  Google for
> > "system tables" and you should get what you need.
> >
> > -Cameron
> >
> >
> > On Mon, 7 Feb 2005 15:28:16 -0800 (PST), William
> > Kossack
> > <[EMAIL PROTECTED]> wrote:
> > > we are moving to sql server but some databases are
> > > still in access
> > >
> > > --- Cameron Childress <[EMAIL PROTECTED]> wrote:
> > >
> > > > Depending on the database platform, you should
> > be
> > > > able to query the
> > > > system tables to get this information.  What
> > > > platform are you on?
> > > >
> > > > -Cameron
> > > >
> > > > On Mon, 07 Feb 2005 16:58:18 -0400, william
> > kossack
> > > > <[EMAIL PROTECTED]> wrote:
> > > > > I'm using CF5
> > > > >
> > > > > I need to be able to query a database table
> > and
> > > > return the data types.
> > > > >
> > > > > I'm currently using queryname.columnlist to
> > get a
> > > > list of the field names but I can't seem to get
> > the
> > > > data types
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:6:2116
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/6
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:6
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to