if I understand your question correctly, you want to automatically fill address fields based on a name and id number. The following code will do this. Put this code in an event procedure ("OnExit" for example). I hope this is what you need.
Dim db As Database
Dim rst As Recordset
Dim strSQL As String
Set db = CurrentDb()
' assign the SQL statement to retrieve address
strSQL = "SELECT MyTable.address, " _
& " FROM MyTable Where [idno] In(" & Me![idno text] & _
") And [name] In(" & Me![name text] & ");"
Set rst = db.OpenRecordset(strSQL)
' assign the values to fields on the form
Me![address] = rst![address]