My code is fine (or at last is was). I am showing how it looks in the debugger. The REPLACE in my code does not have "replace _letter = rptcntl.field2". In the debugger something is replacing the variable name with the data from a line above it. Notice that "_letter = rptcntl.field2" is exactly in the same position a couple of lines above.
>In addition to Malcolms comments, I see that the two last lines in your code snippet contain errors, remove the 'replace' words
_letter = rptcntl.field2
hold_next_letter = ' '
>>VFP6 SP2, getting a C0000005 intermittant along with a pushjmp/popjump and various other flaky conditions. In happens in the same section of code. In the debugger I see that the code is wrong. The reserved words are correct, but the variables have been copied from about 8 lines above. Something like below. Has anyone seen this problem before? Just an FYI - I did try unsuccessful to install a new HP printer tonight.
>>
>>
>>
>> assert .f.
>> hold_next_letter = rptcntl.field2
>> else
>> hold_next_letter = ''
>> endif
>> replace _letter = rptcntl.field2
>> replace hold_next_letter = ' '
>>
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement