Limit records in a List box to Child field on a sub form.

jimkerry

New member
Local time
Today, 10:11
Joined
Jan 29, 2010
Messages
9
I have a List box on a sub-form which will find records on the sub form based on the value selected in the list box but want to limit the records available in the List box to the Child field on the sub form that is matched to the Master field on the main form.

Can I adapt the code on the form - "

Set rs = Me.Recordset.Clone
rs.FindFirst "[WH_BlocksAssetId] = " & Str(Nz(Me![List0], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark

" somehow to accomplish this.


The Child/ Master field is called UPRN.
 

Users who are viewing this thread

Back
Top Bottom