I’m trying to get some cross-frame lookup functionality, but have hit a snag. Jesse Bickmore from Lotus Support recommended I look into profile forms/fields, but it’s not working the way I’d hoped. Here’s the email I sent him (he’s currently out of town till the 21st).
I've created a Frameset which houses the various components of the application. In the top frame is essentially a banner with the title of the app. There is also a combo-box which is supposed to @Column the list of company names from a view which keeps track of all our participating clients. I have also (intended to) set the combo box to := the current selection into a temporary profile field.
The right frame of the app defaults to a profile (in the english language sense, not Lotus) of the various data we collect. All the fields here are computed text. Originally I had the form which is now in the top frame here. Now, I have the computed text go to the profile field and use that as a key in it's @DbLookup to gather all the appropriate information for the overall profile. But the computed text seems to be grabbing the first name from the list and not updating if I change to any of the different options. Any ideas?
Here’s the code:
Top Frame (set’s profile): tmp := @DbColumn(“Notes”:“NoCache”;“”;“Corporate Person View”;1); @SetProfileField(“CorpSec-TempValueProfile”;“t_SelectedCorp”; tmp)
Right Frame (retrieves profile setting): tmp := @GetProfileField(“CorpSec-TempValueProfile”;“t_SelectedCorp”); @DbLookup(“Notes” : “NoCache” ; “” ;“Corporate Person View”; tmp; 1)
Essentially, though the top frame's selector field is set to refresh everything on a change in the field, nothing changes in the right frame field, even if I set focus on it and press F9.
I'd appreciate any input you could provide.