S
Southern at Heart
Below is a sample I use to run an update query. Is there a way to tell if
any of the fields were actaully changed? In this case, a carriage return was
removed from the end of the string. ...is there a way to tell if this changed
any fields? That way, if if did, I could run it again until no change to the
[Phone] field was made...
thanks,
Southern@Heart
strSql = "UPDATE Name SET Name.Phone = Left(Phone,Len(Phone)-2) WHERE
(((Name.Phone) Like ""*"" & Chr(13) & Chr(10)));"
DoCmd.RunSQL strSql
any of the fields were actaully changed? In this case, a carriage return was
removed from the end of the string. ...is there a way to tell if this changed
any fields? That way, if if did, I could run it again until no change to the
[Phone] field was made...
thanks,
Southern@Heart
strSql = "UPDATE Name SET Name.Phone = Left(Phone,Len(Phone)-2) WHERE
(((Name.Phone) Like ""*"" & Chr(13) & Chr(10)));"
DoCmd.RunSQL strSql