CFLoop Error For Missing Entries

后端 未结 2 1735
独厮守ぢ
独厮守ぢ 2021-01-25 04:12

please disregard this post. I have made a clearer example of my problem here: Error with CFLoop When Entries Are Missing

I am running the CFLoop code be

2条回答
  •  执笔经年
    2021-01-25 04:35

    Using the recordcount of the external database in the loop should prevent the errors.

    
    

    A better solution, assuming you do have the query in memory, would be to use a query of queries.

    
    SELECT SID, First AS FirstName, Last AS LastName, Age AS StudentAge
    FROM ExternalDatabaseQuery
    
    

提交回复
热议问题