View Single Post
  #4  
Old April 30th, 2010, 01:53 PM posted to microsoft.public.access.tablesdbdesign
Gopb via AccessMonster.com
external usenet poster
 
Posts: 5
Default Auto populate field in table

Thanks for the quick responce. It did the trick

GM

John W. Vinson wrote:
I have an Access data base that has acumulated 7 years of HR info. We plan to
moving this info

[quoted text clipped - 17 lines]

GM


A very simple update query will do this. Create a new Query based on your
table; select the [Termination Date] and EMPStat fields.

Put a criterion of

IS NOT NULL

on [Termination Date], and

IS NULL

on EMPStat (just in case, so you don't destroy existing data).

Change the query to an Update query using the Query menu item or the query
type tool, and put

"Terminated"

on the Update To line under EmpStat. Run the query with the ! icon.


--
Message posted via http://www.accessmonster.com