CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 automatic update

Print topic Send  topic

Author Message
jimmy cortes
Posted: 04/18/2001, 8:39 AM

Now I have another question... :-(. I have been testing the bookstore
example. This example works just with register members. I have create a
temporal session("userID") wich just exists until the user logs in.
So, please, how can I automatically update the temporal member_id into the
table orders to the register member when he/she logs in...?

thanks for your wonderful support...:-).

jimmy

John Hamilton
Posted: 04/18/2001, 12:37 PM

Jimmy,

I don't know much about this example, but let me get this straight. You
assign a "guest" a temp UserID and use that to keep track of the order's
details (line items) until they are assign a more permanent UserID. At this
time you want to go back through the database and change everything that is
for the TempID to instead be for the PermID? If that's the case then find a
event or something in codecharge to place this statement

Update Orders Set MemberID = PermID Where MemberID = TempID

This will change the MemberID field to PermID for every record where
MemberID is currently TempID.

Hope this helps.


--
Thanks,
John Hamilton
POSitive Software Company
http://www.gopositive.com


"jimmy cortes" <webmaster@virtuallinksa.com> wrote in message
news:9bkcgd$i33$1@mail.tankhill.com...
> Now I have another question... :-(. I have been testing the bookstore
> example. This example works just with register members. I have create a
> temporal session("userID") wich just exists until the user logs in.
> So, please, how can I automatically update the temporal member_id into the
> table orders to the register member when he/she logs in...?
>
> thanks for your wonderful support...:-).
>
> jimmy
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.