>>>LOCAL oSQL AS sqlfunction of \libs\sqlfunction.prg
>
>
>But I declare oSql AS PUBLIC at my startup program. Does "LOCAL oSql AS sqlfunction ..." will cause conflict?
>
>
>At my startup main program
>
>.
>.
>.
>PUBLIC oSql
>oSQL = NEWOBJECT('sqlfunction','libs\sqlfunction.prg')
>.
>.
>
>Thanks
Creating a public variable is not suggested. However for intellisense it's not the local or public part of declaration but " AS sqlfunction of \libs\sqlfunction.prg".
PUBLIC oSql AS "sqlfunction" of "libs\sqlfunction.prg"
oSQL = NEWOBJECT('sqlfunction','libs\sqlfunction.prg')
Now you should benefit from intellisense.
Cetin