List box - default value
can we set a default value in a value list? I mean automatically set to the def value
I have defined the field to auto enter the desired default, but allow the user to override. That way when a new record is created the default value is already there, but in instances where it needs to be changed the value list still pops up and allows the user to change it.
This is done by entering the desired value in the "data" box on the auto-enter tab in Field Options for your field.
sorry, where is this auto-enter tab? i cannot see it
Open manage | database | Fields
Find the field's definition
Double Click it.
ok, i put it, but the pbm in my layout when i pass to browse mode the lsit box doesn't contain the default value by default
It should for each new record you create. Updating an auto-enter property will not affect existing records. If you want to update the value in them after changing auto-enter settings, you can use replace field contents to update them in a single batch update.
ah, i forgot to tell you that the field is a global storage field, so no new record
There are several different ways you can set a default value in a global field. See this thread: Global field data disapears
Retrieving data ...