Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

editing grid contents

Status
Not open for further replies.

Samalia

Technical User
Jun 7, 2005
46
CA
I'm using foxpro 9.0, but made the form in 6.0. Now that it is in 9.0, all the grids in my forms no longer work. When I try to edit the grids, I cannot click on them. but if I browse and append records then I can view those records when I run my report, edit them, but I can't add any other. In my double clik event for the grid's text box I have

this.SetFocus()
APPEND BLANK
this.valu = thisform.textbox1.value
thisform.Refresh()

why cant i add another record?

samalia

 
no, the allow cell selection of the grid is set to true. I've been having this problem with all child tables on my forms. I can put information into the parent table, but not the child.
 
Just a shot in the dark here - are the controlSources for your columns qualified by the Alias of the grid's RecordSource? If you specify only the field name for the column's ControlSource, the grid becomes ReadOnly.



Marcia G. Akins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top