A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Import External Data by Date



 
 
Thread Tools Display Modes
  #1  
Old August 26th, 2008, 08:05 PM posted to microsoft.public.excel.worksheet.functions
Rubie
external usenet poster
 
Posts: 36
Default Import External Data by Date

I have a query setup in an Excel spreadsheet that imports external data from
SQL. All of the data is imported but, I only want the data for the current
date imported daily. Can this be done?
  #2  
Old August 26th, 2008, 08:17 PM posted to microsoft.public.excel.worksheet.functions
ShaneDevenshire
external usenet poster
 
Posts: 2,232
Default Import External Data by Date

Yes, if the database is storing the date, but please show us the SQL of the
current query.

--
Thanks,
Shane Devenshire


"Rubie" wrote:

I have a query setup in an Excel spreadsheet that imports external data from
SQL. All of the data is imported but, I only want the data for the current
date imported daily. Can this be done?

  #3  
Old August 26th, 2008, 08:42 PM posted to microsoft.public.excel.worksheet.functions
Rubie
external usenet poster
 
Posts: 36
Default Import External Data by Date

Thanks Shane,
This is the SQL= SELECT tblLeak.TestResult, tblLeak.DateAdded
FROM Database.tblLeak tblLeak
WHERE (tblLeak.TestResult='B') OR (tblLeak.TestResult='C')

"ShaneDevenshire" wrote:

Yes, if the database is storing the date, but please show us the SQL of the
current query.

--
Thanks,
Shane Devenshire


"Rubie" wrote:

I have a query setup in an Excel spreadsheet that imports external data from
SQL. All of the data is imported but, I only want the data for the current
date imported daily. Can this be done?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:59 PM.


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