×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

PROP:AcceptAll.

PROP:AcceptAll.

PROP:AcceptAll.

(OP)
Hi all,

I have a similar problem to rleiman (thread 192-1252644)when I embedded this code in the "When selected" event for the entry field -
"IF NOT 0{prop:AcceptAll}
 if ?AST:Dishonoured{PROP:Checked} = True  
    MOD:Priority = 'M'
    MOD:Process = 'Posted TAFE Certificate'
    MOD:Date = today()
    add(model)
 end
end"

This code "IF NOT 0{prop:AcceptAll}" stopped when the OK button was pressed, but doesn't add data when PROP:Checked is checked, only when it is unchecked.

I am using vers 5.5 enterprise & windows 7.
 

RE: PROP:AcceptAll.

(OP)
Hi All,

I fixed it by changing "if ?AST:Dishonoured{PROP:Checked} = True"

to

"if ?AST:Dishonoured{PROP:Checked} = 0"

Thanks,
Brian.    

RE: PROP:AcceptAll.

Hi Brian,

Why do you need to check for AST:Dishonoured{PROP:Checked} - can't you just check for the the TRUE value of AST:Dishonoured i.e.

Assuming AST:Dishonoured is a STRING(1) meant to contain a 'Y' if true and 'N' if false, you could check

IF AST:Dishonoured = 'Y'
   ...
END

OR

Assuming AST:Dishonoured is a BYTE meant to contain a 1 if true and 0 if false, you could check

IF AST:Dishonoured
   ...
END

Regards
 

RE: PROP:AcceptAll.

Hi Brian,

Forgot to add ::

Calling SELECT with no parameter triggers a PROP:AcceptAll mode which generate a EVENT:Accepted for all the controls i.e. other events like EVENT:Selected might not fire in a AcceptAll operation.

Regards
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close