Link to home
Start Free TrialLog in
Avatar of srbenavrbe
srbenavrbe

asked on

sort records of table

How do you sort the table after open (asc/desc) and how do you
filter records?
Example :I want to display customerID of only those customers
who are 'sane'. Those 'not sane' we leave out....he,
Can filter be done in object inspector (on the dataset)??
Avatar of Imthiyaz_ph
Imthiyaz_ph

In Object inspector, set the Filter property to : customerID = 'sane'
and set the Filtered property to True.
one more thing, replace the field customerID of the filter with the appropriate field.
Avatar of kretzschmar
for sorting you need an index on the field in the needed order
(means one for asc and one for desc) and set the indexname-property

easier would be a query with an order by clause as dataset

meikl ;-)
Avatar of srbenavrbe

ASKER

how do you sort records on afteropen of the table ?
ASKER CERTIFIED SOLUTION
Avatar of Qosai_DBA
Qosai_DBA
Flag of Palestine, State of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial