I still have that C5 error.
I changed all the with...endwith code like you told me to do.
But I kinda got a pattern to get to that error. I say kinda because I can't tell you when you'll get the error but you should get it.
So here it goes.
1. Edit a report
2. Get to step 2
3. Pick a selected field
4. Click on properties
5. Click on grouping for that field
6. click button [OK]
7. Preview the report
8. close the preview
9. Click on properties
10. Remove grouping on the field
11. click button [OK]
12. Preview the report
13. close the preview
14. Click on properties
15. goto 5
I got the error repeating that sequence between 3 and 6 times. I click on properties and I get that C5.
Here's the sequence to get to that C5
It's in french but you'll get the essential part of it.
Erreur irrécupérable : Code d'exception=C0000005 @ 2006-06-15 10:52:27.
Appelé à partir de sfrwizardquick.showfieldproperties line 34 {c:\stonefield\sfreports\sfreports.vct c:\stonefield\sfreports\sfreports.vct}
Appelé à partir de sfrwizardquick.pgfwizard.page2.ofieldpage.cmdfieldproperties.click line 1 {c:\stonefield\sfreports\sfreports.vct c:\stonefield\sfreports\sfreports.vct}
Appelé à partir de sfrwizard1.mainreportwizard line 29 {c:\stonefield\sfreports\sfreports.vct c:\stonefield\sfreports\sfreports.vct}
Appelé à partir de sfrwizard1.editreport line 14 {c:\stonefield\sfreports\sfreports.vct c:\stonefield\sfreports\sfreports.vct}
Appelé à partir de sfrwizard1.pgfwizard.page1.cmdedit.click line 1 {c:\stonefield\sfreports\sfreports.vct c:\stonefield\sfreports\sfreports.vct}
Appelé à partir de application line 481 {C:\Documents and Settings\Denis Chassé\...}
The only thing I understand out of this is that loFieldForm.Show() is the line causing that C5.
Even if I have that C5 does'nt necessarily mean you'll get it because perhaps things changed a lot between what I have (Stonefield Reports) and the current version of Stonefield Query.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé