0 оценок0% нашли этот документ полезным (0 голосов)
18 просмотров1 страница
If adoReservation.Recordset.Sort dgCurrent.Columns(5).DataField and " ASC" Th en'Sort in ascending order; this block is executed if the'data isn't sorted, is sorted on a different field,'or is sorted in descending order.
If adoReservation.Recordset.Sort dgCurrent.Columns(5).DataField and " ASC" Th en'Sort in ascending order; this block is executed if the'data isn't sorted, is sorted on a different field,'or is sorted in descending order.
Авторское право:
Attribution Non-Commercial (BY-NC)
Доступные форматы
Скачайте в формате TXT, PDF, TXT или читайте онлайн в Scribd
If adoReservation.Recordset.Sort dgCurrent.Columns(5).DataField and " ASC" Th en'Sort in ascending order; this block is executed if the'data isn't sorted, is sorted on a different field,'or is sorted in descending order.
Авторское право:
Attribution Non-Commercial (BY-NC)
Доступные форматы
Скачайте в формате TXT, PDF, TXT или читайте онлайн в Scribd
If adoReservation.Recordset.Sort <> dgCurrent.Columns(5).
DataField & " ASC" Th
en ' Sort in ascending order; this block is executed if the ' data isn't sorted, is sorted on a different field, ' or is sorted in descending order. adoReservation.Recordset.Sort = dgCurrent.Columns(5).DataField & " ASC" Else ' Sort in descending order. adoReservation.Recordset.Sort = dgCurrent.Columns(5).DataField & " DESC" End If ' No need to refresh the contents of the DataGrid.