Progress
ADM 2 Reference
refreshRowident (query.p)
Returns a refreshed list of rowids for the read-only tables in the current query.
Parameters:INPUT pcRowident AS CHARACTER
RowIdent of a row in the current query.
Returns: CHARACTERNotes:
- Used internally by refetchDbRow in order to make changes to foreignfields reflected in correctly joined tables. The refresh applies to read-only tables that are at the end of the join (no updatable tables further down in the join). The first Rowid is not refreshed. Be sure to use SDOs correctly.
- Only one copy of the record that is being updated in the query, which means one-to-one updates if many updatable records. There are several changes that still require an open query to be reflected.
- Changes in a child record that changes or makes a parent relationship invalid is not reflected and requires a complete open query.
- Changes that make an inner-join invalid will blank out Rowids for all read-only tables, even if some of them were still valid. Note that if the query was reopened, this row would disappear from the query. Normally an application would check that no invalid keys are entered, but a value could also be changed so that it was filtered away.
- Two updatable tables will not reflect changes in the relationship to each other.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |