?
Solved

Access2010 Report Wizard Date Grouping

Posted on 2011-04-26
4
Medium Priority
?
431 Views
Last Modified: 2013-11-28

.mdb file on NAS.  Access 2000/2010 mixed multiuser
The best i can tell, VBA format (date) procedure is not working.  To keep things simple, i run the query or report wizard and group/summarize on a date field.
If i start a new table with dates, it works.  On my existing tables (which are commonly filled with the now() function), it doesn't.
Errors: "...table is in exclusive mode..."  and " ..invalid procedure call.."
0
Comment
Question by:boardtester
  • 2
  • 2
4 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35472433
There are a lot of mysteries here...:

1. <VBA format (date) procedure>
What "(date) procedure" are you referring to?
In Access there is a Date *Function*...: Date()
...Is this what you mean?
Are you saying that if to do this: =Date()
...nothing happens?

2. <VBA format (date) procedure is not working>
Can you clearly define what you mean by "Not Working" please?

3. Please remember that the NOW() function includes a Time component, ...this may be a factor in your mysterious "Not working" issue.

4. <i run the query or report wizard and group/summarize on a date field.>
Can I ask what you are summarizing, and on what field?

As you can see, it would probably be best if you posted a sample of this DB.
Sample database notes:
1. Back up your database(s).
2. Combine the front and back ends into one database file.
3. Remove any startup options, unless they are relevant to the issue.
4. Remove any records unless they are relevant to the issue.
5. Delete any objects that do not relate directly to the issue.
6. Remove any references to any "linked" files (files outside of the database, Images, OLE Files, ...etc)
7. Remove any references to any third party Active-x Controls (unless they are relevant to the issue)
8. Remove, obfuscate, encrypt, or otherwise disguise, any sensitive data.
9. Compile the code. (From the database window, click: Debug-->Compile)
10. Run the compact/Repair utility.
11. Remove any Passwords and/or security.
12. Post explicit steps to replicate the issue.
13. Test the database before posting.

In other words, ...post a database that we can easily open and immediately see the issue, and if applicable, also include a Graphical representation of the Exact results you are expecting.

JeffCoachman



0
 

Accepted Solution

by:
boardtester earned 0 total points
ID: 35480588
Understood.  I was hoping that the "...table is in exclusive mode..."  and " ..invalid procedure call.." was a signature that someone would recognize.

By procedure I mean that the wizard uses the Format function and then it gives different error messages than when the query is run alone.

The query alone started giving "reserved error -1524", which led me to check for data corruption.  Found the bad records, deleted, all is well.  Thanks.

Chris
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35488204
ok
0
 

Author Closing Comment

by:boardtester
ID: 35503472
poorly asked question becasue i underestimated the rarity of the problem
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

807 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