Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a File in a Called Private DS form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00877791
Message ID:
00877838
Vues:
11
Hi David. Thanks for your reply.

I'll have a go at your suggeation.. my only concern is that some of the tables can be quite large (They are only used in these forms for enquiry purposes) and creating a cursor intoduces another overhead.

Thanks againfor your help.

Regard,

Gerard



>
>Nope, you'll have to convert the cursor to something you can pass across the private ds boundary, like CursorToXML() or setup methods on the parent form that would allow you to ask for individual items.
>
>But I'd set your child form to default ds and let them open inside the parent form ds. It's not that hard to use sys(2015) to create unique names for cursors used in the child forms. I use this scheme a lot to allow a user to edit different child records at the same time.
>
>>I have a Private Datasession from (Say Forma)which calls a no. of forms, (Say Form1,Form2,Form3 etc) which I set up as private datasessions because thy all can use the same files, but I want to keek the data separate.
>>(Each of Form1,Form2,Form3 are differnet views of the same data)
>>
>>My problem is that in Form A, I have a Cursor created from a Sql command ,that I want to access in each of the Private datasession Forms (Form1,Form2,Form3) but these forms dont seem to see the Cursor generated in FormA.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform