coba:
  
  string nm_vssl
  select nm_vssl into :nm_vssl from t_vssl where id_vssl = :sle_id_vssl.text ;
  
  if isnull(nm)  then
        messageBox("Error"."Vessel Code Not Found")
  else
        sle_nm_vssl.text = nm_vssl
    end if
  

Milis <[EMAIL PROTECTED]> wrote:          Dear miliser,
  
  mau nanya ttg if statement di power builder, saya membuat window yang
  isinya 2 buah sle, ketika sle_1 (saya namakan sle_id_vssl) di update
  maka nilai di sle_2 (saya namakan sle_2_nm_vssl) akan berubah sendiri
  nya,
  
  saya membuat script nya begini
  tapi masi salah, apa ada yang salah dengan query dibawah
  
  String NewSQL
  NewSQL = "select nm_vssl from t_vssl where id_vssl = '" + sle_id_vssl.text + 
"'"
  
  if (!NewSQL)  then
        sle_nm_vssl.text = NewSQL
  else
        messageBox("Error"."Vessel Code Not Found")
  end if
  
  terima kasih atas bantuan dan pencerahan nya
  
  -- 
  Tks & Best regards,
  Andi EP
  IT Engineer
  mailto:[EMAIL PROTECTED]
  
  
            

    -----------------------------------------------
  IndoPB - Indonesia PB User Group 
  To Post a message, send it to: [EMAIL PROTECTED]
  To Unsubscribe,send a blank message to: [EMAIL PROTECTED]  

                      

          SPONSORED LINKS    
                                                        Computer monitoring 
software                                          Computer and internet 
software                                          Free computer monitoring 
software                                                                        
     
        
---------------------------------
    YAHOO! GROUPS LINKS  
  
      
    Visit your group "indopb" on the web.
     
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
     
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.  
  
      
---------------------------------
  
  
          


                        
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

[Non-text portions of this message have been removed]



-----------------------------------------------
IndoPB - Indonesia PB User Group 
To Post a message, send it to: [EMAIL PROTECTED]
To Unsubscribe,send a blank message to: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/indopb/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Kirim email ke