Re: Populating a field from account login...
- From: Helpful Harry <helpful_harry@xxxxxxxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 08:44:03 +1300
In article <c338r1taqomuhpmtrqqf95oh0jni4s58j1@xxxxxxx>, VoicesInMyHead
<not@xxxxxxxxx> wrote:
> Well... apparently I am still getting the id 10 t error...
>
> Account Field:
> Get(AccountName)
>
> The Account Field is working great - when I login in with each different
> account
> - it changes to the account I am using.
>
> Now, the Lab Field also changes with each account change - however, Lab Field
> now changes on all my records. Neither field is set for global storage.
>
> Lab Field:
> Case (
> account = "lab011" ; "Main Lab";
> account = "labt012" ; "Lab #2";
> account = "lab013" ; "Lab #3";
> "EVALUATE"
> )
>
> On a side note, once I get this working, I need at have each lab only see
> their
> own records. Each lab has it's own login (obviously), and I created a custom
> privilege set for each. But what kind of script am I looking at making so
> they
> only see their own entries? Find or Omit or a combo of both?
If "Lab Field" is a Calculation field, then it WILL change whenever any
data it's based on changes (ie. when "Account" is changes) - that's
what Calculation fields are meant to do.
If you want "Lab Field" to stay static once it has data, then it should
be a normal Text field using an Auto-enter calculation (using the same
actual Case function) - that way the "Lab Field" data will only be
calculated once, when the record is first created.
Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)
.
- Follow-Ups:
- Re: Populating a field from account login...
- From: VoicesInMyHead
- Re: Populating a field from account login...
- References:
- Populating a field from account login...
- From: VoicesInMyHead
- Re: Populating a field from account login...
- From: VoicesInMyHead
- Re: Populating a field from account login...
- From: Helpful Harry
- Re: Populating a field from account login...
- From: VoicesInMyHead
- Populating a field from account login...
- Prev by Date: Re: color field from calculation
- Next by Date: Re: Updating FMP via network install.
- Previous by thread: Re: Populating a field from account login...
- Next by thread: Re: Populating a field from account login...
- Index(es):
Relevant Pages
|