Try SET SAFETY OFF before you run your query, then SET SAFETY ON, if you want, when you are done. Be sure and check the documentaion for "gotchas" on these commands though.
I believe if you
SET SAFETY OFF
before you create the view, you won't get the message. (You may want to set SAFETY back to it's previous value afterwards.)
I don't know if there is a way to repond to that but you can Set Safety Off in order that message does not appear.
You could try somewhat like this:
Procedure Recreate_View
Local lcSafety
lcSafety = Set("Safety"
IF lcSafety = "ON" then
Set Safety off
*!* Recreate your view here
Set Safety &lcSafety
EndIf
Return
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.