Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21243

[RESOLVED] how to check if the same number (Value) exists in the database

$
0
0
im trying to check if the same number is the same like in the Db i put sime code but its not working
Code:

 
    If NewRec Then
   
    If Not FrmInventory.LsVw.FindItem(Txt(9).text) Is Nothing Then
            MsgBox "this number already exists in the database choose another number", vbExclamation, ""
            Txt(9).SetFocus
            Exit Sub
        End If

if any info is needed i will add here

regards salsa31

Viewing all articles
Browse latest Browse all 21243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>