Comparing forms

Hi y’all,

I’m in the need of comparing two forms (not documents).

I’ve tried with the standard (v1 = v2) statement, but I just don’t trust it! (In other words, I’ve seen it fail once foo often.)

Has anybody done this?

I’ve considered using DXL, but judging from the documentation, DXL is not usable on design elements?

Any help will be appreciated.

Thanks a lot in advance.

Best regards,

Casper Helenius,

Coloplast A/S,

Denmark

Subject: *DXL is certainly usable on design elements

Subject: RE: *DXL is certainly usable on design elements

Well, yeah, I can export a design element by manually selecting the design element, and then selecting the DXL Export feature in the Tools menu in the Designer.

However, I need to do this automatic, and using the following code:

Dim foo As NotesDXLExporter

Set foo = session.CreateDXLExporter

Call foo.SetInput( form )

Call foo.SetOutput( stream )

Call foo.Process

where form is a NotesForm and stream is a valid NotesStream, I get:

“DXLExporter input object is invalid, uninitialized, or not explicitly declared and strongly typed”

The form object is declared and initialized, so basically I’m pretty lost when it comes to what to do.

Any suggestions?

//C.

Subject: Problem solved by adding the form to a NotesNoteCollection.