David Higgs
Programmer
In the following code..
I get a "File not Open" when I use it in my application. When I use the same Code in My Development Program I get "Cursor now Closed". The only difference between the two programs is that the code in my application is in a "Command Button" and My Development was carried out in a PRG File.
My question is, why after a "Browse" would the Cursor Close in my application? If I remove the BROWSE Statement I get the "Cursor now Closed"
Regards,
David.
Recreational user of VFP.
Code:
SQLExec(WABCONN,'SELECT * FROM &TBL_WAB_Books WHERE callsign LIKE ?CALL_TO_SEARCH and admininfo NOT LIKE "(NLV-R)" ORDER BY B_Number','cur_book_search')
BROWSE Font 'Verdana',12 NOEDIT
if used('cur_book_search')
USE IN cur_book_search && Close Cursor
MESSAGEBOX ("Cursor now Closed")
ELSE
MESSAGEBOX ("File not Open")
endif
I get a "File not Open" when I use it in my application. When I use the same Code in My Development Program I get "Cursor now Closed". The only difference between the two programs is that the code in my application is in a "Command Button" and My Development was carried out in a PRG File.
My question is, why after a "Browse" would the Cursor Close in my application? If I remove the BROWSE Statement I get the "Cursor now Closed"
Regards,
David.
Recreational user of VFP.