?
Solved

Access 2007 - Reports - On action property

Posted on 2011-03-21
9
Medium Priority
?
275 Views
Last Modified: 2012-05-11
My OS is windows 7 and I am designing a Report.  I have tried to look for the "On Action", but I cannot seem to find it.  I have selected the Report in the property section and in all the tabs I cannot see it. The report is just a simple address block. thank u.
0
Comment
Question by:jegajothy
[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
  • 3
  • 2
  • +1
9 Comments
 
LVL 33

Expert Comment

by:jppinto
ID: 35185152
The Reports don't have an On Action event!
0
 
LVL 75
ID: 35185160
There is no On Action property ... what are you trying to do ?

mx
0
 

Author Comment

by:jegajothy
ID: 35185196
In response to DatabaseMX and jppinto, I am trying to reference a Function.  U would have to see my previous posts on Access.  Sorry for this, I will try a Form and see. thank u
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 75
ID: 35185274
No On Action for a Form there.  Are you thinking of custom Menu items ?

Capture1.gif
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35185577
<U would have to see my previous posts on Access>
It would be nice if you provided a link...
;-)

<I am trying to reference a Function. >
Reference a function how, where?

Again, can you please take a step back and provide a clear detailed explanation of exactly what it is you are trying to accomplish here? (and provide some info on this "mysterious" function)
;-)


You can reference a function from anywhere in your app if it is in a code Module.
The you can "Call" it like so, using VBA:
Call YourFunction(YourArguments)

Or reference it in a textbox by setting the controlsource as:
=YourFunction(YourArguments)

JeffCoachman
0
 

Author Comment

by:jegajothy
ID: 35185836
I am trying to implement Peter Bates sample db of how to rotate the text.  And I am up against the wall due to my novice standard.
0
 
LVL 75
ID: 35185850
You mean Peter deBates ... PetersSoftware ?

Which app ?

mx
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 2000 total points
ID: 35186029
Joe, I did some digging, actually it is Stephen Leban's code from here:
http://www.mvps.org/access/api/api0050.htm

OnAction seems to be a custom property of the control
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 2000 total points
ID: 35186069
jegajothy,

Did you download the sample file?

There are explicit instructions in the link that explain how this works...
The sample file also contains a "ReadMe" form.

Without any context (any details on what you have already), it is difficult to say why this is not working for you.

Again, instead of just saying "I'm trying to reference a Function"
... can you please take a step back and provide a clear detailed explanation of exactly what it is that you have already.

Possibly providing a sample 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

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

801 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