Problem sequencing my records

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sowms
    New Member
    • Jul 2007
    • 4

    Problem sequencing my records

    Hi guys!

    Am able to read n write data to and from my Access Database to my VB form. When I add a new record on my VB form, it gets added to my Access Database n the record is also diaplayed on my VB form....but am not able to see the records in sequence.

    Meaning, if i'm adding a record with a serial number 31... that record gets slotted inbetween my records with serial numbers 17 n 18. How can I see the records in sequence?

    Help needed please!
    sowms
  • daveftl
    New Member
    • Jan 2007
    • 43

    #2
    Originally posted by sowms
    Hi guys!

    Am able to read n write data to and from my Access Database to my VB form. When I add a new record on my VB form, it gets added to my Access Database n the record is also diaplayed on my VB form....but am not able to see the records in sequence.

    Meaning, if i'm adding a record with a serial number 31... that record gets slotted inbetween my records with serial numbers 17 n 18. How can I see the records in sequence?

    Help needed please!
    sowms
    use the ORDER BY clause...the sql code is like this:

    SELECT * FROM <table> ORDER BY SerialNumber;

    --> this will return all the records in your table in order with regards to the serial number.

    hope this one answers...:)

    Comment

    • sowms
      New Member
      • Jul 2007
      • 4

      #3
      Originally posted by daveftl
      use the ORDER BY clause...
      Hey hi! Thanks loads it works! :)
      Last edited by Killer42; Oct 29 '07, 01:53 AM.

      Comment

      • daveftl
        New Member
        • Jan 2007
        • 43

        #4
        Originally posted by sowms
        Hey hi! Thanks loads it works! :)
        You're very much welcome...God bless!
        Last edited by Killer42; Oct 29 '07, 01:53 AM.

        Comment

        Working...