>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!
>
>
>IF !USED('Schedule')
> USE Schedule IN 0
>ELSE
> SELECT Schedule
>ENDIF
>
See
Re: 'No parameter statement is found' in VFP3 Thread #
828995 Message #
829501
If it's not broken, fix it until it is.
My Blog