I have a problem with the browse under Alpha Anywhere. The problem is with a set with a one-to-many relationship of two tables where the selection is being done on the child table. The parent table is a person table with demographic information and the child table is an activity table which records either past for planned contact with the person. The problem is that it works for a report, but for a browse the fields for the parent table are just one of the parent rows. The fields for the child table are correct for the different children rows.
Here is an illustration of the problem. .
Report:
Person Id Call Time Fname Lname Phone Status Next call date
0100001 10:19 Bob Smith 123-456-7890 Set appointment 8/4/14
0100002 08:56 John Jackson 892-845-4049 Send information 8/4/14.
The person id field is what is in common between the person and the activities table. The call time, status, and next call date are from the activities table. The fname, lname, and phone are from the person table. Both of report and the browse have a selection based on the next call date being equal to today�s date.
Here is what the browse results look like.
Person Id Call Time Fname Lname Phone Status Next call date
0100001 10:19 Bob Smith 123-456-7890 Set appointment 8/4/14
0100002 08:56 Bob Smith 123-456-7890 Send information 8/4/14
What happens is that the person information is the same for both rows. What is strange is that is does not matter what field on the activities table the selection is done on. When a selection was done on the status field the same thing happens. The person information which gets populated for all activity rows is the first person with an activity which meets the condition. My question is this, Is there something extra which needs to be done for a selection for a browse which does not have to be done for a report?
Here is an illustration of the problem. .
Report:
Person Id Call Time Fname Lname Phone Status Next call date
0100001 10:19 Bob Smith 123-456-7890 Set appointment 8/4/14
0100002 08:56 John Jackson 892-845-4049 Send information 8/4/14.
The person id field is what is in common between the person and the activities table. The call time, status, and next call date are from the activities table. The fname, lname, and phone are from the person table. Both of report and the browse have a selection based on the next call date being equal to today�s date.
Here is what the browse results look like.
Person Id Call Time Fname Lname Phone Status Next call date
0100001 10:19 Bob Smith 123-456-7890 Set appointment 8/4/14
0100002 08:56 Bob Smith 123-456-7890 Send information 8/4/14
What happens is that the person information is the same for both rows. What is strange is that is does not matter what field on the activities table the selection is done on. When a selection was done on the status field the same thing happens. The person information which gets populated for all activity rows is the first person with an activity which meets the condition. My question is this, Is there something extra which needs to be done for a selection for a browse which does not have to be done for a report?
Comment