Code: Select all
card "cvList": execution error at line 63 (Chunk: no such object), char 7
Code: Select all
on openCard
local tmp
logDebug( "me: " & name of me )
logDebug( the dgData of group "cvGrid" of me ) -- Formats and displays the array in a scrolling field - Successful!
put field "whichList" of me into tmp
put toUpper( char 1 of tmp ) into char 1 of tmp
set the title of this stack to "Inventory - " & tmp
put empty into char -1 of tmp
put "New " & tmp into line 1 of button "File" of group "cvMenuBar" of me
if( the dgData of group "cvGrid" of me is empty ) or \ -- This line fails (line 63).
( field "whichList" <> CurrentList ) then
loadDatagrid
end if
end openCard
I am at a loss.
Suggestions?
Thanks in advance.
Dave