Consultor Eletrônico



Kbase P7386: Initial values changed after record update
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/9/2005
Status: Unverified

FACT(s) (Environment):

IBM AIX POWER 5.1
Progress 8.3D

SYMPTOM(s):

Initial value for a field changed after record update.

When new records are created, the initial value takes on the value that was input for the record update.

Under Data Dictionary the initial value appears unchanged.

CAUSE:

Bug# 20020701-038

FIX:

Upgrade to 10.0A.

If the upgrade is not possible, the following can be used as a work around:

1. Run the following code:

FIND _File WHERE _File-name = "<table>".
FIND <table> WHERE RECID(<table>) = _File._Template.
DISPLAY <table>.<field>.

The value returned for <field> is the real initial value used by Progress for creating new records from <table>, and the initial value in the Data Dictionary is not taken into account.

2. Change your code so that you are not updating the template record.