im new in filemaker and i try to change an current layout. there are some
radio buttons which should have a default value. is there an easy way to
meet my needs.
i had tryed an script but im not so skilled in filemaker scripting (im an
perl monger *smile*).
Here my try:
if["IsEmpty(Neu)"]
set Field["Neu","ValueListItems(Neu;"Yes/No")"]
End If
thanks for helping
btw: google dont give me an answer
cu chris
layout. so that the field 'neu' will automatically set if i go to an dataset
wich had no value in field 'neu'.
thx
"Christian Meissner" <cmei...@greenline-berlin.com> schrieb im Newsbeitrag
news:c4r3gp$2llmom$1...@ID-60748.news.uni-berlin.de...
You are not going in the right direction. A calculated field can't be
changed. Go to the field definition. Choose your field <Neu> [textfield],
click the options button. You get a new window [options for the field
"Neu"]. Click the box next to the word [Data] en type the value you want
into the textbox on the right side. ["No"]. please use the ". For each new
record you create the value will default to no, and you can change it when
needed.
I hope this is what you want.
--
Keep Well,
VintageUrsus
"Christian Meissner" <cmei...@greenline-berlin.com> schreef in bericht
news:c4r3gp$2llmom$1...@ID-60748.news.uni-berlin.de...
> Hi Group,
>
> im new in filemaker and i try to change an current layout. there are
> some radio buttons which should have a default value. is there an
> easy way to meet my needs.
>
> i had tryed an script but im not so skilled in filemaker scripting
> (im an perl monger smile).
>
> Here my try:
>
> if["IsEmpty(Neu)"]
> set Field["Neu","ValueListItems(Neu;"Yes/No")"]
> End If
>
> thanks for helping
>
> btw: google dont give me an answer
>
> cu chris
You're almost there...
What I would do is...
If[IsEmpty(Neu)]
Set Field[Neu,"default value"]
End If
Where "default value" is the value from the value list you want to be
the default, in your case I think either "Yes" or "No"
Someone else may some other suggestions that I don't know about but
that's how I'd do it.
Thanks
Batfastad
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 883-2846
FM Pro Solutions Los Angeles, California
Associate Member, FileMaker Solutions Alliance