Bartender调用数据库字段label_list.LOT1和label_list.QTY1,然后通过判别LOT1是否为空进行格式化输出。代码如下:
ReferenceField("label_list.LOT1")
ReferenceField("label_list.QTY1")
If Field("label_list.LOT1", "") <> "" Then
Value = Field("label_list.LOT1", "") & ":" & Field("label_list.QTY1", "")
Else
Value = ""
End If