I have two tables (users and tasks), where users are connected by parent ID and list page works fine.
Now need users under same parent to appear in dropdown list when adding tasks.
Rightnow users only see there own records.
Show same parent users in dropdown
-
- User
- Posts: 4
Show same parent users in dropdown
-
- User
- Posts: 4
Thanks for the help, I found it with a few inquiries and was disappointed by how simple it was. Incase anybody lands same issue here is what worked for me, inserting below code in UserID_Loading Server Event.
if((CurrentPage()->TableName == "Tasks") && ((EW_PAGE_ID == "add") || (EW_PAGE_ID == "edit"))){
$this->CurrentUserID = CurrentParentUserID();
}