S
shapper
Hello,
I created a Query in and Access database to delete a record.
However I need to return something if the record was found or not.
How can I do this?
My Query is:
DELETE *
FROM web_MailingList
WHERE web_MailingList.SubscriberEmail=[@SubscriberEmail];
Should I have two queries?
What I mean is should I first try to load the record where
"SubscriberEmail=[@SubscriberEmail];" and if it does not return a
record I would not use the Query Delete.
This does not sound a good approach.
Basically I woul prefer to use only one Query.
Thanks,
Miguel
I created a Query in and Access database to delete a record.
However I need to return something if the record was found or not.
How can I do this?
My Query is:
DELETE *
FROM web_MailingList
WHERE web_MailingList.SubscriberEmail=[@SubscriberEmail];
Should I have two queries?
What I mean is should I first try to load the record where
"SubscriberEmail=[@SubscriberEmail];" and if it does not return a
record I would not use the Query Delete.
This does not sound a good approach.
Basically I woul prefer to use only one Query.
Thanks,
Miguel