vellaima Posted April 7, 2003 Posted April 7, 2003 Hi, Can anyone please tell me IIF(ISNULL) for Yes/No DataType in MS-ACCESS. Please do help me out. Quote
Moderators Robby Posted April 7, 2003 Moderators Posted April 7, 2003 What is your question? Quote Visit...Bassic Software
vellaima Posted April 7, 2003 Author Posted April 7, 2003 SQL="Select modified from ABC" Here modified is of datatype Yes/No in MS-ACCESS. How to write IIF(ISNULL) Statement for this column? Quote
hog Posted April 7, 2003 Posted April 7, 2003 I think you'll find just checking to see if it is true or false will suffice Quote My website
vellaima Posted April 7, 2003 Author Posted April 7, 2003 Hog, i am using abc table as left join. In that case how to go abt for that? Quote
Raju Posted April 8, 2003 Posted April 8, 2003 yes/no column I think null is not applicable for this column,If selected yes or no, if its no you have to take as null.(Or the default value differs) Raju Quote
melegant Posted April 8, 2003 Posted April 8, 2003 (edited) nm Edited April 8, 2003 by melegant Quote
vellaima Posted April 8, 2003 Author Posted April 8, 2003 I have found out the solution. It should be iif([modified] Is Null, 'False', 'True') Quote
Raju Posted April 8, 2003 Posted April 8, 2003 You can directly check If modified = True then..........if modified having value If modified = False then........if modified not having value. if its false is null.....else true... let me know Quote
vellaima Posted April 8, 2003 Author Posted April 8, 2003 I think the SQL which i have found it is a better solution. Since i am binding it to a checkbox inside ASP Repeater. Quote
Raju Posted April 8, 2003 Posted April 8, 2003 ok.. for checking null and assigning false..instead of that you can check = false...it should work...chk it out ...let me know thanx Quote
Raju Posted April 8, 2003 Posted April 8, 2003 sql ..? iif([modified] Is Null, 'False', 'True') are you are using this in SQL statements ? Quote
Raju Posted April 8, 2003 Posted April 8, 2003 re:sql will you copy the sql..and the code where you are chking... Quote
Moderators Robby Posted April 8, 2003 Moderators Posted April 8, 2003 Raju, take look 6 posts up... Vidhya found the solution already. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.