Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 16th, 2006, 12:31 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
Default Add fields to a query

Hi,
  I'm trying to create a query that gets the fields from a table. My problem is that there are only spots for 16 fields and my table has 24. Is there a way to add more than 16 fields to a query?

Thanks,
Dave

 
Old November 16th, 2006, 12:47 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Just keep clicking them to add them. I think the limit is 255.

How are you "adding" them?

Open the query designer, add a table, then double click each filed you want.



mmcdonal
 
Old November 16th, 2006, 12:56 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks mmcdonal,
  I guess I had a bit of a brain fart there. I ended up going into SQL view and adding them into the code. I'm pretty sure your way would be the thing to do though.

 
Old November 16th, 2006, 12:59 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Either way works. Its just quick and dirty to use the designer view and keep clicking till you get what you want. SQL Server is that same way. No Query Analyzer for me... most of the time.


mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Add a Dropdownlist to update fields on a page cesemj ASP.NET 2.0 Basics 1 October 4th, 2007 11:24 AM
How to add fields to an existing table using VBA donrafeal Access VBA 3 March 22nd, 2006 06:11 PM
add fields to a report dartcoach Access 2 March 9th, 2005 02:38 PM
replace fillin with ask fields & add references mariatherp Beginning VB 6 1 December 15th, 2004 06:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.