Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with grid?
Message
From
10/08/2006 14:33:29
 
 
To
10/08/2006 14:27:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01144600
Message ID:
01144602
Views:
20
>hi,
>I am doing a system for college and have the following problem with a grid.
>am working with the process of inscription where in a grid I prove to be the students who are going to register and inside, the grid I have a check to select everything the first time works well; but when I try to make the grid another inscription one distorts and loses the form and what goes out for me on screen they are the fields of the cursor that this linked to the grid.
>
>And though I whiten the recordsource it works out equal
>
>thisform.folder.page2.grid1.recordsource="" Before assigning him
>and after
>thisform.folder.page2.grid1.recordsource="cursor"

Avoid changing the recordsource! In stead you do like this
Select -Whatever- into cursor tempcursor
Select yourcursor && the grid's recourdsource
zap
append from dbf('tempcursor')
yourgrid.refresh()
Previous
Reply
Map
View

Click here to load this message in the networking platform