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 September 1st, 2003, 08:16 AM
Authorized User
 
Join Date: Aug 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access VBA help

I have a question about SQL in access:
How come a simple query like:

SELECT creation_date FROM sapdadb_tunit group BY creation_date

will not work in Access, even though it works just fine on SQL Navigator?

Thanks.
 
Old September 1st, 2003, 08:28 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 839
Thanks: 0
Thanked 1 Time in 1 Post
Default

What do you mean when you say the query "...will not work in Access"?

I tried a similar query (since I don't have your database) on the sample Northwind database, e.g.
Code:
SELECT OrderDate FROM Orders GROUP BY OrderDate
and it gives me the result I would expect...

Jeff Mason
Custom Apps, Inc.
www.custom-apps.com
 
Old September 1st, 2003, 08:38 AM
Authorized User
 
Join Date: Aug 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can't explain it man. It just won´t give me the results I am looking for. I don't even get an understandable error message. Do you have any idea why that could be happening?

 
Old September 1st, 2003, 09:46 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 839
Thanks: 0
Thanked 1 Time in 1 Post
Default

What results are you looking for? What results do you get? What does the error message say? What is your table design? What does the data in it look like? Perhaps if you were a bit more specific, we could help - it's tough to diagnose your problem when we don't have any information to work with...

Jeff Mason
Custom Apps, Inc.
www.custom-apps.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Code works in Excel VBA but not Access VBA fossx Access VBA 2 May 21st, 2007 08:00 AM
Access VBA Teqlump Access 2 September 10th, 2004 02:33 PM
Access vba rookieat this Access VBA 6 February 7th, 2004 03:01 PM
please help! VBA in Access LittleCity Access VBA 3 December 3rd, 2003 08:53 PM
Access XP VBA compatibility issues w/ Access 2000 bourgeois02 Access VBA 1 August 19th, 2003 04:14 PM





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