Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Evaluating profile logic
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01134150
Message ID:
01134185
Views:
18
Here is what I put
if not empty(m.lcLogic)
		select Trans
		=seek(m.tcTrans_fk, 'Trans', 'cTrans_pk')
		try
			llReturn = evaluate(m.lcLogic)
		catch
			select cTrans_pk from Trans ;
			where cTrans_pk = m.tcTrans_fk ;
			and &lcLogic to screen noconsole
			llReturn = _tally = 1
		endtry	
	endif
Am I right?

Thanks again.

>The first expression is only valid in SQL. You'll have to parse it in order to apply directly to a table. The query route may not be as bad as you think
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform