Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie - can't edit recs in grid (The record is read-onl
Message
 
 
To
26/10/2006 11:46:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01164636
Message ID:
01164749
Views:
8
>I open INVDTAIL(and all other tables) in a main menu's valid snippet, just before the form is called.
>
>Interesting! I just added a field from INVDTAIL to the form as a text box and set its ControlSource to INVDTAIL.ItemCode (same source as grid's column 1). I CAN edit this field. I also had added a ThisForm.PageFrame1.Page1.Details.refresh to the valid snippet of this text - and indeed the grid refreshes. PLUS, I can edit records in the grid. BUT, if I remove the text box field from the form/page, I go back to not being able to edit in the grid. We're close here, I can smell it :) But I'm not sure what to check next?

Hmmm, this is a bit strange. Try to put this.grid1.SetFocus() in page.Activate method.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform