select Books.*,Acc.prin,Acc.status; From; Acc; inner join mainbase!books; on acc.ID=books.Id; where acc.status=("status"); into cursor returnStatus is not a field in the table. is is a variable that gets data from an option group
public status do case Case thisform.status=1 status="a" case thisform.status=2 status="b"So if i go back to my cursor...if i run it that way. the criteria isnt meet so the query doesnt run
(status)
the query works! but! it tells me variable status cannot be found when ever i try to view the cursor code