Yes i have been looking around on youtube, there is quite a lot material there, thus harder to find a video there it is well explained.
Thx for the tip Orange.
I also believe i have found what it's call, of what i'm trying to do. "Filter a Form on a Field in a Subform". Then i guess i should be able to change the subforms recordsource with a certain command. I have a query which would do the filter i want. Then i just have to feed the filter with the new string or integer when the query needs to be required.
This is the query i have for the filter.
Code:
Dim SQL As String
SQL = "SELECT tblErrand.ErrandID, tblErrand.ClientID, tblErrand.DatumAtgStart, tblErrand.DatumAtgSlut, tblErrand.Oro, tblErrand.Ansvarig " _
& "FROM tblErrand WHERE (((tblErrand.ClientID)=" & Me.OpenArgs & "));"
Me.subFrmClientEventSummery.Form.RecordSource = SQL
Me.subFrmClientEventSummery.Form.Requery
However when i have tried this the form load the form-header and the body is blank. I guess this means i haven't feeded the query with the proper string or integer, or i do not access the subform correctly or it could be both. Then i'm not sure from which control i should access the subform. Thus i think it would be the "afterUpdate" event.