Simple Logic Problem?

Results 1 to 2 of 2

Thread: Simple Logic Problem?

  1. #1
    Join Date
    Dec 1969

    Default Simple Logic Problem?

    My last write shows up if any of the if statements (except the first) are false. How might I fix this so it only shows up if all if the if a=b or c=d statements are both true?<BR><BR>If rs.eof then<BR> write<BR>else<BR> if a=b then<BR> update<BR><BR>else<BR> write<BR>end<BR><BR>if c=d then<BR> update<BR>else<BR> write<BR>end<BR><BR>write<BR>end

  2. #2
    Join Date
    Dec 1969

    Default RE: Simple Logic Problem?

    If rs.eof then<BR>&nbsp; &nbsp; write<BR>elseif a=b OR c=d then &#039; notice NO SPACE between else and if !!!<BR>&nbsp; &nbsp; update<BR>else<BR>&nbsp; &nbsp; write<BR>end if<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts