Question:

VISUAL BASICS: i have records in a random access file, how can i sort them alphabetically?

by  |  earlier

0 LIKES UnLike

i have been trying to figure it out for days and now i dont know what my code wont work... help?? please!!

 Tags:

   Report

1 ANSWERS


  1. If

    1.  You know how to read the records and find the sort key in them

    2.  The records are not too long

    3.  There are not too many records.

    Then you can

    1.  Read a record

    2.  Add a copy of the sort key to the beginning of the record (if it isn't already there.)

    3.  Add the record to a sorted list box.

    4.  Repeat to end of file.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.