Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » TESSSS(JSP)
TESSSS [message #1749698] Fri, 09 December 2016 20:02
rupaboppana rupaboppana is currently offline rupaboppana rupaboppanaFriend
Messages: 1
Registered: December 2016
Junior Member
hello,
reportLogons.isCustomPasswordNotEmpty

index.php/fa/27820/0/

I was trying to set this property
if ( reportLogons.isCustomPasswordNotEmpty == true )
but it is showing up this error message
ERROR
""" 165 : reportLogons.isCustomPasswordNotEmpty cannot be resolved or is not a field
reportLogons.isCustomPasswordNotEmpty cannot be resolved or is not a field"""


IInfoObjects reports = infoStore.query("SELECT SI_ID, SI_NAME, "
+ "SI_LOGONINFO, SI_PROCESSINFO"
+ " FROM CI_INFOOBJECTS WHERE "
+ "SI_PROGID = '"
+ "CrystalEnterprise.Report' "
+ "AND SI_NAME = '" + ReportName + "' "
+ "AND SI_INSTANCE = 0 " );
IInfoObject report = (IInfoObject) reports.get(0);

//set database logon information
ISDKList reportLogons = ((IReport)report).getReportLogons();
IReportLogon reportLogon = (IReportLogon) reportLogons.get(0);

if ( reportLogons.isCustomPasswordNotEmpty == true )
{

reportLogon.setCustomUserName (dbuser);
reportLogon.setCustomPassword (dbpass);
}
  • Attachment: error.png
    (Size: 26.21KB, Downloaded 96 times)
Previous Topic:Show layers from a CDO reprensentation file
Next Topic:GMF Multiple Editor with RCP error
Goto Forum:
  


Current Time: Mon Dec 11 13:32:41 GMT 2017

Powered by FUDForum. Page generated in 0.01936 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software