Jan 6, 2004 #1 astech Programmer Joined Jul 25, 2000 Messages 59 Location ID How to using Select SQL without data copying ?. Thanks.
Jan 6, 2004 #2 torturedmind Programmer Joined Jan 31, 2002 Messages 1,052 Location 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 Joined Jan 10, 2003 Messages 17,516 Location 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