I am using db.CreateView:
Set vwNew=dbTarget.CreateView(strNewViewName+“|”+strNewViewAlias, strSelectionFormula, vwTemplate, False)
Where strNewViewName is 45 characters long, and strNewViewAlias is 70 characters long. According to this table of Notes limits this is fine
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/2c9dc242fa65594385256e770057aaaf?OpenDocument
However when the line above is executed I get Error 4000: Name is too long
Is there a limit on the length of the first paremeter when using db.CreateView ???
TIA,
Mark.
Subject: RE: View name length with db.CreateView
That same table says: How many characters are allowed in names for views, forms, and so on? View names: 64. An alias is also a name. While the total length is limited to 128 bytes (plus 1 or 2 bytes for each alias because they are displayed with spaces around the “|” but the spaces are not stored), each individual name is also limited to 64 bytes (not characters).