Im creating a simple database that handle of pin and mobile number

Ex.

When i add a pin on my pin.mdb e.g 1234567890,8888899999,9876512345

Now i have this in my form:

Text1.Text 'mobile number

Text2.Text 'messages
ok, when Text2.Text receive a message format:

1234567890 09185695062
i want the
1234567890
find in my pin.mdb if this is exist mobile number 09185695062 will be registered in the system..

so later when Text1.Text receive mobile number from 09185695062 he will accept the messages else he will ignored it...

how to make this? also once this pin is being used 1234567890 give a reply sorry its been registered already..