CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 update table with session variables

Print topic Send  topic

Author Message
jimmy coretes
Posted: 04/17/2001, 9:39 AM

I have a table which has some fields I need to update:

UPDATE orders SET orders.member_id = session("userID")
WHERE (((orders.member_id)=session(unicoID)));

I know I canīt do this..!!! SQL doesnīt accept this variables.

How can I mix this kind of variables in the same procedure?

I have no idea.. thanks, :-(

Alexey Alexapolsky
Posted: 04/18/2001, 2:41 AM

Use "Form properties"/Events/"Before update" event ,
enter code :

fldmember_id = session("userID")

Where "fldsomething" is an automatically created variable for
form field named "something".




--
Regards,
Alexey
CodeCharge Support



jimmy coretes <webmaster@virtuallinksa.com> wrote in message
news:9bhrjd$ool$1@mail.tankhill.com...
> I have a table which has some fields I need to update:
>
> UPDATE orders SET orders.member_id = session("userID")
> WHERE (((orders.member_id)=session(unicoID)));
>
> I know I canīt do this..!!! SQL doesnīt accept this variables.
>
> How can I mix this kind of variables in the same procedure?
>
> I have no idea.. thanks, :-(
>
>


   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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