CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 StartIndex cannot be less than zero. Parameter name: startIndex

Print topic Send  topic

Author Message
bianchef

Posts: 17
Posted: 03/30/2007, 5:56 PM

My error is "StartIndex cannot be less than zero. Parameter name: startIndex" on clicking Add button in vCalendar events page.

I would like to display the Add button at all times so that a new record can be inserted (displayed with Submit, Delete, Cancel on the record form).

The syntax I use for custom code in beforeshow is
<formname><buttonname>.Visible=True
The Add button is displayed by this code but I receive the StartIndex error message when clicking the Add button.
The record is inserted into the database despite the error message.

I need to either remove the error or suppress the error for users not to panic using the vCalendar when inserting events.

Any ideas on how to do this?

for a reference, see YesSoftware Forums -> CodeCharge Studio -> .NET
Add, Submit and Delete
http://forums.yessoftware.com/posts.php?post_id=60219

My environment is CCS 3.1, Ultraapps vCalendar (asp.net vb), IIS 6.0, SQL 2000
View profile  Send private message
gregm

Posts: 21
Posted: 04/02/2007, 12:26 AM

you could put a try catch round your code to specifically catch the warning.

try
<your code>
catch <index exception>
end try
_________________
Greg Martin
gmartin@microresource.co.uk
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.