I do similar conditional logic for design time and runtime by
IF version(2) <> 0
else
endif
>We use
>
>
>IF SET('DEVELOPMENT')="ON"
>
>
>simply because we always have it turned on in the config.fpw the developers use and also if we are at a customer's site we display special messages for troubleshooting if set development is on and we can temporarily change the setting in the customer's config.fpw for testing purposes and then set it back. It works and it prevents me from having to change tons of code where we do this because we have used it since FPD26...
>
>
>
>>Hi Welington,
>>
>>Thank you for replying,
>>I could do that (put the path and the default folder at the startup), but I will have to change it anytime I must change and test something in the development time.
>>
>>I'm looking for something that works at both times (development and production).
>>
>>Regards,