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
From
26/10/2006 11:55:08
 
 
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:
01164738
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?

Say wha'?!!!

So this suggests that the table is editable but the grid is not. However, you say with the textbox ytou can also edit the fields in the grid. You can EDIT the field in the grid but when you save (and refresh) does the change remain permanent or revert?

You HAVE checked the complete drill-down of grid - column - textbox for .ReadOnly ?

Curiouser and curiouser.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform