Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 28 OCT 2009 02:47:46PM David Nicol wrote:

I am not able to figure out why SET_PROPERTY(…"LIST",table) is not updating a table. Using 'Debug', I see that the value of table is correct but it doesn't seem to get to the display screen. The following routine is called from the Default Value for the column in the array. Anyone have a suggestion?

Project_Validate:

table =Get_Property(@window:".ACCOUNTS", "LIST")
  selPos=Get_Property(@window:".ACCOUNTS", "SELPOS")
  Property=Get_Property(@window:".PROPERTY", "TEXT")
  selCol=selPos
  selRow=selPos
  If not(selRow) then selRow=1
  key=Property:"*":table
	Project=Xlate("PROJECTS", key, "PROJECT", "X" )
	If Project  "" Then
	    convert @vm to "," in project
	    project:=,None"
	    Message="
	    Message=Pick a Project"
	    Message=B":Project
  	retval=Msg("", Message)
  	Selected=Field(Project,",",retval)
  	If Selected ne "None" then
  		table=Selected
  		display=Set_Property(@window:".ACCOUNTS", "LIST", table)
  		debug
  	end
  End

Return


At 29 OCT 2009 09:46AM Bob Orsini wrote:

David, if this routine is called from the default value then the result must be the return value for the cell.

RETURN SELECTED


At 29 OCT 2009 09:46AM Bob Orsini wrote:

David, if this routine is called from the default value then the result must be the return value for the cell.

RETURN SELECTED


At 29 OCT 2009 05:34PM David Nicol wrote:

Thank you Bob. That fixed it.

Dave

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/fb3a6bae7ec5261f8525765d00674034.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1