Here a suggestion:
//=>Local control.
Long ll_existe
ll_existe = This.Find("your_code = '" + is_saisie + "'", 1, This.RowCount())
If ll_existe > 0 Then
MessageBox('Local Duplicate','Your Message.',StopSign!,OK!)
Return 1
End If
Hope it can help you.
SugarRc
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.