|
|
libcats.org
Access 2007 Programming by Example with VBA, XML and ASPJulitta KorolIn particular, the chapter on Arrays. Most books skip this topic entirely or will have a page or 2. This has an entire chapter on it, with many "complete" examples, and the reason I bought the book. This may, in fact, be the definitive reference for arrays. But there is a remarkable error in that chapter, which describes how, for 2D arrays, the first index is for rows, the second for columns, such as Array(rowindex,columnindex). But I discovered, after a few hours of confusion, that it's the other way around! The problem is evident from the continuous "out of range" errors I was getting. I had to print.debug almost every cell in my array to confirm this. Also, the SELECT statement in the example that uses the GetRows Method to fill a 2D array (ironically not in the chapter on Arrays) should include the ORDER BY clause, so the data in the array will be in the same order as in the table from which it's importing. I was printing the table, for reference, but the array was, not obviously, sorted in a different order! For sure, the code in these books often doesn't work, but I'm sure it's hard to proof all the code, since typos in code just aren't as obvious as with regular prose.
Популярные книги за неделю:
Проектирование и строительство. Дом, квартира, садАвтор: Петер Нойферт, Автор: Людвиг Нефф
Размер книги: 20.83 Mb
Система упражнений по развитию способностей человека (Практическое пособие)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 818 Kb
Сотворение мира (3-х томник)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 817 Kb
Радиолюбительские схемы на ИС типа 555Автор: Трейстер Р.Категория: Электротехника и связь
Размер книги: 13.64 Mb
Только что пользователи скачали эти книги:
Две зимы и три летаАвтор: Абрамов Федор АлександровичКатегория: Советская классическая проза
Размер книги: 593 Kb
Тайфуны с ласковыми именамиАвтор: Райнов БогомилКатегория: Шпионский детектив
Размер книги: 538 Kb
Machine Learning Challenges, 1 conf., MLCW 2005Автор: Joaquin Quinonero-Candela, Автор: Ido Dagan, Автор: Bernardo Magnini, Автор: Florence d'Alché-BucКатегория: Cs_Computer science, CsLn_Lecture notes
Размер книги: 5.33 Mb
Modern Surgical Pathology, 2nd Edition 2 Volume SetАвтор: Noel Weidner MD, Автор: Richard J. Cote MD, Автор: Saul Suster MD, Автор: Lawrence M. Weiss MD
Размер книги: 208.31 Mb
Amyotrophic Lateral SclerosisАвтор: Hiroshi Mitsumoto, Автор: David A. Chad, Автор: Erik P. Pioro
Размер книги: 42.90 Mb
Dynamic Light Scattering: With Applications to Chemistry, Biology, and PhysicsАвтор: Bruce J. Berne, Автор: Robert PecoraКатегория: Химия
Размер книги: 3.12 Mb
|
|
|