View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Recordets and Regions

Thread began 8/03/2009 6:44 pm by Paul | Last modified 8/05/2009 5:44 pm by Paul | 923 views | 3 replies

PaulBeta Tester

Recordets and Regions

I have used SA to create a registration system.
I'm looking to add the following functionality.
When a user logs in and updates their profile...

The user is taken to a confirmation page which has two show regions.
1) show a message if the recordset is 0 (Off)
2) show a different message if the recordset is 1 (On)

The regions are based on a rule created using the following recordset

The recordest is built when the index page displays after the profile is updated.
The rs pulls the user record that matches the $_SESSION['UserID'] and includes a ProfileUpdate field that contains either a 1 (On) or 0 (Off) value.

Ok, so thats the logic.

When its all in place, i'm not seeing either region text, when I know the recordset created, contains one user record which will have a 0 or 1.

My access rule looks at the recordset and pulls the ProfileUpdate variable and compares against 1 for my 'On' rule and 2 form 'Off' rule.

Just can't figure out why its not happening!
Advice welcome.

Paul

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