Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursorfill or requery()?
Message
De
07/11/2003 16:52:28
 
 
À
06/11/2003 23:41:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00842623
Message ID:
00847827
Vues:
35
Hi Carlos.

>I was checking out the cursor adapter builder project. In the save method of selectproperties class I found this:
>
>* Ensure CursorSchema is < 256 characters.
>
>local llReturn
>llReturn = len(Thisform.oCursor.CursorSchema) < 256
>if not llReturn
> messagebox(ccMSG_CURSORSCHEMA_TOO_LONG, MB_OK + MB_ICONSTOP, ;
> Thisform.Caption)
>endif not llReturn
>return llReturn
>
>Do you know what is the reason of that? I was checking out the methods to adquiere the cursoradapter schema and I din´t find a logical reason to do that.

That's because the Properties window can't accept values more than 255 characters, and generating the CursorSchema in code would prevent you from dragging and dropping fields from the CursorAdapter to a form. Fortunately, this limitation will be lifted in Europa.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform