在MS Access 2003中,我有一个包含4种可能情况的报告
1.可能的情况: 如果(Me.Ocjena1 = 2或3或4或5)和(Me.Ocjena2 = 1)和IsNull(Me.Ocjena3)那么 Me.Konacna_ocjena = 1 结束如果
2.可能的情况 如果(Me.Ocjena1 = 2或3或4或5)和(Me.Ocjena2 = 2或3或4或5)和IsNull(Me.Ocjena3)那么 Me.Konacna_ocjena =(Me.Ocjena1 + Me.Ocjena2)/ 2 结束如果
3.可能的情况 如果(Me.Ocjena1 = 2或3或4或5)和l(Me.Ocjena3 = 1)和(Me.Ocjena3 = 2或3或4或5)那么 Me.Konacna_ocjena =(me.Ocjena1 + me.Ocjena3)/ 3 结束如果
4.可能的情况 如果(Me.Ocjena1 = 2或3或4或5)和IsNull(Me.Ocjena2)和IsNull(Me.Ocjena3)那么 Me.Konacna_ocjena = Me.Ocjena1 结束如果
有时会包含所有4个方案。使用此代码最多2个方案,但2个休息不起作用...我错在哪里?
答案 0 :(得分:1)
必须重复条件字段,如:
.container {
background-color: #DDDDDD;
width: 80%;
display: flex;
}
.text {
background-color: #BBBBBB;
width: 50%;
}
.heading {
background-color: #999999;
width: 50%;
}
img {
max-width: 120px;
max-height: 120px;
}
考虑:
<div class="container">
<p class="text">Some Text</p>
<h3 class="heading">Heading</h3>
<img src="https://www.w3.org/html/logo/downloads/HTML5_Logo_512.png" class="image" />
</div>