Jan 6, 2004 #1 astech Programmer Jul 25, 2000 59 ID How to using Select SQL without data copying ?. Thanks.
Jan 6, 2004 #2 torturedmind Programmer Jan 31, 2002 1,052 PH you may want to try this: SELECT SQL * ; FROM MyTable ; WHERE CMONTH(MyTable.HireDate) = "XXXXXXXXXX" ; INTO CURSOR NoData this will result in a cursor called NoData with no resulting records. kilroy philippines "and that's what we call creativity..." Upvote 0 Downvote
you may want to try this: SELECT SQL * ; FROM MyTable ; WHERE CMONTH(MyTable.HireDate) = "XXXXXXXXXX" ; INTO CURSOR NoData this will result in a cursor called NoData with no resulting records. kilroy philippines "and that's what we call creativity..."
Jan 7, 2004 #3 Mike Lewis Programmer Jan 10, 2003 17,516 Scotland Astech, Or, a more general approach: SELECT <fields> FROM <table> WHERE .F. INTO CURSOR <cursor> That will give you a cursor with the desired structure but with no records. Mike Mike Lewis Edinburgh, Scotland http://www.ml-consult.demon.co.uk Upvote 0 Downvote
Astech, Or, a more general approach: SELECT <fields> FROM <table> WHERE .F. INTO CURSOR <cursor> That will give you a cursor with the desired structure but with no records. Mike Mike Lewis Edinburgh, Scotland http://www.ml-consult.demon.co.uk