473,396 Members | 2,002 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,396 software developers and data experts.

Query (Add,Subtract)

I have records in a source table. Each is tagged either Base or Add or Delete
(from Base)
How do I create another table which shows Base records plus Add records and
deletes Base records which are tagged Delete.
Appreciate it.
Thanks

Jun 3 '07 #1
3 3076
Create a query of your source table. In your tag field, set the criteria as
"Base". Under that in the row that says OR type in "Add". When you run the
query you will get all the Base and Add records. Go back to query design.
Click on the Query Type button in the menu at the top of the screen. Change
the query to a Make Table query and follow the directions. You will get a
new table containing all the Base and Add records.

There is nothing saying the user wanted to see "All" as a choice. Rather,
the user wanted a way to see all the values. Did you learn to read from
the same place you learned to put calculated values in a table?
PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com

"ss908" <u34757@uwewrote in message news:73276af1b77e5@uwe...
>I have records in a source table. Each is tagged either Base or Add or
Delete
(from Base)
How do I create another table which shows Base records plus Add records
and
deletes Base records which are tagged Delete.
Appreciate it.
Thanks

Jun 3 '07 #2

"Steve" <so***@private.emailaddressschreef in bericht news:9%*******************@newsread1.news.pas.eart hlink.net...
There is nothing saying the user wanted to see "All" as a choice. Rather,
>the user wanted a way to see all the values. Did you learn to read from
the same place you learned to put calculated values in a table?
Obviously your are mixing things from other posts here Steve ??
Please read your nonsense before you hit 'Send' .

Arno R
Jun 3 '07 #3
"StopThisAdvertising" <StopThisAdvertising@DataShitwrote in
news:46***********************@text.nova.planet.nl :
>
"Steve" <so***@private.emailaddressschreef in bericht
news:9%*******************@newsread1.news.pas.eart hlink.net...
>There is nothing saying the user wanted to see "All" as a
choice.
Rather,
>>the user wanted a way to see all the values. Did you learn
to read
from
>>the same place you learned to put calculated values in a
table?

Obviously your are mixing things from other posts here Steve
?? Please read your nonsense before you hit 'Send' .

Arno R
Not only that, he accused me of violating normalization rules.
Steve's solution certainly looks like it violates one of the
cardinal rules of normalization...

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Jun 6 '07 #4

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

Similar topics

8
by: dlx_son | last post by:
Here is the code so far <form name="thisform"> <h3>Enter time to add to or subtract from:</h3> (If not entered, current time will be used)<br> Day: <input name="d1" alt="Day of month"...
14
by: deko | last post by:
This runs, but does not narrow to current week. suggestions appreciated! SELECT lngEid, dtmApptDate, Subject, Appt_ID FROM qry002 WHERE (dtmApptDate BETWEEN DateAdd("d",-weekday()+2,) And...
2
by: Willem | last post by:
Hi there, I'm sort of new with doing much record manipulation with queries. Up till now I've been programming VBA and doing record looping to get my results. This works fine but tends to get...
3
by: Nils Magnus Englund | last post by:
Hi, I've made a HttpModule which deals with user authentication. On the first request in a users session, it fetches data from a SQL Server using the following code: using (SqlConnection...
31
by: Lag | last post by:
Having a problem updating my database from a web page, through a submission form. Can anyone help? ----THIS IS MY CODE IN update.php----(user, pass, and database are typed in directly, I...
5
by: Wired Hosting News | last post by:
I tried to be breif and give a scenario so as not to be overlooked because it was soooo long. Let me give you real world. I am a manufacturer of goods and produce 11 items that are distributed...
3
by: PeterW | last post by:
Hello, I have a table that contains fields for WeekNumber, OilReceived and OilRemaining. WeekNum OilRecd OilRem 4 1200 5 1000 2000 6 1800
10
by: Daniel | last post by:
In Microsoft Access I can write a query that includes the criteria: Between Date()-7 And Date() to retrieve the records from a table that fall within the last week. I'm trying to write a...
23
by: mlcampeau | last post by:
Hey guys, I have been mulling over this problem for a few days and have yet to come up with a query that will give me the expected results. I am working on a database that stores employee...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
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,...

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.