Nov 4, 2004 #1 mgifford Programmer Jun 3, 2004 30 US I need to create a select statement where the only things listed are where the date field matches today's date only. What else do I need? sSQL="Select * from PRObs Where [Date] = ??????How do I only display the current date match??????
I need to create a select statement where the only things listed are where the date field matches today's date only. What else do I need? sSQL="Select * from PRObs Where [Date] = ??????How do I only display the current date match??????
Nov 4, 2004 #2 S SkipVought Programmer Dec 4, 2001 47,486 US Code: sSQL="Select * from PRObs Where [Date] = Date() Skip, [sub] [red]Be advised:[/red] Researchers have found another Descartes trueism, "Cogito ergo spud." "I think; therefore, I YAM! [/sub] Upvote 0 Downvote
Code: sSQL="Select * from PRObs Where [Date] = Date() Skip, [sub] [red]Be advised:[/red] Researchers have found another Descartes trueism, "Cogito ergo spud." "I think; therefore, I YAM! [/sub]
Nov 4, 2004 Thread starter #3 mgifford Programmer Jun 3, 2004 30 US THANK YOU, THANK YOU, THANK YOU!!!! I knew it was something simple but couldn't find an example of it in any of my other pages or books. BLESS YOU!!! Upvote 0 Downvote
THANK YOU, THANK YOU, THANK YOU!!!! I knew it was something simple but couldn't find an example of it in any of my other pages or books. BLESS YOU!!!
Nov 4, 2004 #4 S SkipVought Programmer Dec 4, 2001 47,486 US I'd be careful about using RESERVE WORDS as field and variable names. DATE is a reserve word! Skip, [sub] [red]Be advised:[/red] Researchers have found another Descartes trueism, "Cogito ergo spud." "I think; therefore, I YAM! [/sub] Upvote 0 Downvote
I'd be careful about using RESERVE WORDS as field and variable names. DATE is a reserve word! Skip, [sub] [red]Be advised:[/red] Researchers have found another Descartes trueism, "Cogito ergo spud." "I think; therefore, I YAM! [/sub]
Nov 4, 2004 Thread starter #5 mgifford Programmer Jun 3, 2004 30 US Thanks for the tip! Still learning new things everyday! Upvote 0 Downvote