Yes. You can have single line if statements in Access 2000 (don't know about earlier versions). Some consider it bad programming style. But your syntax is correct; there is no 'end if' needed if the then part of the statement is on the same line as the if.
If yours aren't working it's likely because you should have quotes around the values you're setting your fields equal to. -- Herb
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.