R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
2 New SQL Functions
Last Post 01 Jan 1900 05:00 AM by . 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
pauldesUser is Offline
Veteran Member
Veteran Member
Posts:1392

--
04 Oct 2006 02:32 AM  
{SQLFIND:[db.dbo.client.emailaddress],[email]} would return the primary key value for the table client for the FIRST match found in the table where a value is found in the emailaddress that equal [email].

{SQLINDEX:[db.dbo.client.emailaddress],[vRecordId,S]} would return the value in the column emailaddress where the primary key value = the session variable vRecordId.
ListX....makes you look brilliant, even though you're not.
kevinmschreinerUser is Offline
Advanced Member
Advanced Member
Posts:729

--
04 Oct 2006 12:38 PM  
Couldnt you accomplishing both of those with this syntax?

{SUBQUERY,Name="sqlfind",Query="Select top 1 EmailID from db.dbo.client where emailaddress='[email]'",Format="[EmailID]"}

{SUBQUERY,Name="sqlindex",Query="Select top 1 emailaddress from db.dbo.client where EmailID='[vRecordId,S]'",Format="[emailaddress]"}
pauldesUser is Offline
Veteran Member
Veteran Member
Posts:1392

--
04 Oct 2006 03:30 PM  
Yeah, I guess....
ListX....makes you look brilliant, even though you're not.
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share