473,472 Members | 2,224 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Update query?

I am in the process of building an application that lists several orders
on one table with various info to some other tables with other info
relating to these orders and access this via .asp. I receive updates to
some of these tables from our AS/400 in the form of comma separated text
files and the updates work fine. We now want to add a field to one of
the tables that will say when an invoice has been paid, a simple y or n
or whatever. What I can't seem to figure out is how to do this. I simply
want to add this y to a field that was left blank on the table when it
was initially entered, according to the the order numbers. The imported
file would have 3 columns, one listing order number one listing invoice
number and one with a y in it. Each of the invoice numbers would be
unique so they should have no problem matching these up to what is
already in there. I have searched for an answer and it seems to be "use
an update query" I have a book here and I still am lost as to how to
accomplish this. Can anyone make any suggestions or can you point me to
a downloadable database that does something like this so I can take a
look at it and figure it out?

Thanks,
Travis

Nov 12 '05 #1
1 2358
The invoice has been paid when the payments are equal to (or greater) than
the invoice amount. Why do you need a y/n field?

Robert Crouser

"Travis" <no**@nowhere.com> wrote in message
news:9E*****************@news7.onvoy.net...
I am in the process of building an application that lists several orders
on one table with various info to some other tables with other info
relating to these orders and access this via .asp. I receive updates to
some of these tables from our AS/400 in the form of comma separated text
files and the updates work fine. We now want to add a field to one of
the tables that will say when an invoice has been paid, a simple y or n
or whatever. What I can't seem to figure out is how to do this. I simply
want to add this y to a field that was left blank on the table when it
was initially entered, according to the the order numbers. The imported
file would have 3 columns, one listing order number one listing invoice
number and one with a y in it. Each of the invoice numbers would be
unique so they should have no problem matching these up to what is
already in there. I have searched for an answer and it seems to be "use
an update query" I have a book here and I still am lost as to how to
accomplish this. Can anyone make any suggestions or can you point me to
a downloadable database that does something like this so I can take a
look at it and figure it out?

Thanks,
Travis

Nov 12 '05 #2

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

Similar topics

4
by: Surendra | last post by:
I have this query that I need to use in an Update statement to populate a field in the table by the value of Sq ---------------------------------------------------------------------------- Inline...
2
by: Mike Leahy | last post by:
Hello all, This question is related to updating tables - is there any way to calculate or update the values in a column in a table to the values in a field produced by a query result? An...
10
by: Randy Harris | last post by:
I imported records into a table, later found out that many of them had trailing spaces in one of the fields. If I'd caught it sooner, I could have trimmed the spaces before the import. This...
4
by: deko | last post by:
I'm trying to update the address record of an existing record in my mdb with values from another existing record in the same table. In pseudo code it might look like this: UPDATE tblAddress SET...
8
by: Maxi | last post by:
There is a lotto system which picks 21 numbers every day out of 80 numbers. I have a table (name:Lotto) with 22 fields (name:Date,P1,P2....P21) Here is the structure and sample data: ...
7
by: Mark Carlyle via AccessMonster.com | last post by:
I have this update query that I am trying to run. I know the syntax is messed up but do not know how to correct it. Select 'UPDATE', Transactions,'Set = where = ' From "Get Daily Balances" ...
3
by: Shapper | last post by:
Hello, I have created 3 functions to insert, update and delete an Access database record. The Insert and the Delete code are working fine. The update is not. I checked and my database has all...
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...
3
by: eholz1 | last post by:
Hello PHP programmers. I had a brilliant idea on one of my pages that selects some data from my mysql database. I first set the page up to display some info and an image, just one item, with a...
16
by: ARC | last post by:
Hello all, So I'm knee deep in this import utility program, and am coming up with all sorts of "gotcha's!". 1st off. On a "Find Duplicates Query", does anyone have a good solution for...
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...
1
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,...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.