` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please 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!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Files, drivers etc.: Using who and where to update a field based on the fieldname
2004-03-08 -- Michael Ware
 
Newsgroups: softvelocity.clarion.language "Michael Ware" wrote in message news:A921.1078782798.4795@discuss.softvelocity.com... In C55 something like this should work: SetDate PROCEDURE (FILE F) REC &GROUP DT_Field ANY CODE REC &= F{Prop:Record} DT_Field &= WHAT(REC,WHERE(REC,'CrtDate')) DT_Field = TODAY() RETURN -Mike (NOTE: that code is going to blow up all over the place if you pass it a able that doesn't have a CrtDate field in it . You might want to test the return value of the WHERE call before using the What().)


Today is November 23, 2024, 2:22 am
This article has been viewed 35363 times.
Google search has resulted in 3 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: