|
-
Jul 27th, 2000, 08:52 AM
#1
Thread Starter
New Member
To sort at runtime you must code the following:
CrystalReport1.Sortfields(0) = "+{Tablename.Fieldname1}"
CrystalReport1.Sortfields(1) = "+{Tablename.Fieldname2}"
and so on.
This order is ASC for the fields. If you want to sort by DESC change '+' to '-'.
Good luck
-
Jul 27th, 2000, 09:52 AM
#2
Lively Member
Thanks Markus H!!
It works. I was playing with this last night for about 2 hrs trying to figure out how to sort at runtime.
Do you know of any sites that has tips on using crystal with VB ?
-
Jul 31st, 2000, 02:26 AM
#3
Thread Starter
New Member
There are some VB examples in your Crystal Reports installation directory. You can read the helpfiles too; developr.hlp shows the use of the Crystal OCX.
Or go to Seagate directly.
http://community.seagatesoftware.com/homepage
Then follow the link 'Download Files and Updates'. You can find many examples.
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
|