Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Erik Gomez
  Where is Erik Gomez?
 Victorias City, Negros Occidental
 Philippines
 Erik Gomez
 To: Dale Dedoroy
  Where is Dale Dedoroy?
 Bacolod City, Negros Occidental
 Philippines
 Dale Dedoroy
 Tags
Subject: RE: Can I edit the field in a grid?
Thread ID: 359 Message ID: 361 # Views: 3 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Thursday, May 24, 2001 11:44:31 PM         
   


> > I have a form with a grid, created by the form builder and I want to allow 'Edit' in the grid. However, it seems I am allowed to do it because I was displayed 'This record is read only' when I tried to change the information of a field in the grid. I did not change any value of the property in the grid becuase it is beyond my means to do it but I found out the ReadOnly property of the Grid has already set to .F. by default. How can I make change in the Grid like in the browse windows?
> >
> > Thanks.
>
> Hi,
> Drill down to grid's objects. Columns have their own ReadOnly attributes. Also, column's currentobjects such as textboxes, combo boxes, etc. Each one has its ReadOnly attributes. Check those.
>
> Hth,
> Dale
In additon to Dale's suggestions, check also the ControlSource of each column of the grid it should contain 'MyTableName.FieldName'

hth,

Erik Gomez

ENTIRE THREAD

Can I edit the field in a grid? Posted by Vincent So @ 5/24/2001 8:11:30 PM
RE: Can I edit the field in a grid? Posted by Dale Dedoroy @ 5/24/2001 9:15:09 PM
RE: Can I edit the field in a grid? Posted by Erik Gomez @ 5/24/2001 11:44:31 PM
RE: Can I edit the field in a grid? Posted by Vincent So @ 5/25/2001 2:59:35 AM
RE: Can I edit the field in a grid? Posted by Eric den Doop @ 5/25/2001 3:36:03 AM
RE: Can I edit the field in a grid? Posted by Ryss Unger @ 5/25/2001 2:44:37 PM
RE: Can I edit the field in a grid? Posted by Vincent So @ 5/27/2001 9:38:54 PM