netsys
Posts: 39
|
Posted: 10/17/2011, 1:30 PM |
|
I'm working on an editable grid, which is getting data from two tables. I would like to be able to have the data sorted by first the last name, then the first name. I can sort fine with just the last name, but when I add the first name to the order by area of the SQL, I get the following error:
ADODB.Recordset error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name or ordinal.
Can someone give me more info on why I would be seeing this?
Thanks.
Beth Perkins
|
|
|
netsys
Posts: 39
|
Posted: 10/18/2011, 9:14 AM |
|
Found the answer here: http://forums.codecharge.com/posts.php?post_id=78927
When I added the second sort, the field names that were being sorted were changed from StudentID and RegID to Students.StudentID and registrations.RegID. I used an alias in my Control Source for each of these fields, changing them back to StudentID, and RegID, and voila, it worked. Had to make sure then that several references throughout the page were referencing StudentID and RegID rather than Students.StudentID, etc., but this worked like a champ.
|
|
|
|