Jump to content

Sanity check required please - global fields


This topic is 2782 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I appear to have lost the plot and for the life of me can't see what I've done wrong.  I'm trying to enter data via a custom dialog to a global field.

gActivityDate is a global date field

I have placed the field on the layout.  I can enter a date into the field and view the same data on multiple records (i.e it's global)

My script:

clear gActivityDate (i want it empty when users go to enter a date - the above was to prove it was a global)

show custom dialog where input field is gActivityDate

I can see in the Data viewer the date appearing in gActivityDate

The field on the layout does NOT change

I have added a few other global fields to see if I get anything

clicking OK on the custom dialog has the data disappearing.

Even if I was to remove the clear gActivityDate step at the start and alter the date to something different, the date does NOT change.

I've attached screen shots of everything

Am I missing something??  I'm not a complete noob.... but I fear there must be a simple pebcak I'm missing.

 

Global fields.pdf

Link to comment
Share on other sites

Hi,   Thanks for your response.

The fields are on the layout.

I've changed it to set field "" to no avail.  I'm about to recover the file because for the life of me I can't understand what is going on and assuming it must be a bug.

 

UPDATE: I deleted the custom dialog box out, saved and then went back in and added it back with the exact same parameters and it works.  buggy buggy!

Link to comment
Share on other sites

This topic is 2782 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.