I tried doing this, and it works when I search for a primary key value, but it doesn't work when searching for a match in the "lastname" field. This first sub below works (the primary key one), but the second one doesn't. Below is the search function that performs the actual search...
Thank you. This code looks logical, but I'm having trouble getting it to work. I get the error:
"syntax error converting the varchar value 'true' to a column of data type bit."
I tried replacing "true" with -1 and "false" with 0 in my code to no avail. Here is...
I have a one to many relationship. I want to count all instances of "true" in a field in the "Many" table, and if any are found I want to mark another binary field "true" in the "One" table. If none are found, I want to mark the field in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.