[AccessD] Recordset object transposes field order

Jim DeMarco Jdemarco at hudsonhealthplan.org
Thu Jul 8 09:36:55 CDT 2004


Susan,

Out of curiousity have you tried looping through the recordset Fields collection and printing out the field names to see what order they appear within the record set?

HTH,

Jim DeMarco

-----Original Message-----
From: Susan Harkins [mailto:ssharkins at bellsouth.net]
Sent: Thursday, July 08, 2004 9:53 AM
To: 'Access Developers discussion and problem solving'
Subject: RE: [AccessD] Recordset object transposes field order


Ordinary SELECT Gustav --

"SELECT CustomerID, CompanyName, Phone, Fax FROM Customers"

Simple as pie. 

But remember, I'm populating the list box via the Recordset property - - and
that's what seems to mess it up -- so whether it's some peculiar behavior of
the Recordset object, the property, or the list box I can't tell. 

Susan H. 





Hi Susan

Oh, sorry, missed that point.
I have no idea - never observed that.

What does your Select statement look like? "Select * .." or "Select Company,
Customary .."

/gustav


> Column Heads should simply display the column names in the first row 
> -- not rearrange the columns. The SELECT statement retrieves Customary 
> and Company Name -- in that order, but the list box displays Company 
> Name first. That's what I meant by "transposed."

> Susan H. 

> Hi Susan

> Ehh ... That's by design ...

> What else would you suggest a property of this name should address?

> /gustav

--
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


 



***********************************************************************************
"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message.  Thank You".
***********************************************************************************




More information about the AccessD mailing list