I think what you can do is use a DMax() function to get the previous highest number from the actionInstance field & increment it by one.
Eg:
Code:
NewactionInstance = DMax("actionInstance", "YourTableName") + 1
Where NewactionInstance is a numeric variable to hold the new actionInstance for the current number of entries.
Then - use NewactionInstance for every new record you enter.
Each time you enter an instance, you will get a number one up from the highest action instance number in there.
Does that help?