Joez,

Did you figure it out yet?  My guess is that maybe you hadn't called 
   dw_1.of_SetTransObject(<SQLCA/trans of type n_tr>) [Note "of_" here]

Have fun,
~Sharon
--
Sharon Weinstrom Buntz      | mailto:[EMAIL PROTECTED]
Cheat Sheet for PFC/PB Help | http://www.pfccheatsheet.com/



Zehrung Joe R COCA wrote:
> 
> I am using PB 6.5 with PFC on an NT4.0 box.
> 
> I am using the filter service and thing work fine except for the drop down
> for the column values has no data.
> 
> This is the script:
> 
> /* Turn on the filter service. */
> This.of_SetFilter(True)
> This.inv_filter.of_SetColumnDisplayNameStyle(This.inv_filter.HEADER)
> This.inv_filter.of_SetStyle(This.inv_filter.SIMPLE)   // Note I have also
> tried the other 2 styles.
> 
> When the filter window displays the  'Column'  column drop down fills with
> the correct column names.
> 
> When I click on the  'Value' column the drop down is blank. I have traced it
> back to the function 'of_getvalues in the w_filtersimple window in the PFC
> pbl.  It is returning from the function at the following point:
> 
> // Validate the transaction object.
> If IsNull(inv_filterattrib.idw_dw.itr_object) or &
>         Not IsValid(inv_filterattrib.idw_dw.itr_object) Then
>         // There is no valid PFC transaction object on the original
> datawindow.
>         Return
> End If
> 
> The actual line that is causing the problem is  "Not
> IsValid(inv_filterattrib.idw_dw.itr_object) "
> 
> I can't seem to find out why the 'inv_filterattrib.idw_dw.itr_object' is not
> valid.
> 
> Has anyone else had the same problem or any ideas about what might be
> causing the problem. Is there something else I should be doing in the script
> to turn on the transaction object it is looking for??
> 
> Thanks
> 
> joez
> 
> joe r zehrung
> ph: 925-246-5982
> dsn: 350-5982
> e-mail: [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