Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Radio Button Action

Status
Not open for further replies.

ABigMac

Technical User
Sep 30, 2005
3
US
I have inherited a Notes db in which users enter data on a form which is displayed in a table. When saved, a radio button displays on the lower part of the form which is not accessible to the user but which I have access to and would like to use to approve or reject rows in the table. The table has a status column which allows for this with icons set up for "submitted," "authorized," or "rejected. My problem is I can't get the radio button to approve or reject. It is "stuck" on submitted (the status of which occurs when the user presses a "submit" button). Here is the code I have (which doesn't work) in order to change the status to "authorized" (same for rejected with appropriate text replacements). I'm hoping someone can clue me in as to why it doesn't work. Thanks in advance, for any help. --Ed

@Command([EditDocument];"1");
@If(@IsValid;"";@Return(""));
FIELD ChangeDate := @Today;
FIELD Status := "Authorized";
FIELD ChangeLog := ChangeLog + @NewLine + "Authorized on " + @Text(@Now);
@Command([ViewRefreshFields]);
@If(@PostedCommand([FileSave]))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top