Florian Kroessbacher | Hy Cindy, What about to count this here "SELECT Type FROM dbo.tblTransactions WHERE TransID=(SELECT MAX(TransID)from dbo.tblTransactions WHERE UserID="+input+")" and if the count is zero then there was no transaction cheers Floh |
| Please sign in to flag this as inappropriate. |