473,795 Members | 2,980 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with automaticallly adding weekly charge

How can I automatically add a weekly charge of $2.00 for each client
in drug treatment? I have a "financial" table linked with the client
table with 4 fields: clientID, date, charge, paid. Every week,
clients are to pay $2.00. how can I automatically add this weekly fee
for 167 clients? The form and report does the balance amount.

clientID: 1234

Date charge paid balance
02/01/04 2.00 2.00
02/03/04 2.00 .00
02/08/04 2.00 2.00
02/15/04 2.00 4.00
02/17/04 1.00 3.00
02/21/04 2.00 5.00

I need ACCESS to automatically put in the $2.00 charge each week for
all clients.

Thanks.

Charlie Rouse
Nov 12 '05 #1
2 1728
If you are using "Date" as the name of the date field, you need to change it to
another name. "Date' is a reserved word and sooner or later using it for a field
name will cause you trouble.

To answer your question ---
Assuming all the clients in your client table will be assessed the $2 fee, make
a query based on the client table. Make the following fields in your query:
ClientID
ChargeDate:Date ()
Charge:2

Convert this query to an append query and set to append to your financial table.
Run the query and you will assess all the clients a $2 fee for today's date.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdata sheet.com
www.pcdatasheet.com

"Charles Rouse" <co****@aol.com > wrote in message
news:c5******** *************** ***@posting.goo gle.com...
How can I automatically add a weekly charge of $2.00 for each client
in drug treatment? I have a "financial" table linked with the client
table with 4 fields: clientID, date, charge, paid. Every week,
clients are to pay $2.00. how can I automatically add this weekly fee
for 167 clients? The form and report does the balance amount.

clientID: 1234

Date charge paid balance
02/01/04 2.00 2.00
02/03/04 2.00 .00
02/08/04 2.00 2.00
02/15/04 2.00 4.00
02/17/04 1.00 3.00
02/21/04 2.00 5.00

I need ACCESS to automatically put in the $2.00 charge each week for
all clients.

Thanks.

Charlie Rouse

Nov 12 '05 #2
Charles Rouse,
"INSERT INTO FINANCIAL_TBL ( CLIENT, BILL_DATE, FEE )
SELECT CLIENT_TBL.ID, Date() AS BILL_DATE, 2 AS FEE
FROM CLIENT_TBL;"
Because you can include constants, functions & such in the SQL SELECT which
gives you your list of clients that incurred fees.

"Charles Rouse" <co****@aol.com > wrote in message
news:c5******** *************** ***@posting.goo gle.com...
How can I automatically add a weekly charge of $2.00 for each client
in drug treatment? I have a "financial" table linked with the client
table with 4 fields: clientID, date, charge, paid. Every week,
clients are to pay $2.00. how can I automatically add this weekly fee
for 167 clients? The form and report does the balance amount.

clientID: 1234

Date charge paid balance
02/01/04 2.00 2.00
02/03/04 2.00 .00
02/08/04 2.00 2.00
02/15/04 2.00 4.00
02/17/04 1.00 3.00
02/21/04 2.00 5.00

I need ACCESS to automatically put in the $2.00 charge each week for
all clients.

Thanks.

Charlie Rouse

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3484
by: abcd | last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed Pentagjetvedeh karuvificials madhla reachathe strategy in karkun campaign deshatinst terrorism. "mudivae maretu winning or losing karkun global varti jetvedeh terror?" Mr. Rumsfeld adugued in a recent memormariyuum. vede velli jetvedeh madhla...
0
1070
by: Peter Otten | last post by:
QOTW: "So I better start practice my throwing, and Dan better start practice his ducking. ;-)" -- Guido van Rossum using his time-machine for a preview on the Pie-thon at Oscon 2004. "Anytime you need to do something on corresponding items in two lists, you should think of zip(), as this binds the matching elements together." -- Marc Boeren Michele Simionato shows a concise way to implement a revolving
0
1063
by: Peter Otten | last post by:
QOTW: "So I better start practice my throwing, and Dan better start practice his ducking. ;-)" -- Guido van Rossum using his time-machine for a preview on the Pie-thon at Oscon 2004. "Anytime you need to do something on corresponding items in two lists, you should think of zip(), as this binds the matching elements together." -- Marc Boeren Michele Simionato shows a concise way to implement a revolving
3
17916
by: CrystalDBA | last post by:
I am using SQL Server 2000. I need to query my database for all the contracts that came in during a certain time frame (user is prompted for reportingperiodid). Table - Periods Fields - Reporting Period id int Reporting Period desc varchar(30) Reporting Period Begin Date datetime Reporting Period End Date datetime
2
2531
by: Quansheng Liang | last post by:
Hello, I struggled with the problem of "undefined reference to `vtable ...`" while migrating a project from windows to linux. After searching the google I removed all the inline functions and now the link errors decreased from over 200 to 5. A great step! But one of my class derived from wxValidator can't be linked correctly though there is no any inline function in it. The error message: -----------------------
3
1956
by: Robin Thomas | last post by:
I am fairly new to ASP.NET so I think I am missing something fundamental. Anyway, quite often I am pulling data from a database, but then I need to use that data to produce more data. A simple example would be: Let's say Column1=StartDate and Column2=EndDate. In addition to displaying Column1 and Column2, I need to do some calculations and display in as Column3. The calculations are easy and can be done in the code-behind. How to display...
22
15002
by: Drum2001 | last post by:
I have a table that tracks employee times. I have a column (Date/Time). Users, through a form, enter how long it takes them to complete a task. For example, 03:45 = 3 hours and 45 mins. I am running the following query: SELECT Sum(Nz(.,0)) AS SumOfNumberOfCompletions, Format(Sum(Nz(.,0)),"Short
4
1758
by: tfhanson | last post by:
Hi, been a real long time since I have worked in ASP and XML and a neighbor asked me to help him with a web page. I have an XML file that I am trying to search thru and display the children nodes...... Here is a sample of the xml <document> <MEMBER> <ID>000-00-0010</ID> <CHARGES> <CHARGE><ChargeDate>06/25/2007</ChargeDate> <Code>BANQ</Code><Desc>BANQUET</Desc> <Amount>0.00</Amount><Note></Note></CHARGE>...
7
2059
by: bhipwell via AccessMonster.com | last post by:
Hello, I have developed an employee benefits database that currently contains over 3000 employees and 70+ companies. Having started the database as a really simple solution for our clients, the last six months have demanded more complexity and thus much of the recent work has been patch work to say the least. I finally hit the "too many fields defined error" and now is the time to go back and rebuild part of the database resulting from...
0
9673
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
9522
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
10217
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
9046
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...
1
7544
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6784
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
5566
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2922
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.