A
Aceware
Client has just gone to latest patched office 2007 (without discussing with
me).
I have a quoting application that was working well in 2003.
I have a parent / child pair of forms where after changing any field in the
detailed
task list in the subform, calls a recalc function
eg
sub Technician_AfterUpdate()
docmd.runcommand accmdSaveRecord
RecalcLine me.parent.recordsetclone,
me.recordsetclone,me.parent.bookmark, me.bookmark
end sub
I now get :
"Object invalid or no longer set "
In the called subroutine when referencing the second parameter.
I am now working my way through the code replacing the recordsets with
explicit code such as
set rsHeader = currentdb().openrecordset("select * from [tbl Trials] where
TrialId = " & lngTrialId,dbopendynaset,dbseechanges)
set rsDetail = currentdb().openrecordset("select * from [tbl Trial Tasks]
where TrialId = " & lngTrialId, dbopendynaset, dbseechanges)
But this is very tedious and is producing other side effects, as well as
running slower.
I am contemplating telling the client to roll back to office 2003 or else
find another programmer.
Please, I am desperate for any help.
Many thanks in advance
Tony Epton
me).
I have a quoting application that was working well in 2003.
I have a parent / child pair of forms where after changing any field in the
detailed
task list in the subform, calls a recalc function
eg
sub Technician_AfterUpdate()
docmd.runcommand accmdSaveRecord
RecalcLine me.parent.recordsetclone,
me.recordsetclone,me.parent.bookmark, me.bookmark
end sub
I now get :
"Object invalid or no longer set "
In the called subroutine when referencing the second parameter.
I am now working my way through the code replacing the recordsets with
explicit code such as
set rsHeader = currentdb().openrecordset("select * from [tbl Trials] where
TrialId = " & lngTrialId,dbopendynaset,dbseechanges)
set rsDetail = currentdb().openrecordset("select * from [tbl Trial Tasks]
where TrialId = " & lngTrialId, dbopendynaset, dbseechanges)
But this is very tedious and is producing other side effects, as well as
running slower.
I am contemplating telling the client to roll back to office 2003 or else
find another programmer.
Please, I am desperate for any help.
Many thanks in advance
Tony Epton