But now, I’m triying to migrate to a R6 Domino Server running in a Suse Linux 8.0.
In this new environment this formula don’t work.
I find that @dbcolumn don’t return information about the server name , so @name([cn],@dbname) only return the first member of the database URI.( If the database URI is ‘net\temp\bb.nsf’ only return ‘net’ )
In Notes Help I’ve found that I must rebuild the view with Crtl-Shift-F9. I do that but the error remains.
In the server console I wrote “load compact ” and “load fixup ” triying to rebuild views at server level, but without results.
Subject: @dbName don’t work when migrate from R5 to R6
The issue is in the ‘Path’ temporary variable. Your code is set up to use the delimiters used by windows - you need to update it for use with Linux.
Extract from the help:
UNIX uses the “/” character (slash) as the directory separator while DOS/Windows platforms use "" (backslash). LotusScript supports the use of slash and backslash, with the following restrictions:
String literals. If a slash is used in a string literal that is a pathname argument, the .LSO file generated will not run on other platforms, unless that platform supports slash (for example, the UNIX platform).
String variables. If you assign a string literal containing a slash to a variable, and then pass the variable as a pathname argument, a run-time error occurs if the platform does not support slash pathnames (for example, the DOS/Windows platform).
Subject: RE: @dbName don’t work when migrate from R5 to R6
Thanks for your response, Ranjan.
I think my trouble is other.
Simplifiying my question:
When applying the formula @name([cn];@dbname) in a view column in my database ‘net\temp\pp.nsf’, it return only ‘net’.
Since that point, the error is previous at calculate ‘Path’.
Actually I’m changing ‘@name([cn];@DbName)’ for ‘@subset(@DbName;-1)’ ¡against Lotus recommendations! and my formula works fine, but that suppose search in all my databases and views.
So, I’m still looking for better solution. I think there must be something at Administrator Level, but I can’t find it.