gpt4 book ai didi

excel - 选择语句包含拼写错误或缺失的保留字或参数名称,或者标点符号不正确 - VBA Excel

转载 作者:行者123 更新时间:2023-12-04 14:53:45 26 4
gpt4 key购买 nike

strQuery1 = "SELECT 'Health Start Lite' AS HSL_RAW_ProductName, Max(HSL_RAW.[DateCreated]) AS MaxOfDateCreated," & _
"HSL_RAW.[Premium], Last(HSL_RAW.[FirstName]) AS LastOfFirstName, HSL_RAW.[LastName]," & _
"HSL_RAW.[EmailAddress], HSL_RAW.[MobileNumber], HSL_RAW.[Partner], Last(HSL_RAW.[Stage]) AS LastOfStage" & _
"FROM ...

最佳答案

LastOfStageFROM 之间缺少一个空格。应该是:

 "... AS LastOfStage" & _
" FROM ..."

注意 FROM 之前的空格。

关于excel - 选择语句包含拼写错误或缺失的保留字或参数名称,或者标点符号不正确 - VBA Excel,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68575619/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com