Subject |
about returning value from msgBox |
From |
Ivan Benttini <benttini2@gmail.com> |
Date |
Wed, 07 Aug 2019 08:33:36 -0400 |
Newsgroups |
dbase.getting-started |
when my form open and object called EDITOR1 is not visible, it hides information about that person, only to be realese to supervisors per exemple.
A message is displayed with an YES NO option
By clicking the YES option, EDITOR1 content should be visible to the USER.
By clicking the NO option, EDITOR1 content SHOULD NOT be visible to the USER.
example of the line of code below
cAnswer= MSGBOX("Do YOU have permission to see this type of Information","Alert", 4+32)
cAnswer should return 6 for YES and 7 for NO
error message below when user click option YES,
Error: Data type mismatch. Expecting: Object
NO error message when user click option NO.
Can someone tell me what I am doing wrong?
|
|