Kbase P21609: Two fill-in's on a smart window that are like the same field
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  26/03/2003 |
|
Status: Unverified
SYMPTOM(s):
Cannot have two database field fill-in's in a Smart-Window that have a control type like the same field from a table
Need to have two fill-in's that are like the same field from a table, but with different names and labels
The control type of the second fill-in is changed to "like <table>.<field>-2"
There is no field named "<field>-2" in the database
The second fill-in cannot be used because there is no <field>-2 in the database
The second fill-in cannot be selected from the Database.fields again because it has already been used
CAUSE:
BUG# 20030320-004
CAUSE:
This is a known issue, the Object Name instead of the Database Field is recorded in the control type for 'Like <table>.<filed>'
FIX:
To workaround this issue, define the second fill-in as follows:
1.) New -> SmartWindow
2.) Select "database field" from the pallet and select field (customer.custnum for example)
3.) Object Properties -> Database Field -> change the control type to "Like Customer.CustNum"
4.) Object Properties (again) -> change the Object Name to (say) CustNum1
5.1) Copy the first fill-in (ctrl+c) and paste it to the same window (ctrl+v)
The Object Name is now custNum-2 and is still "Like Customer.CustNum"
If you then copy and paste custNum-2, custNum-3 will also maintain "Like Customer.CustNum"
-or-
5.2) Select customer.custnum again from "database field" in the pallet.