To whomever might also have been wanting an answer to this situation<br>
I finally found it on my own after some tinkering, here it is:<br>
<br>
OLD WAY: ( .execute failed if query used a function within the Access Db)<br>
Dim db As Database, qd As QueryDef, pth As String<br>
pth = app.path<br>
Set db = DBEngine(0).OpenDatabase("pth & "\testdb.mdb"

<br>
Set qd = db.QueryDefs("qryTest"

'Update query uses an Access function<br>
qd.Execute ' "Undefined function xxxx" was the error<br>
<br>
NEW WAY (works well)<br>
Dim db As Database, qd As QueryDef, pth As String, ac As Application<br>
pth = App.Path<br>
Set ac = New access.Application<br>
ac.OpenCurrentDatabase pth & "\testdb.mdb", False<br>
ac.Visible = False<br>
Set qd = ac.DBEngine(0)(0).QueryDefs("qrytest"

<br>
qd.Execute<br>
MsgBox "You've updated " & qd.RecordsAffected & " records"<br>
ac.CloseCurrentDatabase<br>
Set ac = Nothing<br>
<br>