> -----Original Message-----
> From: Rebecca Wells [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 24, 2005 5:30 PM
> To: CF-Talk
> Subject: Structures vs. "Real Structures"
> 
> This reminds me of something that my boss and I argued about... I said
> that query recordsets and forms are structures, and he said that it's not
> the same kind of structure as a struct(), that the structure function is
> better because it's indexed and that the query and forms are not "real
> structures". Which is true?

The FORM scope (and all other scopes) are plain-jane structs - there's no
real difference between them and a struct()-generated structure.  You can
use all the struct functions on scopes.

A query is more complex: it's actually a structure of arrays (each column is
an array).  You can't use many of the struct functions on queries however,
but you can use most of the array functions on query columns.

I'm not sure if this makes it better or worse, but there it is.

Jim Davis





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207599
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to