473,626 Members | 3,231 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can I auto Change Header Dates in queries

72 New Member
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 1155

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

Similar topics

1
2702
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 documents from ASP.NET documents and we now need to add text to the header and footer for reach report. I was hoping for a quick solution using meta-tags or dhtml or whatever instead of having to look for another PDF generator. A search on...
1
1435
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
5011
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; URL=http://www.mysite.com/" /> <title>Page Redirect</title> </head>
1
4013
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
1537
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 have created and then email it to individuals. Is this possible and if so how do you go about doing that? If I had to split it up one section at a time that would be fine also. Your response is more than appreciated. Thanks
1
1269
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 23rd Feb etc. So, I need column 1 to be headed 16th Feb, col 2 to show 23rd Feb etc. As this week passes, the dates need to move up 1 week, so that next week, col 1 will display 23rd Feb and so on.
9
10991
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
4774
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 ============================ X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.server.com X-AntiAbuse: Original Domain - yahoo.com
1
2146
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 return zusammen ok here i put something in the content but still IE handels ist like text. so i want to but something in the header so he renders it like this:
1
1140
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), month(sdt)........... sdt = sdt +1 loop until sdt = edt
0
8269
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8203
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8642
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8512
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7203
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5576
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4094
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4206
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1515
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.