I am getting a ProjectID number from the database. The code is being executed in the OnVisible event when I open a screen.
I am used both the UpdateContext and Set functions to test each. But I noticed they returned different results. The UpdateContext function
returned a record, which is incorrect, while the Set function returned a number, which is correct. Is there a bug in the UpdateContext function?
I am using UpdateContext to return a single ProjectID value. from a database table. For some reason it is returning a record.
If I use Set, a correct number is returned.