Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is my grid acting all weird?
Message
From
01/03/2012 13:52:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Why is my grid acting all weird?
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01536964
Message ID:
01536964
Views:
108
Hi All

I've got a cursor that has a couple of memos in it, so I set up a grid for the non-memo and 2 editboxes for the memo fields on my Search form.

The user can change the contents of the cursor, so in the Click method of the "Search" button I've got

Thisform.GrdLookup.RecordSource = ""
thisform.GrdLookup.RecordSource = "LookComb"

When the grid first displays, it's showing the 10 columns I want it to show with header captions, etc, but after the 'Search' button is clicked, it displays as if I'd just thrown the cursor at the grid. Yes, I've got each column 'hooked' to its respective field. Why is my grid doing this? Other than to make me a little more crazy, I mean

Dorris
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Next
Reply
Map
View

Click here to load this message in the networking platform