` 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  

Clarion in general: Who What and Where
2002-08-27 -- Russell B. Eggen
 
Newsgroups: softvelocity.products.c55ee I use this code to play with. It will wrap: IF ?Browse:5{PROPLIST:MouseDownRow} = 0 AND ?Browse:5{PROPLIST:MouseDownField} <> 0 !Check for click in header and group header LOC:Who = WHO(Queue:5,?Browse:5{PROPLIST:MouseDownField}) !Gets the field name LOC:What = WHAT(Queue:5,?Browse:5{PROPLIST:MouseDownField}) !Gets the field value LOC:Where = WHERE(Queue:5,WHAT(Queue:5,?Browse:5{PROPLIST:MouseDownField})) !Gets the ordinal number of field END LOC:Who is a STRING(40) LOC:What is a CSTRING(100) LOC:Where is a LONG -- Russ Eggen www.radfusion.com "Ian Holdsworth" wrote in message news:3d6b8074@news.softvelocity.com... Hi Everyone I am trying add userdefinable output to a database using the Who, What & Where functions. Who: Works perfectly. Where: Doesn't like being passed a variable string for the second parameter (The field your looking for). It always returns zero even when passed the results of the Who function. Not a problem I have a workaround for that one. What: This is where I am having the real problems. It only ever seems to return the name of the field not the contents lcl:field=who(data:record,4) ! lcl:field now = 'data:lastname' fieldno#=mywhere(data:record,lcl:field) ! fieldno# now =4 lcl:fieldcontents=what(data:record,fieldno#) !lcl:FieldContents now = 'data:lastname' Anybody got any Idea's? -- Ian Holdsworth Senior Programmer / Assistant IT Manager Response Analysis & Mailing Ltd --------------------------------------------------- Direct Line: +44 (0) 20 8880 8866 Switch Board: +44 (0) 20 8880 8140 Fax: +44 (0) 0870 134 0987 Email Work: ian.holdsworth@ram-ltd.co.uk Email Personal: BigE@Squadronofpigs.com Web Site: www.ram-ltd.co.uk


Today is November 21, 2024, 7:26 am
This article has been viewed 35224 times.
Google search has resulted in 24 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: