08-30-2019, 10:02 AM
(This post was last modified: 08-30-2019, 10:04 AM by clarencemartin.)
I did more testing and thank you for the suggestions, BUT:
the folwing code works:
__________________________________________________________________________________________________________________________________________________________________________________
on mouseUp pButtonNumber
-- code
local tTable, tTarget, tKeys, tOutputA
put "test - venueData" into tTable
put "cloud" into tTarget
put "venueName" into tKeys
put empty into field "sourceList"
put cdb_list(tTable,tTarget,tKeys) into field "sourceList"
put cdb_result("recent")
end mouseUp
_________________________________________________________________________________________________________________________________________________________________________________
the following code does not
on mouseUp pButtonNumber
-- code
local tTable, tTarget, tKeys, tOutputA
put "test - venueData" into tTable
put "local" into tTarget
put "venueName" into tKeys
put empty into field "sourceList"
put cdb_list(tTable,tTarget,tKeys) into field "sourceList"
put cdb_result("recent")
end mouseUp
_________________________________________________________________________________________________________________________________________________________________________________
"This is not Logical" as Mr. Spock would say.
The reason that I use the cdb_list command is that it gives me a single key result for my list.
I could use a simple cdb_read command but then I have to hide the first column of my list to get a simple list.
I am sorry for being such a pain, but the documentatio shows that this could be done.
the folwing code works:
__________________________________________________________________________________________________________________________________________________________________________________
on mouseUp pButtonNumber
-- code
local tTable, tTarget, tKeys, tOutputA
put "test - venueData" into tTable
put "cloud" into tTarget
put "venueName" into tKeys
put empty into field "sourceList"
put cdb_list(tTable,tTarget,tKeys) into field "sourceList"
put cdb_result("recent")
end mouseUp
_________________________________________________________________________________________________________________________________________________________________________________
the following code does not
on mouseUp pButtonNumber
-- code
local tTable, tTarget, tKeys, tOutputA
put "test - venueData" into tTable
put "local" into tTarget
put "venueName" into tKeys
put empty into field "sourceList"
put cdb_list(tTable,tTarget,tKeys) into field "sourceList"
put cdb_result("recent")
end mouseUp
_________________________________________________________________________________________________________________________________________________________________________________
"This is not Logical" as Mr. Spock would say.
The reason that I use the cdb_list command is that it gives me a single key result for my list.
I could use a simple cdb_read command but then I have to hide the first column of my list to get a simple list.
I am sorry for being such a pain, but the documentatio shows that this could be done.