>>select Books.*,Acc.prin,Acc.status; >> From; >> Acc; >> inner join mainbase!books; >>on acc.ID=books.Id; >>where acc.status=("status"); >>into cursor return >>>>
>> >>public status >>do case >> Case thisform.status=1 >>status="a" >>case thisform.status=2 >>status="b" >>>>
>>(status)
>>
>>the query works! but! it tells me variable status cannot be found when ever i try to view the cursor code>select Books.*,Acc.prin,Acc.status; > From; > Acc; > inner join mainbase!books ; >on acc.ID=books.Id; >where acc.status= m.status ; >into cursor return nofilter >m.status?