I am new to access and I am having problems using this function. Basically I have created 1 form which stores data to a table with one field being the auto number field. On my second form I have a hidden field which I want the default value to be populated with the auto number of the last record created from the first from. Can anyone help me with the syntax.