Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacement for USE/SELE table with IF...ELSE...ENDIF
Message
 
To
02/10/2007 09:02:36
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01257862
Message ID:
01257939
Views:
20
>I know there is some way of putting this on one line using IIF (I think), but I just can't recall it right now. Thanks!

I prefer this method. It's less code and doesn't change the record pointers.

>
ckopen('schedule')


function ckopen
lparameters lctable
IF !USED(lctable)
	USE (lctable) IN 0
ELSE
	SELECT (lctable)
ENDIF
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform