Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DESPERATE BEGINNER

Status
Not open for further replies.

ttyebileyo

Programmer
Feb 24, 2005
2
ZA

I’m trying to get the “pikey” that begins with the word default form the site table but I’m on the forms table. I tried using the PIGetSiteInfo function but I’m not coming up with the right info.
This is what I have : In the Eformdlg



CString strfolder = "defaultfolder";
for(int i = 0 ;i < 3 ; i++)
{
int rc = PIGetSiteInfo( _T("pikey"), strfolder);

if( !rc || strfolder.IsEmpty())
{
m_SecureFolder.AddString(strfolder);
}
}

AND int PIGetSiteInfo(const TCHAR *pKey, CString &Field)
{
return workFlow->pSite->Get(pKey, Field);
}

The result is defaultfolder.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top