Hi,
I have a form named "WorkOrder". I have another form where i have an option group (1) choose to sort the WorkOrder form by WorkID and (2) by CustomerName. So i figured i have to write a code in the On Open Event of the WorkOrder form". If Option=1 then sort the WorkOrder Form by WorkID; if Option=2 then sort it by CustomerName.
Please give me idea of the code i should write. Should it be an SQL Select?
Thanks.
I have a form named "WorkOrder". I have another form where i have an option group (1) choose to sort the WorkOrder form by WorkID and (2) by CustomerName. So i figured i have to write a code in the On Open Event of the WorkOrder form". If Option=1 then sort the WorkOrder Form by WorkID; if Option=2 then sort it by CustomerName.
Please give me idea of the code i should write. Should it be an SQL Select?
Thanks.