Diane, don't know if I can help, but, from your e-mail "handle", I'm
sure curious as to where you live.

 

Steve in Memphis

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, October 02, 2008 2:55pm 14:55
To: RBASE-L Mailing List
Subject: [RBASE-L] - Changing Value of DBGrid Column Using Property

 

Hi, all,

 

I have a main table (say, Customers) and a linked subtable (say, Orders)
on a form.  The subtable is displayed in a DBGrid.

 

When the user enters a value in the column Quantity of the DBGrid, I
want to be able to calculate the TotalPrice column in the DBGrid through
code in an OnExit DB Grid Column EEP.  For example, when I exit the
Quantity column, if the Quantity is less than 100, then the price per
item is $5.00; if the Quantity is >= 100 and < 500, the price per item
is $4.50; if the Quantity >= 500, then the price per item is $4.00.  I
then compute the TotalPrice and want to pop that value in the column
TotalPrice.

 

(This is not what I am really doing; I have a different application
where based on the contents of one column, I do a lookup into a table
using that column and want to copy the resulting value into another
column of the DB Grid.)

 

Any ideas?  I am a newbie to R:BASE Turbo V-8; the last version I worked
with was 6.5++.  Thank you in advance.

 

Thanks,

Diane DeMers

 





________________________________

Looking for simple solutions to your real-life financial challenges?
Check out WalletPop for the latest news and information, tips and
calculators
<http://pr.atwola.com/promoclk/100000075x1209382257x1200540686/aol?redir
=http://www.walletpop.com/?NCID=emlcntuswall00000001> .

Reply via email to