Board index » delphi » List index out of bounds(-1) when Rave Format field is blank
Benj Nunez
![]() Delphi Developer |
List index out of bounds(-1) when Rave Format field is blank2007-04-20 05:21:20 PM delphi126 Hello experts! Recently I was using Rave to produce a report for my employer. I chance upon this error message: "List index out of bounds(-1)". Here's how to reproduce it: 1. In your Delphi code, make a call to Execute: RvProject.Execute; 2. When the Output Options dialog appears, choose "File" as your Report Destination. 3. Type in a filename (e.g. Test). I think you may or may not include the file extension. 4. Now, intentionally leave the Format field blank (The part where you choose *.ndr, *prn, etc.). 5. Click Ok After clicking Ok, you get this error, BUT the file gets saved. I am just wondering if there's a fix for this already. If there's none, can anyone tell me if there's a way to remove/hide this message? --Benj |