Greetings from Washington DC,

>>I got an error saying that of_retrieve() is an unknown function.<<

When using the PFC, make sure all datawindow controls on your windows are
instantiated from the u_dw PFC visual user object -- and not the datawindow
PB visual user object. 

You can "Export" your problem windows and change everything that looks like
"from datawindow" to "from u_dw".  Don't forget to "Import" them back...

Once you solve that, you will have additional, problems because
of_Retrieve() IS NOT the "PFC equivalent of using the non-pfc retrieve()" --
analogous but NOT equivalent.  What you will find is after coding the
<<u_dw>>.of_Retrieve(); nothing will be retrieved.  That is because (if you
look at pfc_u_dw you will see) of_Retrieve() just calls in turn the
pfc_Retrieve() event on u_dw.  SO, you will have to code your (standard)
datawindow this.Retrieve( <<args>> ) into that event -- OR nothing
happens!!!

Your continuing problems maybe resolved by your receiving instruction in the
fundamentals.  You should read this article "The PFC Way vs. The OLD Way "
by Enterprise Systems Copenhagen at http://www.es.dk/art/pfcvsold.htm.

Also, you may have other, similar, problems when you try updating; so you
should also read "
The PFC update sequence" at http://www.es.dk/art/pfcupdt.htm.

HTH, Lester LaForce
Consultant, COMSYS
U.S. Army, Personnel Information Systems Directorate
Washington DC area


-----Original Message-----
From: Jill M. Claus [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 03, 1999 2:48 PM
To: [EMAIL PROTECTED]
Subject: PFCSIG: of_retrieve() function


I am using PowerBuilder 6.5 with Sybase 11 on an NT workstation.

As I resolved my earlier problem with connecting to two databases, I
realized that there is an of_retrieve() function that I assume is the PFC
equivalent of using the non-pfc retrieve().... so I thought I'd try it.

The open event of my window use to say ..

ll_rows = dw_1.Retrieve()

And it worked fine.  When I changed it to say...

ll_rows = dw_1.of_Retrieve()
or
ll_rows = dw_1.inv_base.of_Retrieve()

I got an error saying that of_retrieve() is an unknown function.  I tried
putting 
dw_1.of_SetBase(TRUE) in the script as well and still got the same error.  I
figure I must be missing something simple...

Does anyone know why it isn't working?


> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to