Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid selection not reflecting record change
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00667054
Message ID:
00667418
Views:
25
What about when I am making changes to the textboxes, how will my grid see the changes? Is it then I would use the requery?

Thanks
Nick Patel

>Why do you need to requery a view? Instead, put thisform.refresh in Grid.AfterRowColChange.
>
>Invoke this code only then you change rows (not columns).
>
>>I have a grid attached to a view and also text fields attached to a view. What I want to do is when I click on a record in the grid, I want my textboxes to show the selected record from the grid. I put the code in interactivechange as follows but the records are not changing in textbox, infact they are disappearing from the grid altogether:
>>
>>


>>WITH thisform
>> lc_id = lv_veh_assign.a_uniqueid
>> REQUERY('lv_veh_assign')
>> .refresh()
>>endwith
>><\p>
>>
>>Am I missing something here?
>>
>>Thanks
>>Nick Patel

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform