Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why 2 Data Blocks for a Column in a Grid
Message
De
11/10/2004 10:25:55
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
10/10/2004 15:49:36
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00950271
Message ID:
00950422
Vues:
12
>Mike:
>
>OK, I didn't know that part.
>
>But what I have been finding is that if I attempt to reuse a Grid with a different Data File, the ControlSources for the Columns all go blank but the ControlSources for Text1 elements remain intact.
>
>In this case I had built the original grid without a reference to the actual data source e.g. the ControlSource would be called "Price" rather than "Trans1.price".
>
>I thought this would make it easier to adapt it for my cursor "Trantemp" but no way because the ControlSources for each column all evaporate when the RecordSource for the Grid is changed. But the ControlSources for Text1 of each column stay alive where they are useless.

My trick to swap tables under the grid is to have a readwrite cursor for its recordsource. Then when I need to use a different set of data, I zap this cursor and append new data into it. The grid remains intact and I have no problems.

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform