Koen Piller
Programmer
Hi,
I am facing a complete blackout, it seems, following code, which intents to combine the three records surname,insertion,famname into one record fullname, however somehow my coding is incorrect. Anybody to spot the error?
So the cursor should read e.g.
"Koen Piller","1"
"Kyle the Expert","2"
Regards,
Koen
I am facing a complete blackout, it seems, following code, which intents to combine the three records surname,insertion,famname into one record fullname, however somehow my coding is incorrect. Anybody to spot the error?
Code:
lcLetter = 'K'
lcSQL = 'Select district, Alltrim(Alltrim(surname)+' '+Alltrim(insertion))+' '+famname As fullnaam, Id from NAW '+;
IIF(Empty(m.lcLetter),'','where Substr(surname,1) = "'m.lcLetter)+'" order by 1 into cursor junklist nofilter'
So the cursor should read e.g.
"Koen Piller","1"
"Kyle the Expert","2"
Regards,
Koen