Solved

create report in accde. through code

Posted on 2008-10-13
3
683 Views
Last Modified: 2013-11-29
Hi experts,

i'm creating an access 2007 program which I intend to distribute as a single user interface program to about 50 users (no network involved, other then import/export from a main computer which will sync. the data).

I want to distribute the program in ACCDE. format (mainly to protect the code and to prevent from going into "design mode"); In addition, I want to let the user create a customized report from a query that he will build in the program (through the user-interface that I built).  

So I was thinking of building my own user-interface, through which the user will enter all the properties of a report (insted of the user doing it from "design mode", which is not accessible in a ACCDE. format). Can this be done? will it work with no problums (assuming the code is correct, of course)? I read on microsoft's website that the ACCDE. file format does not allow the user to create a report. Does this mean that you can't create the report also if it was created through VBA compiled code?

Also, if this isn't possible, what is the alternative (if there are any)?

Thank you.
0
Comment
Question by:dan259
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 120

Assisted Solution

by:Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1) earned 200 total points
ID: 22702234
if you want your users to create reports, give them an .accdb format of the application..
in .accde, .mde  the only thing that you can set values are the parameters that you can use as filters for the record source of your reports
0
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 300 total points
ID: 22705501
You could also distribute your accde file along with another accdb file that would only be used to build reports. I've done this in the past, and while it's a bit more work it works out pretty well. Basically, you just link the same tables in the accdb as you do in the accde, then when the user selects to "Build a Report" you would simply launch a new session of Access with that database
0
 

Author Closing Comment

by:dan259
ID: 31505560
thanks, it cleared that issue for me   :-)
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

728 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