Intellisense, for example
One of the IS scripts I created, but don’t use enough, is the one where I need to query the table I’m currently in. So, I created a “MeSel” Intellisense shortcut with the following code in it:
LPARAMETER oFoxCode oFoxCode.ValueType = "V" lcDBF = DBF() lcRetVal = "SELECT ~ FROM " + juststem(lcDBF) RETURN lcRetVal
This fills in the current database name and leaves the cursor where the tilde is in the code above, ready to type in the field list.
Posted by Garrett on February 21st, 2006 in Code Sample, Original, VFP | No Comments
