Database of Messages
Tony Ryder
tryder at westnet.com.au
Mon Aug 16 16:26:09 PDT 2004
> -----Original Message-----
> From: Rod Caddy
>
> After re-reading my post several days later I see that I must
> have been on serious drugs when I wrote this. I really mixed two
> thoughts in one question, Let me try again.
>
> I have a need to access certain parts of a system for super users
> but do not want regular users to access those menus at all. I
> already have a database of users and have them supply a login and
> password when they access the system. In that process I create a
> file that is then run to create two environment variables that I
> need (username and userlevel). I can then call these from any
> processing and determine whether they should have access or not.
> What I want to do, Is give them the message at the menu level not
> once they have selected something from that menu. I hope that
> one is better.
>
> My second mixed question, from the day of heavy drug use ;~), is
> the creation of a database of messages. I can use msgbox and
> create multi-line messages but it would be nice to create a
> database of messages that I could call as needed for those
> mundane over and over messages that you need in processing. As I
> see it, I think it needs to have the ability to have multiple
> lines. If I am missing something obvious, which I am suer that I
> am, please point it out so that I can go crawl under my rock
> again. Thanks for the suggestions.
John Esak showed me an easy way to display a message that could be
customized exactly the way you want it to be and I think this would
work well in your case.
Design a screen with the text, colour and border just the way you want
it and use popup (row,col) filename,screen to display the message and
clearp to remove. By using this method you could create any number of
messages and have processing access them when required.
Tony Ryder
More information about the Filepro-list
mailing list