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