Kbase 18134: ADM2. Reasons for Getting No Update Target Present Error
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Verified
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
ADM2
No Update Target present
No Update Target present for Add operation
No Update Target present for Save operation
No Update Target present for Delete operation
CAUSE:
When attempting to perform tableio operations with an Update SmartPanel, such as Add, Save, or Delete, you may get one of the following errors:
No Update Target present for Add operation
No Update Target present for Save operation
No Update Target present for Delete operation
This can occur for one of the following possible reasons:
1) You have not added an update link from the object you are updating to your SmartDataObject.
For example, if you have a SmartDataObject for customers that contains a Data link to a SmartDataViewer for customers, information will be passed from the SmartDataObject to the SmartDataViewer for viewing customers but updates cannot be performed. You need to add an Update link from the SmartDataViewer to the SmartDataObject in order to update, add or delete through that SmartDataViewer.
2) The fields in your SmartDataObject are not updateable.
Considering the same example described above, you will not be able to update, add or delete through the SmartDataViewer unless the fields are defined as updateable in the SmartDataObject. Note that unless the fields are updateable in the SmartDataObject, you are not allowed to add an Update link from another object to that SmartDataObject with the AppBuilder.
3) You do not have a SmartDataObject for updating.
For example, if you have a SmartDataBrowser for customers with the database as its Data Source and a SmartDataViewer linked to the SmartDataBrowser with a Data link, you cannot update records in the SmartDataViewer. A SmartDataObject is needed as an Update target to perform the updates even though it is not the data source.
FIX:
Correct the design errors as described in the cause.