Kbase P25721: Dynamics: Dynlookup does not display correct value in the li
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  29/10/2003 |
|
Status: Unverified
FACT(s) (Environment):
Dynamics 2.0A
FACT(s) (Environment):
Progress 9.1D
SYMPTOM(s):
Dynamics: Dynlookup does not display correct value in the linked widget.
Using the field in the SDO query with the same values as in the Dynlookup
key field causes the linked widget to show the wrong value.
Using Dynamics 2.0A02
Using following steps:
1. Sports or sports2000 database can be used to show the problem
2. In the customer table add the character field 'X1' and populate it with:
FOR EACH customer: x1= 'hxm'. END.
3. Generate the customerfullo with query:
FOR EACH Customer NO-LOCK, FIRST SalesRep WHERE Salesrep.SalesRep =
customer.x1 NO-LOCK
4. Generate customerfullb and customerviewv
5. In the customerviewv add widget 'fiRepName' that will be used as the
linked widget
6. Drop SDF Dynlookup onto the SalesRep field
7. In the instance of the SDF (call it customerSlsRepSDF) choose query:
FOR EACH SalesRep NO-LOCK
press 'Refresh' and choose salesrep.SalesRep as 1 and salesrep.RepName as 2
in the Browse Sequence. The salesrep.RepName mark as the Linked Field and
enter the Linked Widget as 'fiRepName' (from the step 5) . Other option are:
- Key Field: salesrep.SalesRep
- Displayed Field: salesrep.SalesRep
- Field Label: SalesRep
8. Save the dynlookup instance
9. Create the container (dynobjc) and place objects:
customerfullo, StandardToolbar, customerfullb and customerviewv
10. Add standard links (container with sdo toolbar browser and viewer)
11. Run the container and scroll through the browse rows
12. At this point you should see that the screen value of the fiRepName does
not change in sync with the customerSlsRepSDF instance.
CAUSE:
Known issue.
FIX:
Remove the field from the SDO field list which is also used by the dynlookup
to pass the value to the linked widget. So if the linked field is the
'SalesRep.RepName', then remove it from the SDO field list.