Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Powerbuiler 9 PFC - pfc_retrieve

Status
Not open for further replies.

061178

Programmer
Jul 7, 2005
41
GB
Hi, I have inherited a user object from w_tabpg_entity and created code in the pfc_retrieve event to retrieve on two retrieval arguments. When I run my code a message is displayed which says that it is expectig 2 retrieval arguments but only got 1. The reason I think is because in the pfc_retrieve event of the parent (w_tabpg_entity) there is code that retrieves on a single retrieval arg. There are other screens in the system which are build in the same way but retrieve successfully on 2 arguments. I can not bypass the code in the parent as it is used in many places and needed. If I ok the error, then the correct data is retrieved when the code in pfc_retrieve of the child is run, but obviously these messages one for each tabpage where the retrieve is run) need to go. Any suggestions would be helpful. Many Thanks. Donna
 
How do the other screens which do this successfully do it? Have you compared your new window to these?

Matt

"Nature forges everything on the anvil of time
 
Hi,

The problem was that it was running the ancestor script first, so I needed a way to override it. It took me a while but to override ancestr script it's a right click - Extend Ancestor Script. which I didn't know existed; I was looking in the code for the override. The other screens didn't have this checked, and now my screen works fine. Thanks for you reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top