Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid, how to know its bound cursor
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00743210
Message ID:
00743211
Vues:
16
You can add property cCursorName to your grid class.
WITH ThisForm.eGridSelection && My custom Grid
  .cCursorName = SYS(2015)
  .RecordSource = "SELECT * from Customer INTO CURSOR " + .cCursorName
  .RecordSourceType = 4
ENDWITH
>I want to know the bounded cursor of and Grid, this grid will be in a custom Class, it could be easy if I check the RecourdSource property, but I want to know the cursor binded when I'm using RecordSourceType = 4. Is there an easy way?, or must I have to split the RecordSource? if I must do it which event must I check?
>
>The Grid class would pay attention in Dynamical re-asigment of RecordSource:
>
>
>   WITH ThisForm.eGridSelection && My custom Grid
>         .RecordSource = "SELECT * from Customer INTO CURSOR "+SYS(2015)
>         .RecordSourceType = 4
>   ENDWITH
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform