Difference between revisions of "SHOW GETS"
From Recital Documentation Wiki
		
		
		
Helengeorge  (Talk | contribs)  (→Class)  | 
				Helengeorge  (Talk | contribs)   | 
				||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
==Purpose==  | ==Purpose==  | ||
Refreshes current @...GETs on the screen.  | Refreshes current @...GETs on the screen.  | ||
| Line 41: | Line 39: | ||
==Products==  | ==Products==  | ||
| − | Recital   | + | Recital    | 
[[Category:Documentation]]  | [[Category:Documentation]]  | ||
[[Category:Commands]]  | [[Category:Commands]]  | ||
[[Category:Screen Forms]]  | [[Category:Screen Forms]]  | ||
[[Category:Screen Forms Commands]]  | [[Category:Screen Forms Commands]]  | ||
Latest revision as of 16:12, 25 November 2009
Purpose
Refreshes current @...GETs on the screen.
Syntax
SHOW GETS
See Also
@...GET, SET POSTMENU, SET POSTRECORD, SET PREMENU, SET PRERECORD
Description
The SHOW GETS command refreshes current @…GET values on the screen. This command is particularly useful when called from a VALID function or from trigger procedures which change the values of currently displayed @...GETs. NOTE: This command is not designed for use in table fields, created with the DEFINE TABLE command.
Example
function get_state do case case substr(m_zip,1,2) = "01" m_state = "MA" case substr(m_zip,1,2) = "91" m_state = "CA" otherwise m_state = "XX" endcase show gets return .T. m_zip = space(5) m_state = space(2) @10,05 say "Enter Zip" get m_zip; valid get_state() @12,05 say "Enter State" get m_state read
Products
Recital