Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why 2 Data Blocks for a Column in a Grid
Message
De
10/10/2004 15:49:36
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
 
 
À
10/10/2004 13:13:27
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00950271
Message ID:
00950283
Vues:
18
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.

I guess my question should have been:
a) Why don't the ControlSources for the column stay alive when the RecordSource is changed?
b) Why is there a ControlSource for the text1 element? Why would an entry ever be needed there?

Mike Smith
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform