我有以下 CAMLQuery。
<Query>
<Where>
<Or>
<Or>
<Or>
<Or>
<Or>
<Eq>
<FieldRef Name='Title' />
<Value Type='Text'>Titulo</Value>
</Eq>
<Geq>
<FieldRef Name='Vencimento_x0020_Certid_x00e3_o_' />
<Value Type='DateTime'>txtDataDeCNDTribMobil</Value>
</Geq>
<Leq>
<FieldRef Name='Vencimento_x0020_Certid_x00e3_o_' />
<Value Type='DateTime'>txtDataAteCNDTribMobil</Value>
</Leq>
</Or>
<Geq>
<FieldRef Name='Vencimento_x0020_CND_x002f_INSS' />
<Value Type='DateTime'>txtDataDeCNDINSS</Value>
</Geq>
<Leq>
<FieldRef Name='Vencimento_x0020_CND_x002f_INSS' />
<Value Type='DateTime'>txtDataAteCNDINSS</Value>
</Leq>
</Or>
<Geq>
<FieldRef Name='Vencimento_x0020_CRF' />
<Value Type='DateTime'>txtDataDeCRF</Value>
</Geq>
<Leq>
<FieldRef Name='Vencimento_x0020_CRF' />
<Value Type='DateTime'>txtDataAteCRF</Value>
</Leq>
</Or>
<Geq>
<FieldRef Name='Vencimento_x0020_CND_x0020_Tribu' />
<Value Type='DateTime'>txtDataDeCNDTribFederais</Value>
</Geq>
<Leq>
<FieldRef Name='Vencimento_x0020_CND_x0020_Tribu' />
<Value Type='DateTime'>txtDataAteCNDTribFederais</Value>
</Leq>
</Or>
<Geq>
<FieldRef Name='Vencimento_x0020_Seguro_x0020_de' />
<Value Type='DateTime'>txtDataDeSegurodeVida</Value>
</Geq>
<Leq>
<FieldRef Name='Vencimento_x0020_Seguro_x0020_de' />
<Value Type='DateTime'>txtDataAteSegurodeVida</Value>
</Leq>
</Or>
</Where>
<OrderBy>
<FieldRef Name='Title' />
</OrderBy>
</Query>
代码基本上是:查阅包含多列日期的 Sharepoint 2013 列表,并形成多个日期类型字段。问题是我创建的表格之间。CAMLQuery 不返回任何内容。只是 CAMLQuery 不正确的一个错误。
有人知道如何使用多个日期字段制作 CAMLQuery 吗?
tks