Donkick Posted May 11, 2011 Posted May 11, 2011 I have a portal that shows records based on a global field - all works well... except when you first open filemaker. I need to create a new record before the global field is populated. Once the new record is created all the related records show as expected. So none of the related records show in the portal until after I have created a new record. Then all the expected records show. Any suggestions?
comment Posted May 11, 2011 Posted May 11, 2011 I need to create a new record before the global field is populated. Something is missing from your description. A global field CAN be populated with no records in the table. OTOH, creating a new record by itself will not populate a global field.
Vaughan Posted May 11, 2011 Posted May 11, 2011 When the file is first opened, what is the value in the global field? What is in the field after the new record is created?
Donkick Posted May 13, 2011 Author Posted May 13, 2011 The value is empty when the file is first opened, then once a new record is created the value "TASK" is auto entered correctly, then everything works fine from that point. So the specific questions is how to keep the value of "TASK" in the field even before a new record is created? The value never needs to change, I would like it to always exist without needing to create a new record for it to be "auto entered" Thanks Don
Cabinetman Posted May 13, 2011 Posted May 13, 2011 The value is empty when the file is first opened, then once a new record is created the value "TASK" is auto entered correctly, then everything works fine from that point. So the specific questions is how to keep the value of "TASK" in the field even before a new record is created? The value never needs to change, I would like it to always exist without needing to create a new record for it to be "auto entered" Thanks Don Why not make the field a calc. with "TASK" and set as global? :unsure:
comment Posted May 14, 2011 Posted May 14, 2011 So the specific questions is how to keep the value of "TASK" in the field even before a new record is created? One way would be to set the global field at the opening of the file, using a startup script. Another way would be to create a record once and not delete it. I am somewhat confused regarding the circumstances here: what is the table in which the global field is defined - and why doesn't it have any records when you open the file?
Recommended Posts
This topic is 5003 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now