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:
00667099
Views:
18
This message has been marked as the solution to the initial question of the thread.
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

If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform