Bom dia a todos os colegas
Será que alguém poderia me responder porque tento capturar o valor de uma variável numa package dentro do forms e este apresenta a mensagem "Cannot Directly access remote packege variable or cursor"?
Exemplo:
IF PKG_RDTA.g_errcode = 0 THEN
......
End If;
Cannot Directly access remote packege variable or cursor
-
- Moderador
- Mensagens: 2016
- Registrado em: Qua, 12 Jan 2005 3:25 pm
- Localização: Araraquara - SP
Abraço,
Trevisolli
OCA Oracle PL/SQL Developer Certified Associate
OCP Oracle Forms Developer Certified Professional
Araraquara-SP
Trevisolli
OCA Oracle PL/SQL Developer Certified Associate
OCP Oracle Forms Developer Certified Professional
Araraquara-SP
Brother, dei uma procurada e, vi essa documentação em Inglês:
qualquer coisa, manda ai.
Você pode criar uma função na tua package e, retornar o valor via função.PLS-00512 implementation restriction: 'name' cannot directly access remote package variable or cursor
Cause: An attempt was made to reference a remote packaged variable or cursor. This is not allowed. Instead, add to the remote package a function that returns the value of the variable or cursor.
Action: Remove the illegal reference.
qualquer coisa, manda ai.
-
- Informação
-
Quem está online
Usuários navegando neste fórum: Nenhum usuário registrado e 22 visitantes