Hi Folks,
I've been asked to look at an Access 97 system that a mate of my dads knocked together for his business.
When the system creates a new record it uses the DoCmd.GoToRecord method.
I need to set some values in the new record as soon as it has been created. The problem is that this way of doing things does not seem to create a recordset to work with??
I am used to dealing with recordsets and would usually set new values like:
With rst
.AddNew !LastName = strLast
!FirstName = strFirst
.Update
End With
But I don't see how I can do this...
I don't really want to have to change the way this system handles records as it will be a whole stack of work. Is there anyway around this??
Many Thanks
Nosh
I've been asked to look at an Access 97 system that a mate of my dads knocked together for his business.
When the system creates a new record it uses the DoCmd.GoToRecord method.
I need to set some values in the new record as soon as it has been created. The problem is that this way of doing things does not seem to create a recordset to work with??
I am used to dealing with recordsets and would usually set new values like:
With rst
.AddNew !LastName = strLast
!FirstName = strFirst
.Update
End With
But I don't see how I can do this...
I don't really want to have to change the way this system handles records as it will be a whole stack of work. Is there anyway around this??
Many Thanks
Nosh