G
Guest
Code is below
DoCmd.OpenQuery "ADT-forUpdate_2", acViewNormal, acEdit 'Creates a
table from a query
DoCmd.OpenTable "Original_Begin_Balance", acViewNormal, acReadOnly
'Table created by query
DoCmd.GoToRecord acTable, "Original_Begin_Balance", acFirst
DoCmd.GoToControl "Begin Balance" 'Will set temporary value to this
begin balance
CurrentDb.Execute "UPDATE OrigBeginBalCache SET OrigBeginBal = " _
& Original_Begin_Balance.[Begin Balance], dbFailOnError
gets as far as the last statement and then I get the error message. any
ideas?
DoCmd.OpenQuery "ADT-forUpdate_2", acViewNormal, acEdit 'Creates a
table from a query
DoCmd.OpenTable "Original_Begin_Balance", acViewNormal, acReadOnly
'Table created by query
DoCmd.GoToRecord acTable, "Original_Begin_Balance", acFirst
DoCmd.GoToControl "Begin Balance" 'Will set temporary value to this
begin balance
CurrentDb.Execute "UPDATE OrigBeginBalCache SET OrigBeginBal = " _
& Original_Begin_Balance.[Begin Balance], dbFailOnError
gets as far as the last statement and then I get the error message. any
ideas?