Solved

Count the Number of Columns in Table?

Posted on 2006-10-19
2
1,630 Views
Last Modified: 2010-05-19
Is there a way using Access VBA to count the number of columns in a table?
0
Comment
Question by:jrram
2 Comments
 
LVL 39

Accepted Solution

by:
stevbe earned 100 total points
ID: 17768354
CurrentDb.TableDefs("MyTable").Fields.Count

Steve
0
 
LVL 13

Author Comment

by:jrram
ID: 17768400
Thank Ya.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question