Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Best way to implement "refreshable" reports

Hi all,

I need to develop a solution for Excel that will generate reports from some
back-end systems. The user should be able to get updated data whenever he
clicks on a button ...

What is the best way to implement this functionality? Web services with XML
maps, data source queries or something else?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Best way to implement "refreshable" reports

Hi Guy,

A good way to do this quickly would be to use a QueryTable (Data | Import
External Data -- New Database Query). You could very easily drop a
CommandButton on the worksheet, set its caption to "Refresh", and set the
code behind it to something like this:

Worksheets("Report").QueryTables(1).Refresh

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]


Guy wrote:
Hi all,

I need to develop a solution for Excel that will generate reports
from some back-end systems. The user should be able to get updated
data whenever he clicks on a button ...

What is the best way to implement this functionality? Web services
with XML maps, data source queries or something else?

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Best way to implement "refreshable" reports

Pivot tables linked to an external data source can work really well... Good
to about 700,000 records which is far better than Excel's inherent 65,535
limit...

HTH

"Guy" wrote:

Hi all,

I need to develop a solution for Excel that will generate reports from some
back-end systems. The user should be able to get updated data whenever he
clicks on a button ...

What is the best way to implement this functionality? Web services with XML
maps, data source queries or something else?

Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Best way to implement "refreshable" reports

The method to use would really depend on the nature and source of your
back-end system. Is it on a local network? Or internet? Best way, I think,
is to have a querytable with a query (web query or database query) that
pulls the info, Update method will refresh or you can set it to refresh on
file open or even every n minutes, but how to set it up depends on the source
data.

"Guy" wrote:

Hi all,

I need to develop a solution for Excel that will generate reports from some
back-end systems. The user should be able to get updated data whenever he
clicks on a button ...

What is the best way to implement this functionality? Web services with XML
maps, data source queries or something else?

Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Best way to implement "refreshable" reports

Thanks Dales.

My back-end system can expose web-services and\or connection to use with OLE
DB. The system is on local network.

Do you still think database query is the best solution? Can XML maps and\or
web services with some code-behind (using VSTO\VBA) provide a solution also?

"K Dales" wrote:

The method to use would really depend on the nature and source of your
back-end system. Is it on a local network? Or internet? Best way, I think,
is to have a querytable with a query (web query or database query) that
pulls the info, Update method will refresh or you can set it to refresh on
file open or even every n minutes, but how to set it up depends on the source
data.

"Guy" wrote:

Hi all,

I need to develop a solution for Excel that will generate reports from some
back-end systems. The user should be able to get updated data whenever he
clicks on a button ...

What is the best way to implement this functionality? Web services with XML
maps, data source queries or something else?

Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW CAN I IMPLEMENT SUMIF(D1:D6,"AVERAGE(D1:D6)") Bill Friedman Excel Worksheet Functions 1 January 27th 10 09:57 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
"Refresh" in Pivot reports after entering data Lorie Excel Discussion (Misc queries) 0 July 1st 07 04:54 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 03:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"