22 Nov
2010
22 Nov
'10
1:08 a.m.
The Check function is COPY - works the same as SUBSTR in Analysis
id = copy(firstname,1,1)+lastname(1,1)
Jamie
On 2010-11-21, David wrote:
Thanks. Sorry, I was not clear in my original post. I need to do this in the chk file during data entry, not during analysis. I see that substr() is available in analysis, but does not seem to be available for chk files during data entry. What I would like to do is something like:
- example.qes
firstname A______ lastname A______ id A__
- example.chk
lastname AFTER ENTRY LET id=firstname[1,1] + lastname[1,1] END
Then if I enter Fred Bloggs I get id="FB"
David