Mar 13, 2001 #1 Millard Programmer Feb 22, 2001 17 US I would like the user to enter expression(s) criteria into a memo field for SQL retreival. Can this be done with the STRTRAN() OR EVALUATE() function?
I would like the user to enter expression(s) criteria into a memo field for SQL retreival. Can this be done with the STRTRAN() OR EVALUATE() function?
Mar 13, 2001 #2 foxdev Programmer Feb 11, 2000 1,995 US You might explore using the VFP Application Object's DOCMD method. Robert Bradley http://www.foxdev.com/Got extra money lying around? Visit: http://www.agrainofhope.org Upvote 0 Downvote
You might explore using the VFP Application Object's DOCMD method. Robert Bradley http://www.foxdev.com/Got extra money lying around? Visit: http://www.agrainofhope.org
Mar 13, 2001 1 #3 jimstarr Programmer Feb 6, 2001 975 US Assuming that the memo field contains a valid FoxPro command, a simple method would be: char1 = alltrim(memofield) &char1 Jim Upvote 0 Downvote
Assuming that the memo field contains a valid FoxPro command, a simple method would be: char1 = alltrim(memofield) &char1 Jim
Mar 13, 2001 #4 weedz Programmer Dec 5, 2000 718 NL EVALUATE() only 'evaluates' an expression, it does not execute a command. I also use contructions like Jim's. For most cases it is the easiest way. HTH, Weedz (Wietze Veld) veld4663@exact.nl They cling emotionally to code and fix development rather than choosing practices based on analytical assesments of what works best. After the GoldRush - Steve McConnell Upvote 0 Downvote
EVALUATE() only 'evaluates' an expression, it does not execute a command. I also use contructions like Jim's. For most cases it is the easiest way. HTH, Weedz (Wietze Veld) veld4663@exact.nl They cling emotionally to code and fix development rather than choosing practices based on analytical assesments of what works best. After the GoldRush - Steve McConnell