Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 2072 strikes again
Message
De
02/08/2006 22:09:28
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
02/08/2006 20:09:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01142562
Message ID:
01142570
Vues:
15
>Maybe something like this?
>
>*-- do not define the controlsource of your grid in the form properties

Tried that now - actually, the grid is built in its .init anyway, so having a recordsource set as a PEM didn't mean anything.

Too bad, didn't work.

>*-- something like this in your listbox page1 process
>
>>1. remove the controlsource of your grid on page 2 if it exists
>>2. a record from the table is loaded into a couple of objects, to be shown on page1
>>3. the cursor for the grid is zapped
>>4. a bunch of records is inserted into the cursor
>>5. set the controlsource of your grid on page 2 after the cursor exists

I think I tried something similar already, but the grid rebuilt itself (and I have a checkbox in column5, and field5 is a string, so this blows right away). I know it shouldn't rebuild, but it did.

Anyway, Jim's suggestion, combined with kill/recreate grid seems to work.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform