Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running code from memo fields and ExecScript
Message
 
To
25/02/2008 14:09:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01296122
Message ID:
01296174
Views:
12
>uh....yeah, it is. That was one of the first things I checked :-)

Sure?
SELECT carrier
BROWSE FIELDS carr_270 NORMAL
ExecMemo(carrier.carr_270, InputTableName) && No quotest around first parameter

FUNCTION execMemo(memoString, p1, p2, p3, p4, p5)
  LOCAL lcParams, lcParList, lnPcount
  lcParams  = [p1, p2, p3, p4, p5]
  lnPcount  = PCOUNT()-1
  lcParList = LEFT(m.lcParams, ATC([,], m.lcParams,m.lnPcount)-1) && I have ERROR here 
  TRY
     retVal = EXECSCRIPT(memoString, &lcParList)
  CATCH TO oError
  ENDTRY
RETURN
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform