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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Access Update Query



 
 
Thread Tools Display Modes
  #1  
Old June 14th, 2004, 07:25 AM
Liz
external usenet poster
 
Posts: n/a
Default Access Update Query

I am trying to create an update query, but i don't know
what expressions to use, if any. I need to create a form
to update products, prices, quantity, and customers.

Please help if you can.

Thank you,
Liz
  #2  
Old June 14th, 2004, 11:15 AM
Arvin Meyer
external usenet poster
 
Posts: n/a
Default Access Update Query

UPDATE TableName SET FieldName = Whatever;

is the syntax, but if the form is bound to the underlying table, you do not
need to use a query.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access

"Liz" wrote in message
...
I am trying to create an update query, but i don't know
what expressions to use, if any. I need to create a form
to update products, prices, quantity, and customers.

Please help if you can.

Thank you,
Liz



  #3  
Old June 15th, 2004, 01:13 AM
Liz
external usenet poster
 
Posts: n/a
Default Access Update Query

Do I have to use code to do this? Can I just do it in an access database query by choosing Update Query for Query Type and typing something in this space? If I am supposed to type something in this space, what do I type to update the fields?
  #4  
Old June 15th, 2004, 02:29 AM
John Vinson
external usenet poster
 
Posts: n/a
Default Access Update Query

On Mon, 14 Jun 2004 17:13:01 -0700, Liz
wrote:

Do I have to use code to do this? Can I just do it in an access database query by choosing Update Query for Query Type and typing something in this space? If I am supposed to type something in this space, what do I type to update the fields?


What is "this"?

You can create an Update query (to edit existing records) or an Append
query (to create new records in a table). What you type into the
Update To field depends on... well, what you want to update to; since
I have no clue what that might be I can make no suggestions!

To run the query, simply click the ! icon in query design view; or
save the query and doubleclick the query name in the query window. Or
you can run the query from code or from a macro.


John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
  #5  
Old June 15th, 2004, 10:13 PM
Liz
external usenet poster
 
Posts: n/a
Default Access Update Query

Okay, say I have a database that has test and assignment scores, and attendance. These fields need to be updated every time a score is added to the database or a day is added for when someone attended class. I am specifically asked to create a form to update tests, assignments, and attendance in this database.

The database has already been made and I am having a problem as to what I should type in the Update Query Field (if it is an expression).

Please be patient as I haven't used Access too much in the past and I don't understand the 'Lingo' associated with it.

Thank you kindly,
Liz
  #6  
Old June 16th, 2004, 06:47 PM
John Vinson
external usenet poster
 
Posts: n/a
Default Access Update Query

On Tue, 15 Jun 2004 14:13:01 -0700, Liz
wrote:

Okay, say I have a database that has test and assignment scores, and attendance. These fields need to be updated every time a score is added to the database or a day is added for when someone attended class. I am specifically asked to create a form to update tests, assignments, and attendance in this database.


What is the structure of your Table, or tables? Remember, you can see
your database; we cannot.

If you're storing derived data - such as the number of days present -
then consider NOT doing so. Anything that can be calculated from data
already in the table should be calculated on the fly in a Query rather
than stored in the table.

The database has already been made and I am having a problem as to what I should type in the Update Query Field (if it is an expression).


What you have not told us is what field you want to update, and what
you want to update it to, nor where that information is coming from.
Again - *you* know your problem. We do not.

Please be patient as I haven't used Access too much in the past and I don't understand the 'Lingo' associated with it.


If you'll please be as patient with me asking for clarifications, I'll
certainly try!

John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
 




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 03:09 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.