llkhor
asked on
how to sort rows in grid using lookup field column?
Hi,
Is there anyway to sort rows in grid using column that is based on lookup field?
The grid contains one lookup field that is pointing to the master file record ( i.e. EmployeeName ), I need to sort the rows based on the Employee's Name. How?
Thanks
Is there anyway to sort rows in grid using column that is based on lookup field?
The grid contains one lookup field that is pointing to the master file record ( i.e. EmployeeName ), I need to sort the rows based on the Employee's Name. How?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
only with a query by including the field, which is referenced like
select a.*, b.lookupresultfield from tableA a, tableB b where a.lookupidfield = b.idfield order by b.lookupresultfield
in some databases b.fields must not be included into the fieldlist after the select in some other databases is this a must
meikl ;-)
select a.*, b.lookupresultfield from tableA a, tableB b where a.lookupidfield = b.idfield order by b.lookupresultfield
in some databases b.fields must not be included into the fieldlist after the select in some other databases is this a must
meikl ;-)
ASKER
Thanks for the feedbacks....
Upon review of the comments here, I am recommending this disposition:
points to mnasman
Please post a comment if you disagree.
DanRollins -- EE database cleanup volunteer
points to mnasman
Please post a comment if you disagree.
DanRollins -- EE database cleanup volunteer
per recommendation.
SpideyMod
Community Support Moderator @Experts Exchange
SpideyMod
Community Support Moderator @Experts Exchange
ASKER
Thanks.