` Restoring several history fields when inserting a new record (John E Singer) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

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 21, 2024, 3:37 am
This article has been viewed 35416 times.
Google search has resulted in 6 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: