嘿大家我一直收到以下错误,运行时错误'3075':查询表达式“0”中的字符串语法错误)'
__call__
答案 0 :(得分:1)
this.sub1 = Observable.combineLatest(this.categoriesService.getCategories(), this.eventsService.getEvents())
.subscribe((data: [Category[], WFMEvent[]]) => {
this.categories = data[0];
this.events = data[1];
this.isLoaded = true;
this.setOriginalEvents();
this.calculateChartData();
});
答案 1 :(得分:0)
您在字符串构造中错放了刻度(例如'
)。可能是通过复制和粘贴错误。
示例:
... & ",'" & Me.cboAccessories & ",'" & Me.txtUser & ",'" & Me.txtNumber & ",'" & ...
......应该更接近,
... & ",'" & Me.cboAccessories & '",'" & Me.txtUser & '"," & Me.txtNumber & ",'" & ...
由于我不知道哪些字段是文本,数字,日期或备忘录,因此无法提供虚假答案。也许做一个字符串构造成字符串var和debug.print var来查看结果。