Results 1 to 6 of 6

Thread: [RESOLVED] Printing fields in Table order

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2006
    Posts
    236

    Resolved [RESOLVED] Printing fields in Table order

    I've got a report with the details based on a table in my database. The field prints all the records fine, but they are always sorted alphabetically. I want them to simply print in the order they were placed in the table.

    I've gone through the Record Sort Expert and removed the sort criteria so the field is not even listed there (yet it still sorts and the database field is not)

    This should be a really simple thing but I'm stuck.

    Thanks
    Ken

  2. #2
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: Printing fields in Table order

    Please say :
    Crystal Reports version
    Data Source (Access, SQL,etc.)
    Method You set to retrieve the records ( DAO, ADO, ODBC, etc.)

  3. #3
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: Printing fields in Table order

    simply sort(ASC) on the autonumber field....
    BTW you never know where exactly a new row is inserted. what you get while viewing records in a datasheet view (MS Access) is simply sorted result based on autonumber field.
    few days back a post (databse development) was there on the issue of where records are actually inserted, I'll post the link...

  4. #4
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: Printing fields in Table order

    here's the link

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Sep 2006
    Posts
    236

    Re: Printing fields in Table order

    Quote Originally Posted by jggtz
    Please say :
    Crystal Reports version
    Data Source (Access, SQL,etc.)
    Method You set to retrieve the records ( DAO, ADO, ODBC, etc.)
    Sorry ... it's CRXI, mdb and I guess it's ADO (CRXI doesn't tell me specifically)

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Sep 2006
    Posts
    236

    Re: Printing fields in Table order

    Quote Originally Posted by VBFnewcomer
    simply sort(ASC) on the autonumber field....
    BTW you never know where exactly a new row is inserted. what you get while viewing records in a datasheet view (MS Access) is simply sorted result based on autonumber field.
    few days back a post (databse development) was there on the issue of where records are actually inserted, I'll post the link...
    Thanks VBFNewcomer. Duh ... did the trick.

    Thanks again.
    Ken

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width