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

 Math functions inside Data Grids

Print topic Send  topic

Author Message
va_scorp
Posted: 02/21/2003, 6:23 AM

I am still trying to learn this program. It looks like a great tool. I am
having a problem of trying to figure out how to perform math functions
inside
a newly created cell in a data grid. My data grid is populated with data
from a database. I would like to do something like the following: textbox1 =
{DB field1 * DB field2}. Does anyone have any examples or links I could
learn from?

Thanks,

Scorp

Michael Rachow
Posted: 02/21/2003, 7:47 AM

Your database columns correspond to variable names like fld<colNameAtForm>.

In the property dialog on tab events you can enter
something like $lfdcolone + $fldcoltwo; (PHP like syntax)

These one time given operation will work for all rows.

Choose an usual event like Before Show or Before Update.
Regards
Michael

"va_scorp" <va_scorp@hotmail.com> schrieb im Newsbeitrag
news:b35cp1$ul7$1@news.codecharge.com...
> I am still trying to learn this program. It looks like a great tool. I am
> having a problem of trying to figure out how to perform math functions
> inside
> a newly created cell in a data grid. My data grid is populated with data
> from a database. I would like to do something like the following: textbox1
=
> {DB field1 * DB field2}. Does anyone have any examples or links I could
> learn from?
>
> Thanks,
>
> Scorp
>
>


   


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.