Re: Update Query Follow-up

From: Van T. Dinh (VanThien.Dinh_at_discussions.microsoft.com)
Date: 04/29/04


Date: Fri, 30 Apr 2004 09:12:45 +1000

Post the SQL String of your current Update Query and the Date Field name of
the Field you want to update.

-- 
HTH
Van T. Dinh
MVP (Access)
"Luther" <lbernadel@cdc.gov> wrote in message
news:60d301c42dfd$6514e320$a301280a@phx.gbl...
> Hi,
>
> How would I incorporate this SQL in a parameter query to
> update the date field when records are changed/updated.
> The parameter query opens a form to display the records
> found.
>
> Thanks
>
> 1.  I have a parameter query that opens a form
> >-----Original Message-----
> >You can use an SQL like:
> >
> >UPDATE YourTable
> >SET DateField = Now()
> >WHERE {criteria if required}
> >
> >See Access Help on UPDATE Query / SQL
> >
> >-- 
> >HTH
> >Van T. Dinh
> >MVP (Access)
> >
> >
> >"Luther" <lbernadel@cdc.gov> wrote in message
> >news:50e701c42c89$bae41cf0$a501280a@phx.gbl...
> >> Thank you very much for your help....Now I have another
> >> question. With the update queries that I created, is it
> >> also possible to have a Date field update itself with
> the
> >> current date when these queries are run. I can do it in
> >> forms, when you actually do something to that record,
> but
> >> I kind of want a global thing when the table is updated
> >> with all these codes.
> >> Looking forward to hear from you.
> >
> >
> >.
> >


Relevant Pages

  • Re: DBMS and lisp, etc.
    ... Naively implemented with SQL, again for 10 ... (1 query for the initial orders, 1 query for each order for its ... soon as you upgrade to the SQL database. ... (eq (order-customer orderA) ...
    (comp.lang.lisp)
  • Re: Report Header
    ... "Van T. Dinh" wrote: ... > is the name of the Parameter in the Query. ... >> the report is based on) is the one the report recognizes. ...
    (microsoft.public.access.reports)
  • Re: Previous Row of Data
    ... Brad ... "Van T. Dinh" wrote: ... > ordering / sorting you want and include this in your Query. ...
    (microsoft.public.access.queries)
  • Re: Populating a list -- table structure?
    ... I had made a report already and figured out about adding the ... your responce below, but thanks to your help with SQL, I was able to get the ... It takes a summary from a select query and gives the ... KitID, long integer ...
    (microsoft.public.access.forms)
  • How do I do Paging through a large dataset via Stored Procedures
    ... Paging by dynamically altering the SQL Query ... Create stored procedures ... SELECT * FROM STUDENTS ...
    (microsoft.public.dotnet.framework.adonet)