Hi Exper , I want to use the button to open file excel .
mootoon
Member Posts: 47
I want to open file excel using button.
AAA
0
Comments
-
0
-
What is it exactly you want to do? Populate an excelsheet with NAV data or open an existing excelfile from NAV?0
-
I want to open an exiting excelfile from navision.AAA0
-
Is it always the SAME file or do want to choose?
please give as much detail as possible - it really helps when tying to answer a question.
Thanks.0 -
I just want to put the code which open an exiting excelfile. I dont know how to do that .AAA0
-
One way is
Pop a Command button on your card
view the properties
Push Action would be RunSystem
RunCommand you'll use the shell
see here
remember this one Denster (Jan 2003)
http://www.mibuso.com/forum/viewtopic.php?t=1391
or
http://www.mibuso.com/forum/viewtopic.php?t=9284
I would click on these properties too and hit F1 so you can become more familiar with them
While in designer you can goto Help->C/Side Reference Guide and look up SHELL and HYPERLINK
Hyperlink is great - but I don't know if you can get to the code behind the button.
You can also read the Application Designers Guide
If you don't have it (it's on the Nav CD) you can get it here
http://emiel.romein.googlepages.com/w1w1adg.pdf0 -
Just call the explorer.exe from the shell and have explorer run any file you want.
Using the windows explorer will automatically choose the program to open the file with.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
It will also select a drive and path if you want.
runcommand: explorer.exe c:
will open your C drive for example.0 -
Right, right.. The HYPERLINK function. #-oConfessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
If you don't use any processing, filtering, data in/out, whatever int the Excel then why not just add it to the Shortcuts menu of the users?0
-
I thought of a common, shared Excel file - my guess is that it must be case here.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
