473,399 Members | 3,038 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Can I auto Change Header Dates in queries

I’m looking for a way to have my queries headers change their dates automatically each month or when the date changes.

I have a query that exports to an excel file. My query changes automatically each month with using the formula below

Expand|Select|Wrap|Line Numbers
  1.  Month12: Min((IIf([CORRESPONDENT_PURCHASE_DATE] Between DateSerial(Year(Date()),Month(Date())-12,1) And DateSerial(Year(Date()),Month(Date())-11,0),[CORRESPONDENT_PURCHASE_DATE])))
Basically when I run the update query and the new month populates the formula above I would like to have the header change.

Does anyone know of a way I can do this, or should I just forget this as an option

Thanks for taking the time to help

TCB
Feb 28 '11 #1
0 1150

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Gabriel Lozano-Morán | last post by:
I was wondering if it is possible to change the header/footer (See menu file -> Page setup in IE) by using meta tags. We have a module that uses the ActivePDF Webgrabber component to generate PDF...
1
by: HKSHK | last post by:
Hello, I want to change the header text of in an unbound datagrid (System.Windows.Forms). Does anybody have an idea how I can do that? Thanks in advance! Best Regards, HKSHK
4
by: sck10 | last post by:
Hello, I have the following in my Master Page that I am using as a redirect template: <head id="headRedirect" runat="server"> <meta id="metaRedirect" http-equiv="Refresh" content="2;...
1
by: sakurasyi | last post by:
hi there... i have a question.. i'm doing a system with resolution 1024 x 768. Is there any way that my system can auto change its resolution based on the visitor's monitor?
3
by: austenr | last post by:
Hi, I am new to the board so please bear with me. What I want to do is to set up queries in a database I have (there are 4 make table queries) and then after they are finished, run a report I...
1
by: David | last post by:
Hi, I need to set up an HTML table or the like, with 4 columns. Each column needs to have a header with a FRIDAY (dd/mm/yy) date. i.e. this weeks Fridays date is 16th Feb, the following is...
9
by: hribek25 | last post by:
Hello folks, is there any way how to create autoincrement value in query? So every line of my result of query will have values 1,2,3 etc.? Thank you in advance. Petr
5
by: ykhamitkar | last post by:
Hi there, I have used php mail script to send mail() to send email. The script works well However in the email I also get some following information in the header ...
1
by: stelegraph | last post by:
my script looks like this: def getXML(self, param): feed = urllib.urlopen (param) ergebnis = feed.read () zusammen = '<?xml version="1.0" encoding="iso-8859-1" ?>\n'+ergebnis ...
1
by: Dan2kx | last post by:
Bit of a strange one for ya here, i have table with Day, Month, Year and Weekday codes constructed by a loop that adds one to a recordset to construct a table of dates basically Day(sdt),...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.