close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UE not getting info from recordset

Thread began 1/28/2010 11:17 am by John Langer | Last modified 1/28/2010 6:08 pm by John Langer | 711 views | 3 replies |

John LangerBeta Tester

UE not getting info from recordset

I have two recordsets on a page that has a DataAssist Insert form on it.

The two recordsets gather email address in different ways. The first (rsFrom) gets the user who is logged in email address by comparing the UserID with the SESSION UserID. I have no problem with that one.

The second (rsTo) gets the email address from a URL parameter from the previous referring page. So that sends over the details of the person you want to send the email to. If I bind all this data on the page it all shows up fine. No problem.

However, when I use the email from the recordset "rsTo" and put that into the "To" field of the UE wizard, it does not get any data. I've tested by putting a real email address in and that got through OK but from the recordset, nothing. I also have bindings in the email body. So it says "Dear (rsTo.Name) you have a message from (rsFrom.Name). The name is printed (from the rsFrom recordset) but the name from the rsTo recordset is not printed.

So it seems that the info from the rsTo recordset has the information stored on the Insert page but does not transfer that info to UE.

I've attached all the relevant pages in zip format.

Sign in to reply to this post

Dani Chankhour

The problem is when you submit the form, you lose the query string ($_GET['UserID']). To fix this, change your action on your form to say:

action="messaging_Insert.php?UserID=<?php $_GET['UserID']; ?>"


You might want to add an isset() around it if there is a case where a use comes to this page with no userid in the url.

Sign in to reply to this post

John LangerBeta Tester

Hi Dani,

Thanks for helping.

I'm afraid that that didn't work. Any further help would be appreciated.

Sign in to reply to this post

John LangerBeta Tester

Hi Dani,

Don't worry about this any longer. I've thought of an easier way. I'm sending the email from the page that the Insert page redirects to (the Details page). It has all the necessary information. I've just done a quick test and it works beautifully when triggered by the "before page load" trigger.

Many thanks for trying anyway. Don't know why I didn't think of this in the first place.

Sign in to reply to this post

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...