If you are using MX, you could do something like this:

<cfquery name="getRecs" datasource="cfbookclub">
SELECT TOP 1 * FROM Authors
</cfquery>

<cfset querymeta=getMetaData(getRecs)>

<cfdump var="#querymeta#">

This will give you an array of structures that contain all of the field
names, case sensitivity and field type. 

> -----Original Message-----
> From: Steve Bryant [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 24, 2005 10:40 AM
> To: CF-Talk
> Subject: Get fields in an Access table
> 
> Does anyone know a way to get the all fields (and datatypes) 
> from a table in MS Access using ColdFusion?
> 
> Thanks!
> 
> Steve Bryant
> Bryant Web Consulting LLC
> http://www.BryantWebConsulting.com/
> http://steve.coldfusionjournal.com/
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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

Reply via email to