Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double-Click in Grid Textbox
Message
From
10/06/2010 12:45:42
 
 
To
10/06/2010 02:55:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01468179
Message ID:
01468331
Views:
41
>I have not read the whole thread, so please forgive me if this is not an answer to your problem. The cursor which drives the grid should be created in the form's load event. Then it will already exist when the grid is created. If this empty cursor has the same structure as a table, the easiest is
>Select * from yourtable where .f. into cursor somecursor readwrite
>
How do you handle it when the source of the grid depends on a parameter passed to the form? It could be an SQL statement that needs to be run. It could be a value that gets plugged into a WHERE clause. It could even be the name of a cursor that was created in the calling program.

As I mentioned to Naomi, I think the source of my problem is in the VFP environment. Run the form once and it works. Run it again and it doesn't. It's a problem in my test/development environment but when I create an EXE for the user, everything seems to be OK.

Thanks for taking the time to respond. I do appreciate it.
Previous
Reply
Map
View

Click here to load this message in the networking platform