Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error
Message
 
À
12/02/2003 14:00:42
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Re: Error
Divers
Thread ID:
00752397
Message ID:
00752403
Vues:
10
>Hi
>While submitting a form some times i'm getting the following error message for which i could not find help in MSDN.
>
>Microsoft Cursor Engine (0x800040E21)
>Multistep Operation Generated errors.Check each status value.
>
>Please tell me a possible reason and the solution

Rajan;

It could be that an attempt to enter too many characters into a field was made. To prevent that try this:
<INPUT id="txtPartNumber" TYPE="TEXT" Name="txtPartNumber"  Size=40
			style="FONT-SIZE: 9pt; 
			HEIGHT: 20px; 
			LEFT: 140px; 
			POSITION:absolute; 
			TOP: 140px; 
			WIDTH: 100px"
			Value="< %=trim(oRS("PartNumber"))%>"
			ReadOnly 
			maxlength="< %=oRS("PartNumber").definedsize%>">
Should you change the field length of your data things will work fine. If the user attempts to enter too many characters into the object, maxlength will not allow this to occur. Please note that in two places there is a space between the left < and % sign in the example above so the code could be posted.

You could also hard code a fixed value for maxlength but that is something I would never do. :)

Tom

P.S. Also the final version of this post has placed additional spaces before the closing quote marks for the Value and maxlength rows.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform