#29 For each phrase in vbscript in SQL_StoredProcs.vbgen

open
nobody
None
5
2012-09-24
2012-09-24
Doug Frevert
No

For each objColumn in objTable.PrimaryKeys
throws an error

Changing the script to
For j=0 to objTable.PrimaryKeys.Count - 1
Set objColumn = objTable.PrimaryKeys(j)

works.

I'm not sure whether it's a MyGeneration problem, or Windows 7, or maybe a .NET Framework version issue.

I did see the problem mentioned in
http://stackoverflow.com/questions/10302911/why-is-mygeneration-stored-procedure-generator-template-not-working/12571608#12571608

Discussion