Read Only Users (OpenInsight Specific)
At 10 AUG 1998 04:49:04PM Kelly wrote:
We have a screen to display customer details. We want only some of our users to be able to change the details.
At present we have a WRITE event script which detects who the user is and stops the record being updated.
Unfortunately, when the user clears the screen OI asks the user if they want to update the record and does it anyway.
Is there a simple way to prevent changes being made for some users and not others. We know who to block, but not how to stop the record being updated.
At 10 AUG 1998 05:01PM Don Bakke wrote:
Kelly,
Two simple ways to work this out:
1. Create a copy of the window in and disable all of the fields in this copy. Then detect the user before launching this window and launch the appropriate window.
2. Detect the user during the CREATE event of the window and disable all of the fields on-the-fly.
Don Bakke
SRP Computer Solutions
At 11 AUG 1998 04:19AM Oystein Reigem wrote:
Kelly,
If you follow Don's advice note the following:
- You cannot scroll an edit box that is disabled, so you may not see all the data.
- The same goes for edit tables, but here you can leave the control enabled. Instead set each column to Protected.
- Oystein -
At 11 AUG 1998 09:28AM Don Bakke wrote:
- You cannot scroll an edit box that is disabled, so you may not see all the data.
Yes this is true. The better approach for edit boxes is to literally set them as "read only" which will allow the end user to use the scroll bar. I don't have my docs with me at the moment but I believe this is done by setting a STYLE bit.
dbakke@srpcs.com
At 11 AUG 1998 02:12PM Dave Pociu wrote:
Oystein,
I've been trying to e-mail you for weeks now, but all I get is a message asking me to stop spamming the mail server. Perhaps a over-zealous web-master there?
Let me know how I can get in touch with you.
Thanks
Dave
At 12 AUG 1998 06:16AM Oystein Reigem wrote:
Dave,
I've been trying to e-mail you for weeks now, but all I get is a message asking me to stop spamming the mail server. Perhaps a over-zealous web-master there?
I asked one of our local systems people and he said your mail might be rejected if you "pretend to be someone else". I guess what he meant was that you send from one address but put a different address in the From field.
The rejection takes place at my employer's central node, i.e, at the University's main computing centre, not at my institute. So it's not something we can change. I think.
Let me know how I can get in touch with you.
At work we're in the middle of moving, so you might have problems now. Tomorrow (Thursday 13th) we expect to be totally cut off (both tel/fax and network). We hope to be all up and running on Friday.
Below are all my addresses and numbers, and my wife's too. If you want to call/fax me at home, do. Alernatively contact me through my wife's company.
Øystein Reigem,
Humanities Information Technologies (HIT),
Harald Hårfagresgt 31,
N-5007 Bergen,
Norway.
After the move (it's just the street address that changes):
Allégt 27,
N-5007 Bergen,
Norway.
My tel: +47 55 58 32 42
"Switchboard" tel: +47 55 58 29 54
Fax: +47 55 58 94 70
E-mail: oystein.reigem@hit.uib.no (oystein.reigem@hd.uib.no also works)
My wife:
Elin Solstrand,
Datadokumentasjon A/S,
Bredsgården 2,
N-5003 Bergen,
Norway.
Tel: + 47 55 32 08 02
Fax: + 47 55 32 14 95
Home:
Rindane 24,
5305 Florvåg,
Norway.
Tel/fax no: +47 56 14 06 11
E-mail: elins@bgnett.no (not checked every day)
- Oystein -
At 12 AUG 1998 09:27AM Dave Pociu wrote:
The whole world can find you now!
I just e-mailed you at your wife's address.
As for "pretending to be somebody else", my full name usually gets put in the From box instead of my e-mail address. I believe that it is the Outlook default. I also think that it makes more sense to see the person's name in the From field rather than something like gibberish@email_land.com . But that's just my oppinion…
Thanks
Dave
At 12 AUG 1998 10:33AM Oystein Reigem wrote:
Dave,
The whole world can find you now!
So you think I'll get some real spam now, and not just your suspicious-looking e-mail?
![]()
I just e-mailed you at your wife's address.
I checked with her and it hadn't arrived by 4 PM CET (= 3 PM GMT). But I'll ask her to check again later.
As for "pretending to be somebody else", my full name usually gets put in the From box instead of my e-mail address.
Try both. I don't know much about this but at least that is what I have on my system. Use angular brackets around the e-mail address, like
Oystein Reigem
I believe that it is the Outlook default.
And probably the e-mail systems I have used so far (Pegasus, and now Eudora) have had the "name " syntax as default, because I cannot remember ever having set that myself.
- Oystein -