Hi,

I want to filter a DataObject using the UserId variable session.

i.e. If the field name of the dataobject is equal to the userId variable session so 
Show the record, if no than hide 
then SKIP the record.

I'm trying to use the OnDisplay Event of the Repeated Object.



        int command = PROCEED;  
        
                     // User Session Variable
            String UserID = CSpider.getUserSessionObject("ssUserID").stringValue();
                     // TextBox with the Field to be compared.
            String User_Name = getDisplayFieldValue("*hdUserName").stringValue();
            
          // If different don�t show the record.  
            if (UserID.trim() != User_Name.trim())
               {
               command = SKIP; 
               }

     return (command);



It doesn't work. the "User_Name" variable is ever empty. ???????



Help
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to