Click here to Skip to main content
15,169,069 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi There

I am a newbie to this

I need a bit of help from you guys!
have two tables rsletters and rscheck
i would like to check if dbo.rsletters.eletter_id exists in dbo.rscheck.p_letter_id
if it does exist to say "it exists"
if it does not exit say "nowhere to be seen"

the page has a recordset rsletters which is filtered by eletter_id

How do i do this


What I have tried:

<%if (((rsletters.Fields.Item("eletter_id").Value)) = ((rscheck.Fields.Item("p_letter_id").Value))) then
<%end if %>
MadMyche 26-Nov-18 14:57pm
SQL database in the background?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900