Print Thread
automatic excel export
#43222 01/28/12 03:20 PM
Joined: Jan 2012
Posts: 2
P
pajen Offline OP
Member
OP Offline
Member
P
Joined: Jan 2012
Posts: 2
Situation:
1.Running a SQL request.
2.Right click in the result -> export to Excel.
3.Choose target/folder for saving file and filename.

Needs:
Code (like a macro) that can be added at the end of the request that takes care of this annoying right click procedure with the following file save.

Regards Peter


Re: automatic excel export
pajen #43225 01/30/12 09:24 AM
Joined: Jul 2004
Posts: 24
Germany
H
Member
Offline
Member
H
Joined: Jul 2004
Posts: 24
Germany
I would appriciate something like that.

In our apps we have solved it this way:
Data is not opened in new, empty worksheet, but (selectable) "hand-made" template, including save macro and some cell function logic.
save macro looks to specific (named) cell, which again can hold typical excel logic.
Thus final name is retrieved via dynamic sheet contents, it's up to users preferences and content "design".

All PLSD need is call of specific template set by preferences instead of empty one.



regards
Re: automatic excel export
herzig #43261 02/01/12 04:56 PM
Joined: Jan 2012
Posts: 2
P
pajen Offline OP
Member
OP Offline
Member
P
Joined: Jan 2012
Posts: 2
Thank you. Perhaps a stupid question: where do you set those preferences in PLSD?

regard
Peter

Re: automatic excel export
pajen #43284 02/06/12 08:56 AM
Joined: Jul 2004
Posts: 24
Germany
H
Member
Offline
Member
H
Joined: Jul 2004
Posts: 24
Germany
Oh, maybe You got me wrong.

I did only suggest this behavior and described it similar to we do it with our own applications.

In short, on top of plain Excel Export PLSD needs this function:
"Export using [this]Excel Template"
Where [This] can be choosen out of PLSD preference set.
After fill in the data, a call to a standard PLSD makro placed in this Excel template would be nice.


regards

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.045s Queries: 14 (0.027s) Memory: 2.5123 MB (Peak: 3.0427 MB) Data Comp: Off Server Time: 2024-05-18 22:51:01 UTC
Valid HTML 5 and Valid CSS