Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with DynamicBackColor
Message
From
10/11/2020 10:41:50
 
 
To
10/11/2020 06:22:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01677077
Message ID:
01677087
Views:
48
Hi Tamar,

I set the record source just after the grid is added to the form - this is that form where I dynamically add "blocks" of controls (they are in a container). But then the record source does not change for the life of the container. After displaying the grid, focus is put onto another control outside of the grid. The user has to explicitly click "Add Row" to add a row to the grid and then at that point, I add a record to the view.

I will try adding a record to the view *before* the grid is bound to the view to see if that helps.

Albert

>
>Is it possible that the way you're adding the first row, you're actually reconstructing the RecordSource for the grid? Grids lose all their customization if you change their RecordSource.
>
>Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform