General information
Category:
Forms & Form designer
Title:
Grid Cell changes when it gets focus
I have a grid. At run time I set some properties:
WITH ThisForm.grdQ
.RecordSource = 'MyQSET'
.ColumnCount = 4
.RecordSource = 'MyQSET'
.columns(1).ControlSource = "Question_ID"
.columns(4).ControlSource = "Seq"
.columns(4).header1.caption = "Sequence #"
.columns(4).width = 100
.SetAll('ReadOnly', .T., 'Column')
When I run the form, the first seq # is displayed as 0. When I click in the cell the correct value displays.
Clicking on any other cell (row or col) causes it to display as 0 again.
The underlying table has SEQ defined as Integer.
Theories:
1) SEQ is reserved? nah.
2) The builder did something behind the scenes. When I added the last column, it got unhappy.
3) It's a display highlight issue? nah.
Not coming up with much else. Ideas?
Hans
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only