H
Hon Seng Phuah
Guest
Hi all,
I do not understand why these code cannot work:
procedure( trSelectedResult(mainForm)
let( (selectedValue filePath revNo)
selectedValue = car(mainForm->trSearchResult->value)
if( selectedValue != nil
selectedValue = parseString(selectedValue " ")
if( eq("Email:" nthelem(1 selectedValue))
filePath = nthelem(2 selectedValue)
mainForm->trViewButton->enabled = t
printf("%s" filePath)
)
)
)
)
if I remove the printf statement, it works. Anyone has any idea what my problem is?
Thanks.
-HS Phuah
I do not understand why these code cannot work:
procedure( trSelectedResult(mainForm)
let( (selectedValue filePath revNo)
selectedValue = car(mainForm->trSearchResult->value)
if( selectedValue != nil
selectedValue = parseString(selectedValue " ")
if( eq("Email:" nthelem(1 selectedValue))
filePath = nthelem(2 selectedValue)
mainForm->trViewButton->enabled = t
printf("%s" filePath)
)
)
)
)
if I remove the printf statement, it works. Anyone has any idea what my problem is?
Thanks.
-HS Phuah