Solved

create report in accde. through code

Posted on 2008-10-13
3
670 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
3 Comments
 
LVL 119

Assisted Solution

by:Rey Obrero
Rey Obrero 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 84

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now