Write a validation routine that checks the data,
** below is air code totally untested **
dim adoTest as new adodb.recordset
with adoTest
.open "Select * from
TblTest",currentproject.connection,adopenkeyset,adopendynamic
do while not .eof
' process your record
'to check for valid dates
if isdate(.fields("myDate").value) then
' this is a valid date
else
' date is invalid
end if
'to check for valid numbers
if isnumeric(.fields("myNumber").value) then
' this is a valid number
else
' number is invalid
end if
'to check for length of strings
if len(trim(.fields("myString").value))>5 then
' this string is longer than 5 chars long
else
' this string is 5 or less chars long
end if
.movenext
loop
.close
end with
*** Finish ***
this will help you process your data, you will need to change the
table/fields names to reflect your specific names, where you have errors you
may want to update the values with a default value.
--
Regards
Alex White MCDBA MCSE
http://www.intralan.co.uk