Subform sorting?

H

Harmannus

Hallo,

I have a subform based on a table with autonumberID fields. How can i sort
the entries in this subform automatically based on "name" field from the
table used in this subform.

Explaination:

tblPerson:
PersonID
PersonName

tblActivity
ActivityID
ActivityName

tblActivityPerson
ActivityID
PersonID

frmActivity with subform based on tblActivityPerson

Subform ActivityPerson contains field PersonID

Thanx in advance for any responses!


Greetings,

Harmannus, The Netherlands
 
H

Harmannus

Thanx for the response!

If i do this i cannot add persons on the form Activity with the subform
ActivityPersons!

Maybe i am doing something wrong?
 
H

Harmannus

Hallo,

Thanx for the respons!

Figured it out (-;

As suggested by you i now use a query for the subform ActivityPerson (with
the fields AcitvityID and PersonID). If i select the PersonName as the
sortfield and uncheck it i am able to add persons in the Activity form with
the ActivityPerson subform on it. With the PersonName checked i was not able
to add persons.

Thanx for the help!

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top