I have a grid with a command button in column 5,
The button caption is 'PDF' and clicking it opens a file whose name is in field DBFNAME of the open DBF.
What is wanted is for the button's caption to be grey if field DBFNAME is empty or blue if that field contains a filename.
I've tried putting IIF(empty(dbfname),....) lines + refreshes in the grid's before/after rowcolchange, and gotfocus. Unsucessfully.
Help please
The button caption is 'PDF' and clicking it opens a file whose name is in field DBFNAME of the open DBF.
What is wanted is for the button's caption to be grey if field DBFNAME is empty or blue if that field contains a filename.
I've tried putting IIF(empty(dbfname),....) lines + refreshes in the grid's before/after rowcolchange, and gotfocus. Unsucessfully.
Help please