Hi
I have a form with unbound fields which, assuming validation is met, are inserted into the live table.
my first problem was one of the fields, saref, is a concatenation of the directorate field and the autonumber field. I got round this by using a GetUserLogon script, which captures the users network logon and inserts that into a table. Then i can do a select max where the current user is equal to the GetUserLogon name ie. this is unique
My other problem is i have a sub-form which is part of the validation. At least one entry needs to be inserted into this sub-form but to achieve the validation I use a recordset which uses the autonumber field as the link (which I don't know until after the validation is checked)
any ideas?
hope I make sense !
regards
tony
I have a form with unbound fields which, assuming validation is met, are inserted into the live table.
my first problem was one of the fields, saref, is a concatenation of the directorate field and the autonumber field. I got round this by using a GetUserLogon script, which captures the users network logon and inserts that into a table. Then i can do a select max where the current user is equal to the GetUserLogon name ie. this is unique
My other problem is i have a sub-form which is part of the validation. At least one entry needs to be inserted into this sub-form but to achieve the validation I use a recordset which uses the autonumber field as the link (which I don't know until after the validation is checked)
any ideas?
hope I make sense !
regards
tony