I have a bunch of Crystal Reports that I now have on a request Form. When i check it , it will run the report.
Anyway, just thinking about cleaning it up a bit so I was thinking about
Menu Buttons and adding the report names as the menu items.
An easy solution was if I could add a hyperlink code to the menu item but it appears I cannot. I can do a RunSystem and make the run command the report name & location But Now it wan't me to figure out all the proper '~1' squiggy's that come running system commands.
c:\docume~1\Crysta~1\ etc etc etc
Anybody know any other workaround to adding a hyperlink to a menu item?
0
Answers
What I did was create a phoney report call it "Crystal Reports" #50000
Lets say I have a "new item" report I made in crystal.
I go to designer of report 50000, View->Globals, no dataitem
Add 1 Variable type Boolean
B_NewItemReport
then go into functions and add 1 function for this report
F_NewItemReport (I name them the same other than the B&F so it's easier to find when you have 100's of reports)
OnPreReport I Add
Then scroll down to the function F_NewItemReport and add a HYPERLINK to the report of the location of the save report.
Then View The requests Form of the report (Make It BIG, Screen Size)
Click the toolbox & Drop On A CheckBox & Label.
The Label you make the name of the report "New Item Report"
On the SourceExp of the Checkbox you put the boolean for that report B_NewItemReport
Save the report. Now when you run it the request form appears . you check off that report click OK and the report will open, Just repeat the steps to keep adding reports.
Here's an old look at it from years ago. I have added many more since then.
http://www.geocities.com/navision_attai ... eports.pdf
It would be great to create a Mneu Button "Accounts Payable" for example then enter all the payable report in the menu item for that and have it hyperlink to the correct file..that's why I throwing it out there to see if anyone knew of a way.
http://www.BiloBeauty.com
http://www.autismspeaks.org
It's too bad you can't add code to menusuite items, so the trick is to figure out a generic way to open something from any area of the app.
RIS Plus, LLC
I'll play around with the stored path table!
http://www.BiloBeauty.com
http://www.autismspeaks.org
I added some fields
Catagory-option
frequency-option
name-code 100
path=text 250
open=boolean
key on catagory&name
filled in the info
created a form Crystal Reports List which show all the table info.
on the Openfield of the form I added
OnPush()
Now I click a report & It opens - nice easy clean
see here:
http://savatage99.googlepages.com/Cryst ... anksDe.doc
should be thanks denster but i guess the name was too long
So in conclusion - it would be great if you could hyperlink from a menu item but no dice!
An easy table with a list type form can accomplish a similar goal
Actually it can used for any outside Nav file you need to access. from Word docs, excel files, pictures, etc. maybe adding one more option field for that!
Word, Excel, Crystal, Photo, PDF etc. to help organize & filter with
http://www.BiloBeauty.com
http://www.autismspeaks.org
Variable=CommonDlgMgt=type codeunit #412
add to the On AssistEdit of the Path Field on the FORM!
Path := CommonDlgMgt.OpenFile( FIELDCAPTION( Path), Path, 4, '*.*', 0);
I also threw in another field call "last run date"
that updates to the workdate onpush of the "open" field.
it's pretty cool now!
http://www.BiloBeauty.com
http://www.autismspeaks.org
RIS Plus, LLC
http://savatage99.googlepages.com/Repor ... eplace.pdf
http://www.BiloBeauty.com
http://www.autismspeaks.org
RIS Plus, LLC
http://www.mibuso.com/forum/viewtopic.php?t=23783
http://www.BiloBeauty.com
http://www.autismspeaks.org
And when i trying your solution in ver5, it doesnt work. can u suggest what another solution for me?
Thanks in advance.
Please specify. I see the solution should work as long as Hyperlink is supported by Nav.
Old Way:
http://www.geocities.com/navision_attai ... eports.pdf
New Way:
http://savatage99.googlepages.com/Cryst ... anksDe.doc
New way allows for unlimited reports and add new ones with just a few clicks
http://www.BiloBeauty.com
http://www.autismspeaks.org
Thanks for your information.
i have retry again to use ur solution for the new version.
Overall its OK for opening another file except Crystal Report File.
It shows errors
"C/SIDE hyperlinking failed."
"You tried to hyperlink to this target:"
"C:\Documents and Settings\ABC\My Documents\Report1.rpt"
"Do you want to place the hyperlink target on the clipboard?"
When i tried to choose eiter Yes or No, it doesnt shows anything.
But when i tried to open the path with another file, so called PDF file, its work.
Can u give me an advise?
Thanks in advance.
The copy to clipboard message simply allows you to open explorer and paste into the address bar.
http://www.BiloBeauty.com
http://www.autismspeaks.org
Regards
_______________________
yahoo keyword tool ~ overture ~ traffic estimator ~ adwords traffic estimator