使用now函数我想发布日期,但重新格式化为yyyy / mm / dd。以下是我的尝试(语法错误)
st_sql = "UPDATE[tblPerformanceTrackingMaster02]INNER JOIN[tblValueAdds]ON[tblPerformanceTrackingMaster02].[ID_ValueAddWaste]=[tblValueAdds].[ID_ValueAdd]SET[tblPerformanceTrackingMaster02].[Effective_Date]=now(CDate(Format([tblPerformanceTrackingMaster02].[Effective_date], ""yyyy/mm/dd"")))where[tblPerformanceTrackingMaster02].[Effective_Date]is null"
Application.DoCmd.RunSQL (st_sql)
答案 0 :(得分:0)
以下内容可提供所需的结果: