Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link ABC: Restoring several history fields when inserting a new record 2002-12-31 -- John E Singer Newsgroups: comp.lang.clarion,softvelocity.products.c55ee
I have used a Copy Button on the form to bring back certain fields with good
success. To do it automatically, I would guess this type of code would need to
be one of the form Prime methods. For this to work, History must be enabled on
the form.
if Self.Request = InsertRecord
Self.RestoreField(?MAS:DOF)
Self.RestoreField(?MAS:DOI)
Self.RestoreField(?MAS:SurveyCode)
Self.RestoreField(?MAS:FRequestor)
Self.RestoreField(?MAS:SRequestor)
end
HTH
John E Singer
CIS, Inc.
Paul Choate wrote:
> I know that this has been posted before, but I cannot find it. During a
> recursive add, how do you copy (automatically insert) the value from a field
> that was previously filled in (not the whole record, just a field.) into the
> new record being entered (also allowing for the user to change the value if
> needed)?
>
> Thanks In Advance,
>
> Paul Choate
Today is November 23, 2024, 2:10 am This article has been viewed 35421 times. Google search has resulted in 6 hits on this article since January 25, 2004.
|
|