Okay I have fixed your problem to get the GSORT to pass over for you.
Code:
Private Sub GSort_Enter()
Dim rs As DAO.Recordset
If IsNull(Me.GSort) Then ' ISort keyed and GSort is null Then
DoCmd.SetWarnings False
'finds the NRec for the GSORT
Set rs = CurrentDb.OpenRecordset("SELECT NRec FROM 350_IF01Q02")
'Places the above NRec into the GSort Control
Me.GSort = rs!NRec
me.descirption.getfocus
end if
end sub
^^^ This will get you your generated value in the form when you press enter or tab. After you press enter or tab it will automatically jump to the description. To help out in the process - mark your GSORT text field from Enable to Disabled that way it can not be edited.
And leave your 500_ISetUpF01 as acdialog.. This works fine with it.
This will get you the ISort number from the main form to the add form.
Place the following code in the Default Value of the ISort on the 500_ISetUpF01 form
Code:
=[Forms]![400_ReceiptF01]![400_ReceiptF03].[Form]![ISort].[Text]
Z