Did you resolve this yet?
You see why this can be a problem. Nromally you might bind the form to the table and the ID issue goes away. You can create your record first, then query the Work Order table for Max(WOID), and then use that in your other insert statements. This is normally not a problem, but really depends on how many concurrent users you have. If there are a lot, you could create another field, and then assign the record a temporary ID as you submit it, and then query for that temporary ID. There may be other more elegant ways of doing this, but the issue has never come up with me.
So you might create a field called T_WOID, then insert a value based on the userID of the current user, and the number of seconds since 12/31/1999, for example. Then paste that into a variable, and use the variable to query subsequent inserts.
Did any of that help?
mmcdonal
Look it up at:
http://wrox.books24x7.com