A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Number of fields within a table



 
 
Thread Tools Display Modes
  #1  
Old September 6th, 2005, 04:09 PM
John Palm
external usenet poster
 
Posts: n/a
Default Number of fields within a table

Hi there,

Is there a way (function) to check the number of fields in a table by a query?

Thanks for any reply,
--
John
The Netherlands
  #2  
Old September 6th, 2005, 04:15 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default

Try:
dbEngine(0)(0).TableDefs("MyTable").Fields.Count

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"John Palm" wrote in message
...
Hi there,

Is there a way (function) to check the number of fields in a table by a
query?

Thanks for any reply,
--
John
The Netherlands



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help again from Ken Snell (Query) Randy Running & Setting Up Queries 22 August 29th, 2005 08:15 PM
Seeking some expert advice. HD87glide Using Forms 14 March 23rd, 2005 10:11 PM
Design help, please SillySally Using Forms 27 March 6th, 2005 04:11 AM
Automatic filling of fields in table two from table one Jim Kelly Database Design 1 September 27th, 2004 10:16 PM
Complicated Databse w/many relationships Søren Database Design 7 July 13th, 2004 05:41 AM


All times are GMT +1. The time now is 07:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.