Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I get a cursor from another form?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00187252
Message ID:
00187256
Vues:
18
Christian,
Cursors, like tables, are accessible within the same 'datasession', which does not change automatically unless you have a form with the DataSession property set to 2. You also need to select the work area the cursor is in (SELE crsMyCursor), or reference it's alias (crsMyCursor.MyField).

HTH!
Mark

>Hello,
>I created a form in which a cursor is made. I want to print the information from this cursor into a report, but I want to open this report from another form (where some printoptions can be set.) But when I open the second form (from a button on the first form), the cursor is not 'visible' for this (second) form.
>How can I make a Cursor 'public?'
>Thank you for your time.
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform