close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

UE recipient recordset field = index to second recordset?

Thread began 6/10/2014 2:12 pm by dan361748 | Last modified 6/11/2014 8:32 am by dan361748 | 509 views | 1 replies

dan361748

UE recipient recordset field = index to second recordset?

Hi - I'm using Databridge 1.1.3....

I have a form that sends emails using the Universal Email behaviour. The page with the form on it has 2 record sets. Recordset "A" is the recipient list. In that recordset I am also getting the UserID for each record.

I'm struggling with figuring out how to pass that UserID to a second recordset as the index, so I can call the fields from the second recordset in the body of my email. The second recordset query is complex (for me anyway) and I don't think I'm able to join it to the recordset "A", hence the 2 RSs.

I've got my page sending emails to the recipient list no problem. I'm using the solutions found on http://www.webassist.com/forums/posts.php?id=17869 and I think I understand I can pass the UserID column from RS "A" to act as index for "B" using WHERE UserID = ($RecipArray[$RecipIndex][0]["[UserID]"]), but I'm having troubles at that point. I've been putting RS "B" in the email template file at the top, and have also tried putting the query in the actual body of the email, but no worky.

Also, about looping - does the UE behaviour loop through the email template for each recipient?

Has anyone tried something like this and am I at least in the right direction? Or is there another way to skin this cat so to speak?

Many thanks for reading this!

Dan

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...