Man, I appreciate that, Gary! I am trying to study, but a decent paycheck is first and foremost. What I end up studying is this incredibly complex app written in FP2.6 style with no comments. There are two other developers on it as well who have been doing it for a year or two, but they have their hands full with their own @ Say demons. They plan to head down the .NET route in a year or two, but they still need to make the existing one work too.
>Jay
>
>I thought you had started with VB.Net? I guess work is work but having to do this kind of stuff must be soul destroying - your message title says it all. I hope you are able to keep up your VB.Net studies so you have a few more possibilities for the future.
>
>Best
>
>-=Gary
>
>
>>Is there is a reason I can't pass the correct variable in button that is displayed more than once on a screen. I'm putting on an edit appt screen and it will not pass the correct name variable. There is only one read, so when the button is pushed can it only be the last value of xx rather than what is in the loop? m.Note_Name changes, but not when the button is pushed and it runs the VALID.
>>
>>The logic is this (it more complicated and the screen is defined, etc, but this is hopefully enough):
>>
>>
>>
>>FOR xx = 1 to 2
>>
>> m.Note_Name = ALLTRIM(a_name[ xx ])
>>
>> @ ( 6 * ( xx - 1 ) + 7 ) * row_incr, 16 SAY m.Note_Name
>>
>> @ ( 8 * ( xx - 1 ) + 7 ) * row_incr, 16 GET dummy ;
>> FUNCTION '*NH Note' ;
>> SIZE but_height, 8 ;
>> VALID v_choice(m.Note_Name) ;
>> DEFAULT 0
>>
>>ENDFOR
>>
>>READ CYCLE MODAL
>>
>>