Hey all
I need some help asap please!!
I have a view…and if i just select a record in the view i would like to mark the document complete or incomplete.
Basically the only records in the view that appear are the ‘incomplete’ records based on there status.
I have a button on the view that displays the ‘complete?’ button if the record is incomplete and when i click on it (once), i would like the status to change from incomplete to complete.
How do i achieve this without having to double click on the record to open it??
So far i have written this…
@Command([EditDocument]); @SetField(“Status”;“Complete”);
@SetField(“CompletedDate”;@Now); @Command([FileSave]);@Command([ViewRefreshFields])
Thank you in advance
Gem x
Subject: Help Please with my simple formula
If You only want to work with the document selected/highlited you don’t need to open the document with [EditDocument]. You can simply just change the field values directly. Have this in Your view action button:
FIELD Status := @If(Status = “” | Status=“Incomplete”;“Complete”;Status);
SELECT @All
If You want to do the same thing on several selected documents then do the same thing in an agent that works on selected documents and have the view action to execute the agent instead…
hth
Subject: RE: Help Please with my simple formula
Hey,
Thanks for your advice.
Ive had a go with the example you given me but the status doesnt appear to change?
Any suggestions?
Thanks in advance
Subject: RE: Help Please with my simple formula
FIELD Status := “Complete”;FIELD CompletedDate := @Now;
Subject: RE: Help Please with my simple formula
Thanks - it works :o)