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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lock Fields &LScript

Status
Not open for further replies.

CNeeds

Programmer
Mar 24, 2004
111
US
Is their anyway to lock certain fields on a form after the first save, but change other fields on the form. I know probable a longshot, but just in case there was a way...I'm asking.

Also, I have a LotusScript which moves values from one form to a new form. I would like to ignore the code if the QTY is blank or 0.

Example:
estdoc.Qty = doc.Qty
estdoc.Name = doc.Name

I want: If doc.Qty = "" or Qty = 0 Continue with Code below that

Thanks for any tips,
Craig

 
I would put the fields you want to control in a subform. Make a copy of the subform, and set the fields the Computed When Composed, and set the formula to the field names.
In your document, where the fields where, put a Insert Subform Based On Formula tag, and write the formula to load either of the subforms following the status of your document.

Pascal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top