Hi,
@If(DataLib=“Prequalification”:“Formal Tender” & DueDate!=@Today;“Not Yet Bid”:“No Bid”;
DataLib=“Data Library”:“Budgetary Quote”& DueDate!=@Today;“N/A”;
DataLib=“Formal Tender”:“Prequalification”:“Data Library”:“Budgetary Quote” & DueDate=@Today;“Outstanding”;
DataLib=“Formal Tender” & StatusOld=“Outstanding”;“Awarded”:“Cancelled”;
DataLib=“Prequalification” & StatusOld=“Outstanding”;“Qualified”:“Not Qualified”:“Cancelled”;Status)
The code above is in a field called Status and it’s an editable/diaglog field.
The first 3 lines of code are working, however I do have a problem, because I only want “Not Yet Bid”:“No Bid” and “N/A” to appear if it’s
a new document and DataLib is equal to …
Then, the doc is saved, then when they edit it again, if the DueDate is equal to Today then the Status option is Outstanding, otherwise it’s the same
as NewDoc or nothing. doc is saved again.
When edited, the options they have after that is Awarded:Cancelled if Formal Tender or Qualified:Not Qualified:Cancelled if Prequalification.
Hope this makes sense?
Looking forward to hearing from anyone.
Hayley