Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String is too long to fit ( 1903 error code )
Message
De
06/01/2002 21:06:45
 
 
À
06/01/2002 20:49:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00601379
Message ID:
00601386
Vues:
15
Closed.

Had memo field with the length > 255

changing

THISFORM.first_lines[i,2] = comm_desc

to

THISFORM.first_lines[i,2]=iif( len(comm_desc) > 80 , left(comm_desc , 80 ) , comm_desc )
fixed the problem.

Though it is still not clear either why there was no complaint for this particular line or length limitation for array element ( if exists )


>Started to experience a strange problem with the code below
>
> WITH aforms[Icurform].pageframe1.page1.hitlist
> IF .LISTINDEX = 0
> .LISTINDEX = 1 && line causing this error
> ENDIF
> ENDWITH
>
>Problem seems to be intermittent and the same code works in most cases.
>Commenting this fragment results in the same error for
>
>THISFORM.pageframe1.page1.hitlist.ROWSOURCE="thisform.first_lines"
>
>in Show method.
>
>To be exact before refreshing hitlist PHD search is run and funnily enough the problem manifests itself only for some keywords in certain free table. PHD search itself creates a cursor correctly for this word.
>
>Any hints are greatly appreciated.
>
>Thank you.
>Michael
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform