Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid, how to know its bound cursor
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00743210
Message ID:
00743211
Views:
15
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform