Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid refreshing - my turn had to come!
Message
From
04/01/1998 16:09:51
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00068349
Message ID:
00069377
Views:
28
>>Hi! I have come to the point where I need a Grid to refresh and it simply won´t! The controlsource is an SQL whic reads the correct data into a cursor. When I move to a new record in the main database, I want the grid to refresh the contents - but the cursor always remains the same. Should I be using something different?
>>
>>Thanks for any help!
>>
>>Peter
>
>Peter, I think you should use the paremeterized view as RecordSource for the grid, so when you move in main database you should Requery the view and refresh the grid.
>
>HTH,
>
>Nick

Thanks for the tip. Actually, I found in the knowledgebase a tip suggestion to equal the recordsource of the gris to itself, and it worked.

this.grid.recordsource=this.grid.recordsource

Apparently, the default behaviour of the grid caused the problem!

Thanks,

Peter
Previous
Reply
Map
View

Click here to load this message in the networking platform