I am creating an ADO recordset and assigning it as the source of a
listbox. However, the column order in the listbox is different from
the query.
Here is the SQL statement:
strSQL = "SELECT [TenantID], [TenantDisplayName] " _
& "FROM qselTenantList_Temp " _
& "WHERE TenantID = TenantID "
That produces this result:
TenantID TenantDisplayName
-------- -----------------
ABC The ABC Corporation
123 Lotus Company
In the listbox, TenantDisplayName appears, followed by TenantID.
TenantDisplayname TenantID
----------------- --------
The ABC Corporation ABC
Lotus Company 123
Any ideas why it would switch column order?
Thanks in advance,
Bryant
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/q7folB/TM
--------------------------------------------------------------------~->
Please zip all files prior to uploading to Files section.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AccessDevelopers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/