You are reading a single comment by @rhb and its replies. Click here to read the full conversation.
  • MS Access (I know) headache:

    Got data on an old s.sheet but queries and updates working easier on db so I built a basic one around the table.

    When importing the field "Age" it was a value not calculated based on dob, so remains static not current.

    Trying to fix this using =datediff ('yyyy', [DOB],Date ()) via an append query for a new 'Age' column (deleted original as no value, but could re-import easily).

    Error is about validation rules, when there are none in the db as nothing is that complex. Preview view works perfect in that it shows a year value based on each DOB in the table... Some rows blank as no DOB.

    Anyone used this similarly and got it working? Cheers.

    P.s. used same expression in regular query to export data as part of export to load data to email campaign sender, it works fine for that... (although rounds up some ages but hey, what difference does a year make?)

  • It could be the null values that are causing the validation errors, can you stick an nvl() around the dob to populate it with a dummy value?

About

Avatar for rhb @rhb started