Domino 9 und frühere Versionen > ND7: Entwicklung
@DbColumn Problem
m3:
Aber in der 7.0.1. gabs doch diesen Regression-Bug, dass sich das Handling des 64KB Limits geändert hatte.
Tode:
das ist nicht ganz richtig @Bernhard: In R6 wurde diese Grenze für den DBColumn / DBLookup selbst aufgehoben, nur musste man dann dafür sorgen (durch @Unique, @Subset, oder sonstwelche Filter), dass später die Listen wieder auf die 64k zurückgestutzt wurden, bevor sie zum beispiel in ein Feld geschrieben werden, was ja im vorgestellten Code passiert...
Allerdings gab es -wie m3 schreibt- einen Regression Bug in 7.0.x, der diese Einschränkung wieder hervorholt...
nur so zur Ergänzung...
Tode
ascabg:
@Tode,
Soll man diesem Beitrag also entnehmen, dass in R6 @DbColumn und @DbLookup mehr als 64k zurueckliefern.
Dem widerspricht aber die Hife der Version 6
Was ist jetzt richtig?
Andreas
Tode:
Auszug aus Technote Nr. 1099056 der Lotus KB:
--- Zitat ---Starting in Notes/Domino 6.0 a lookup function can access return greater than 64k of data. The Notes user interface and fields are still limited to presenting 64k of data, so if the returned lookup data set is greater than 64k then it must be reduced in size using functions or formulas (for example, by using @Subset).
--- Ende Zitat ---
Also offensichtlich ist hier die Designer- Hilfe falsch...
HTH
Tode
Edit: Hier noch der KB- Eintrag, der den Regression- Bug beschreibt (Nr. 1231611 )
--- Zitat ---After upgrading to Lotus Notes/Domino 7.0.1, you find that @Db lookup functions that return >64K of data always return "@ERROR". The same error did not occur when using Notes/Domino 7.0 or earlier 6.x releases under similar circumstances.
In Notes 6.0 and later, lookups can return greater than 64K as long as the resulting data set is then limited using formulas or functions so that less than 64K of data is returned to a field or the Notes user interface.
For example, if the below lookup generated more than 64K of data it would return "@ERROR" in Notes/Domino 7.0.1, but would return the expected data in 7.0 and earlier 6.x releases.
@Subset(@DbLookup("":""; "ServerName" : "Database.nsf"; "ViewName"; key; 2); 100)
The issue does not affect lookups present within Dialog List fields.
Note: If a database is on a Domino server, then the results observed are dependent on the server release, regardless of whether the user initiates (executes) the lookup.
--- Ende Zitat ---
Navigation
[0] Themen-Index
[*] Vorherige Sete
Zur normalen Ansicht wechseln