×
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

Fill Fields Dynamically Not in Edit Mode

Fill Fields Dynamically Not in Edit Mode

Fill Fields Dynamically Not in Edit Mode

(OP)
Hi all,

I hope I explain this correctly.  We have a subform that has fields that are dynamically filled with items from another database when the form is loaded.  I want the document to be locked in readonly mode during the entire process so noone can modify it.  I can get everything working right except for the fact that the document won't update unless it is in edit mode.  Coming out of edit mode through lotusscript makes headaches of its own, so I would rather the doc. always be in readonly.  I'm thinking that if computed fields can dynamically establish their values without being in edit mode, then I should be able to modify a document as it is loaded without going into edit mode.  When the user selects the entry in a view, I have all of the information that I need at that point to also fill the subform correctly.  I'm not sure when to fill the subform so that it won't go into edit mode.  Any help would be appreciated.

Thanks,

Fred

RE: Fill Fields Dynamically Not in Edit Mode

Are the fields in your subform Computed for Display ?
If they are, it might work.

Pascal.

RE: Fill Fields Dynamically Not in Edit Mode

(OP)
Thanks for responding Pascal,

I was able to get around the problem by putting the code in an event fired by the view.  Once the event fired, I knew which back end doc I wanted to modify, so I did it before creating the uidoc.  Everything has worked great since.

Thanks,

Fred

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