PDA

Click to See Complete Forum and Search --> : [RESOLVED] Printing fields in Table order


SparrowHawk7
Mar 9th, 2009, 03:37 PM
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

jggtz
Mar 9th, 2009, 09:46 PM
Please say :
Crystal Reports version
Data Source (Access, SQL,etc.)
Method You set to retrieve the records ( DAO, ADO, ODBC, etc.)

VBFnewcomer
Mar 10th, 2009, 03:21 AM
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...

VBFnewcomer
Mar 10th, 2009, 03:42 AM
here's the link (http://www.vbforums.com/showthread.php?t=560074&highlight=insert)

SparrowHawk7
Mar 10th, 2009, 05:29 AM
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)

SparrowHawk7
Mar 10th, 2009, 05:36 AM
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