473,473 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to activate command button or hyperlink in access reports

1 New Member
hi All!!!!!!!!!!
i m trying to place command button on reports in access but it doesnt show the onclick event to connect it with macro or procedure.
secondly,i tried to place hyperlink on report ,to show another report but it doent work.........
pls tell me if there is any solution to this problem
or any other way.........
it's urgent!!!!
thanx and regards,
Shalaka.
Feb 5 '08 #1
8 13004
mshmyob
904 Recognized Expert Contributor
Don't know. If it is showing the other events such as Double Click, Focus, etc. It should show the On Click event. Does it show all the other events when you select the button?

hi All!!!!!!!!!!
i m trying to place command button on reports in access but it doesnt show the onclick event to connect it with macro or procedure.
secondly,i tried to place hyperlink on report ,to show another report but it doent work.........
pls tell me if there is any solution to this problem
or any other way.........
it's urgent!!!!
thanx and regards,
Shalaka.
Feb 5 '08 #2
Minion
108 Recognized Expert New Member
Shalaka,

The reason that you cannot see the OnClick event is that reports are non-dynamic in that once they are generated the information is pretty much set. There is a limited amount of coding you can do to the report itself, but it is nearly all run at generation. I'm not sure exactly what you are trying to do here with the command button, perhaps if you were more specific with you requirements we could lend an hand.

As for the hyperlink issue. Again reports themselves are static once they are generated inside of Access. However, if you export them to say a word document then you're hyperlinks will work when clicked. But be mindful that if they are linking to other reports in the database that it will be necessary for the database to be open for them to be able to access these reports.

I have a feeling that none of this really accomplishes what you are looking for, or maybe it does. Either way let us know and if you need more please further outline what you are trying to accomplish.

Hope this helps.

- Minion -

hi All!!!!!!!!!!
i m trying to place command button on reports in access but it doesnt show the onclick event to connect it with macro or procedure.
secondly,i tried to place hyperlink on report ,to show another report but it doent work.........
pls tell me if there is any solution to this problem
or any other way.........
it's urgent!!!!
thanx and regards,
Shalaka.
Feb 5 '08 #3
mshmyob
904 Recognized Expert Contributor
You can put a command button in a report. I do it all the time for certain functions. But I have never seen it that all events are viewable but not the just the Onclick event.

I use it so a user can view the report on screen and then has 2 buttons - one to close the form and 1 to print. Obviously I open in Form view. You also need to set the property to only see the buttons on the screen and not during print or you will see the buttons when you print the report. of course in Form view you do not have all the print preview functionality but I set all that before hand.
Feb 5 '08 #4
jaxjagfan
254 Recognized Expert Contributor
You can layout a form to look like a report to some degree and keep all of the functionality of the form. Reports pretty much have no interaction after they are generated.
Feb 5 '08 #5
mshmyob
904 Recognized Expert Contributor
I meant to say create a report and open it in report view. My mistake (replace the word form with report)

You can layout a form to look like a report to some degree and keep all of the functionality of the form. Reports pretty much have no interaction after they are generated.
Feb 5 '08 #6
mayen001
4 New Member
Hi

CAme accross this discussion since I too am trying to put buttons on a report - one to print and one to close report/return to menu. I have absolutely no events showing under properties.

mshmyob - how are you achieving this, could you possibly provide a copy of your code?

Thanks
Mar 27 '08 #7
missinglinq
3,532 Recognized Expert Specialist
I see no mention here of Access versions. While you can place buttons on reports in any version of Access (at least from 2000-2007) they are only functional in version 2007! Don't really know why they even appear in the earlier versions; suspect it was just a case of someone being too lazy to remove them.

Welcome to TheScripts!

Linq ;0)>
Mar 27 '08 #8
mayen001
4 New Member
I see no mention here of Access versions. While you can place buttons on reports in any version of Access (at least from 2000-2007) they are only functional in version 2007! Don't really know why they even appear in the earlier versions; suspect it was just a case of someone being too lazy to remove them.

Welcome to TheScripts!

Linq ;0)>
Thanks - good to have this info. Any advice as to how I can ahieve what I am trying to do?
Mar 27 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: MLH | last post by:
How can I hit www.someplace.com from an Access form? I'd like to... 1) open user's default browser (if not already open) 2) type in a URL 3) press enter (or click Go - or - whatever it takes) ...
2
by: kaosyeti | last post by:
my primary form, formlauncher goes visible=false when i click any of 6 buttons on it that open other forms. one of those forms (only one) has docmd. maximize in it's open event. when any of these...
22
by: mforema | last post by:
Hey Everybody, I have an URGENT REQUEST (I need a reply within 24 hours, or I lose my job) I need help writing vba code for a command button. I want this button to locate a hyperlink in a table (the...
24
Dököll
by: Dököll | last post by:
Jumped for joy last night after learning, indeed, the command button wizard can be switched on or off. Well this occured here, with my Access 2000...an attempt to redo at work failed. Here's the...
9
by: larryimic | last post by:
I have created a Access production database that records good parts and bad parts to a table thru querys using macros and command buttons on a form. A report (part label) is printed each time a...
3
by: KrazyKasper | last post by:
I created two Command buttons in a form, one to preview the entire report and one to "cancel" or exit the form. They both work. I'm trying to create a third Command button to select/filter data from...
5
by: homayountabrizi | last post by:
What should I add to event procedure to activate FIND command Button in Access 2000. I created a Find (command Button) on a created Form but I can't activate it.
14
by: alnino | last post by:
Hi, I have a command button on a form that the user can use to browse to a file and the user can select that file and a hyperlink to that file is stored in a txtfield for that record. I then...
3
by: cambar | last post by:
I created a simple macro to open a form with several command buttons on the form. On one of these buttons I want to require a password for access. I am not a programmer. What do I need to do to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.