Queries Without Using

Many ColdFusion tags take queries as attributes, queries usually created with (or some other tag). So how to you use tags that expect queries with data of your own? Simply create your own queries on-the-fly. CFML features a function named QueryNew() that can be used to create queries, as well as three other functions (that all begin with the word Query) that can be used to adds rows and columns and set values. (Applies to: ColdFusion 3 (or later))

Leave a Reply