且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么插入第一个 ID 后我的 cfloop 停止?

更新时间:2023-02-19 10:56:20

如果 qryRecords 不包含 TimeStart 列,则 TimeStart 需要在 2 个打开的 cfloop 标签之间重置(btwn <cfloop condition="TimeStart LTE meetingLength">).此外,cfloop 条件应将 TimeStart 与最后一个时段的开始时间(而不是 meetingLength 分钟)进行比较.

If qryRecords doesn't contain a TimeStart column, then TimeStart needs to be reset between the 2 opening cfloop tags (btwn <cfloop query="qryRecords"> and <cfloop condition="TimeStart LTE meetingLength">). Also, the cfloop condition should be comparing TimeStart w/ the last slot's start time (not the meetingLength minutes).