Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: ColumnValues property of document out of synch with column in view
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.3
Reproducible: Always

Hi All

I'm having trouble exporting a view via Lotus Script to Excel. The export agent loops through all the documents in a view, and uses the ColumnValues property of NotesDocument so that the exported table contains the same data as the view.

That was the theory, anyway.

In order to deal with overly descriptive titles, I use the following formula to truncate the documents' titles in the view:

breaks:=",":".":"/":"\\":"-":"_":";":":":"(":")":@Char(10);
Full:=RFCTitle + " ";
Trim:=@Left(Full; 75);
@If(@Length(Full) < 76;Trim;
@Do(
n:=76;
@While(
@IsNotMember(@Middle(Full; n-1; 1); breaks);
Trim:=Trim + @Middle(Full; n-1; 1);
n:=n+1
);
Trim
)
)

This works in the view - it truncates the value in the field RFCTitle to 75 characters or the shortest string that is more than 75 characters and ends in a complete word.
However, the output in Excel is showing longer strings than the view. For example:
Value in document - {To stop Rbook rebuilding past orders and downloading to Handheld. Customers which register with milk&more but do not place an order for some time are causing the RoundMaster hand-held to process deliveries for the customer from the registration date to the current date.
Step 1. Release to Wimbledon Sunday 13th Oct
.Step 2. and Step 3 will be raised as a seperate RFC
}
Value in view - {To stop Rbook rebuilding past orders and downloading to Handheld. Customers which}
Value in Excel - {To stop Rbook rebuilding past orders and downloading to Handheld. Customers which register with milk&more but do not place an order for some time are causing the RoundMaster hand}

I've rebuilt the views in the application, and I've restarted my Notes client. I'm at a loss - any ideas?

TIA!


Feedback number WEBB95JG4F created by ~Joseph Zekponelyoni on 03/06/2013

Status: Closed
Comments: Never mind - I wrote a function in the agent to duplicate the effect of the formula, and that seems to be doing the trick.





Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS