|
-
Aug 28th, 1999, 12:31 AM
#1
Thread Starter
Junior Member
Hi Folks.
I have a problem.
I don't know how to sort my Database before I print it in the Crystal Reports.
This is a part of it.
cr.DataFiles(0) = workdir
cr.SortFields(0) = "+djmm.Artist"
cr.ReportFileName = "printdoc1.rpt"
The MDB struct is
djmm.Artist
djmm.Title
djmm.BPM
Found in the help file how to do the SortFields, but for some reason it's not working.
Who knows what I'm doing wrong ?
Many Thanks.... Perry
-
Aug 29th, 1999, 04:25 AM
#2
New Member
Hi!!! Try with
Crystalreport1.sortfields(0)="+{tablename.fieldname}"
Crystalreport1.sortfields(1)="+{tablename.anotherfieldname}"
To deactivate sort with a fields do:
Crystalreport1.sortfields(0)="- {tablename.fieldname}"
See Ya!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|