| 
	
		| Subject | Re: GRID |  
		| From | Bruce Beacham <bbeacham@no_plm_lowman.co.uk> |  
		| Date | Mon, 13 Mar 2017 20:37:00 +0000 |  
		| Newsgroups | dbase.getting-started |  | On 11/03/2017 06:19, Mervyn Bick wrote:
 > You can add a calculated field to the table when you open the query and
 > the grid will be able to display that if you add a column but calculated
 > fields are read-only so you can't use it to show if a record has been
 > selected from the keyboard.
 
 Not strictly true.   You can use an assocarray to drive a calc field
 shown in a grid, so that the field's canChange sets the assocarray
 element to true, and the beforegetvalue reads that element and displays it.
 
 The assocarray key might be an autoinc field.
 
 
 Bruce Beacham
 
 
 |  |