Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
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 March 30th, 2005, 06:29 PM
Registered User
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calling a stored make table query from VBA

Hi,

I have a make table query that joins two other queries and puts the resulting data into a new table. I'm calling the make table query using the DoCmd.OpenQuery syntax. However, when I look at the data in the table, it looks like it's running only one of the two queries and populating the table with only the information from the one query. It doesn't seem to be doing the join.

When I run the query from Access, it creates the table and works fine, but when I call it from VBA it's not working. I must be doing something wrong, just not sure what.

Thanks for any help you can provide.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Make a linked table in VBA Admiral_Hook Access 13 November 22nd, 2012 02:15 AM
Make Table Query CongoGrey Access 2 June 1st, 2007 06:22 AM
Can a Make Table Query produce a Linked table? kronik Access 5 May 16th, 2006 06:17 AM
Make Table query : table in Another Database marnik Access 1 March 19th, 2005 12:39 PM
Error on Make-Table Query In Union Query rylemer Access 1 August 20th, 2003 07:42 PM





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