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 Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Append Query Question



 
 
Thread Tools Display Modes
  #1  
Old January 9th, 2007, 07:27 PM posted to microsoft.public.access.queries
Ryan Clair
external usenet poster
 
Posts: 8
Default Append Query Question

Simple problem:
Today is the 9th. I need to be able to append a record for everyday
since the first of this month to yesterday. Now heres the thing, it
won't always be the first of the month (start date) or the 9th (end
date).

The big picture (complex problem dumbed down):
I have a log of all changes that happen in my database and a snapshot
of what my data looks like each day with a date attached to it. There
are different types of changes and are labeled as such in the "Type"
field (A before/after as well, depending on the type). Within a given
change record, there is a Start and End Date. Depending on the type, I
have to either Update/Append/Delete from Start to End Date (which are
past dates) to existing data. Update/Delete I think I have down (takes
my 6 queries just to make the update work :-( but it works ).

Ryan

  #2  
Old January 9th, 2007, 08:15 PM posted to microsoft.public.access.queries
Jeff C
external usenet poster
 
Posts: 392
Default Append Query Question

Use a parameter with your query to pop up a Between "Date1" and "date2"
--
Jeff C
Live Well .. Be Happy In All You Do


"Ryan Clair" wrote:

Simple problem:
Today is the 9th. I need to be able to append a record for everyday
since the first of this month to yesterday. Now heres the thing, it
won't always be the first of the month (start date) or the 9th (end
date).

The big picture (complex problem dumbed down):
I have a log of all changes that happen in my database and a snapshot
of what my data looks like each day with a date attached to it. There
are different types of changes and are labeled as such in the "Type"
field (A before/after as well, depending on the type). Within a given
change record, there is a Start and End Date. Depending on the type, I
have to either Update/Append/Delete from Start to End Date (which are
past dates) to existing data. Update/Delete I think I have down (takes
my 6 queries just to make the update work :-( but it works ).

Ryan


 




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 02:18 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.