Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects in a grid always contain the same information.
Message
 
 
To
10/02/1999 21:17:12
Bob Fine
Fine Software & Consulting Services
Harriman, New York, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00186349
Message ID:
00186361
Views:
17
Bob,

First an easy reply, set the Column.Sparse = .f.

If that doesn't fix your problem let us know. Tell us the grid RowSource and column ControlSource

>There is probably a simple thing I'm overlooking, but I can't figure this out:
>
>I have a grid with one column. It is on a form produced with the form wizard, on a pageframe. The active control is an object that needs to display some calculated fields from the underlying table - i.e., the grid is linked to a table that contains codes and I want to display the text from other tables.
>
>The object has the code for looking up the names, and the very first instance of the object is correct. When the record pointer in the master table is moved, the actual records in the grid table change, but the text fields do not - it is as if one object is being copied over in the grid rather than being re-instantiated in each row.
>
>If I remove the calculated fields and display the underlying data all is cool - it works as expected.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform