>
> Is there another way to do this?
>
> Jake
>

Jake,

Sure.. Just create a session structure and look for a variable that your
admin side flips.

<cfif application.flush_flag>
<cfquery datasource="dbfoo" name="qGetCust">
    SELECT id, thisa, thata, theothera
    FROM myusers
</cfquery>

<cfscript>
// start recordset counter
    counter = 1000;
    "session.stGetCust.int#counter#"= StructNew();
</cfscript>

<cfloop query="qGetCust">
<cfscript>
      "session.stGetCust.int#counter#.id" = qGetCust.id;
     "session.stGetCust.int#counter#.thisa" = qGetCust.thisa;
     "session.stGetCust.int#counter#.thata" = qGetCust.thata;
     "session.stGetCust.int#counter#.theothera" = qGetCust.theothera;
// increase your counter
    counter = counter + 1;
</cfscript>
</cfloop>
<cfset application.flush_flag = 0>
</cfif>

Best Regards,

Phillip B. Holmes



---
[This E-mail has been scanned for viruses.]

----------------------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to