473,387 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Help needed with FileNet IDMListView and Recordsets

I'm working with a FileNet IDMListView control in C# and am having a
dickens of a time getting it to populate with the data in the
recordset.

FileNet convention says that you set the "SupportsObjSet" property for
the recordset to True and then pass the "ObjSet" column value to the
AddItems method.

However, while this may work in VB it doesn't in C#, at least the way
I've got it put together.

Here's the snippet for the recordset read:

recordSet.let_ActiveConnection(sConnect);

recordSet.Properties["SupportsObjSet"].Value = true;
recordSet.Properties["SearchFolderName"].Value = "";
recordSet.MaxRecords = 3000;

recordSet.Open(srchString, sConnect,
ADODB.CursorTypeEnum.adOpenKeyset, ADODB.LockTypeEnum.adLockReadOnly,
-1);

It returns one record and does not have the ObjSet column as expected.

Here's the snippet for the list view AddItems call:

idmListView.AddItems(recordSet.Fields["ObjSet"].Value, 1);

I already know this won't work because the ObjSet column isn't in the
returned results.

Is there something that I'm not setting up correctly or that I'm
missing from my properties or search? If there, please let me know.

Thanks.

Steve

Aug 7 '06 #1
1 2211
I found the solution to this. In case anybody is curious, when working
with FileNet and ADODB recordsets in C#, you need to use
ADODB.LockTypeEnum.adLockUnspecified in any open statements. If you use
anything else FileNet will not necessarily work as intended.

Steve

Aug 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Christopher Ambler | last post by:
This is long, but it's driving me nuts. I need some adult supervision :-) (and I'm not above bribing for help) I have a stored procedure that I call that returns XML to me. The SP returns 3...
9
by: Dom Boyce | last post by:
Hi First up, I am using MS Access 2002. I have a database which records analyst rating changes for a list of companies on a daily basis. Unfortunately, the database has been set up (by my...
16
by: Randy Harris | last post by:
I was inspired by the recent discussion of returning multiple recordsets to ADO from a stored procedure. (Amazed is probably more accurate). I asked about how to accomplish same with Oracle and...
8
by: Thaisrgomes | last post by:
Hello all, I am writing a hands on test in MS acess 2003 , and I need to disable the user access tothe help file. HOw do I do that? I tryed to install acess adn diselecte the help file but I...
21
by: Thelma Lubkin | last post by:
I would like my DLookup criteria to say this: Trim(fieldX) = strVar: myVar = _ DLookup("someField", "someTable", "Trim(fieldX) = '" & strVar & '") I don't believe that this will work, and I...
3
by: Kaushik | last post by:
Hello everyone, I have been using FileNet P8's web services in our ASP.Net 1.1 web application for a while using WSE 2.0. Interestingly enough, every now and then one of the FileNet's web services...
0
by: slofd | last post by:
I am new to Filenet. I am trying to run the sample program from filenet.com using Content Engine Web Services running under the FileNet P8 Platform 3.5.0. I am getting "No Port or Method found"...
0
by: UncleLArry | last post by:
I am taking VB6 code and translating it into C# code. And the last item that I am struggling with is the ability to "print" via code different pdf documents via the filenet object .DoPrint. The...
1
by: duvarajan | last post by:
Hi, Can any one explain what FileNet is? Where to be used? Is it is an advanced topic in .NET? Kindly provide me the links that have articles on it. With regards, Uva
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.