Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relating a view to a table control source
Message
From
03/09/2010 12:33:32
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01480034
Message ID:
01480040
Views:
27
>>Hello.
>>Im trying to link my Grid(control source View) to my fields( control source table).
>>so like everytime I move thru the grid the info is reflected in the field.'
>>Now i know exactly how to do this if the control source of the fields are views. but i cant seem to make it work when the control source for my fields are tables ( well actually it only works once when i move to record too but not for the others)
>>
>> Is there a procedure i missed to allow it too work the way i wants it too?
>
>What exactly is the problem? If you link your grid and the individual controls to the same view, then you can do
>thisform.Refresh() in the grid AfterRowColChange event and then the controls will be refreshed with the correct values when you navigate through the grid.

Yes that can be done, but i want to link the grid too a view an my fields to a table. The view which i link too the grid is derived from the main table. I dont want to link too the same view. Also i do have the refresh after the grid AfterRowColChange event but it only navigates once, after that it stop working
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform