home *** CD-ROM | disk | FTP | other *** search
- ; Sort-Cnt.SC - Example script included as part of the Video Store Application
- ; This script is called as one step of a multi-action
- If IsTable("Answer") Then ; Attempt to sort Answer Table
- If FieldNo("Count","Answer")>0 Then
- Sort "Answer" on "Count" D
- Else ; No Count field
- PPP_ErrShow_u("The Answer table does not have the proper structure.","")
- EndIf
- Else ; No answer table to sort
- PPP_ErrShow_u("There is no Answer table to sort.","")
- EndIf
-