Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Paradox > changevalue and...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 12 Topic 1375 of 1400
Post > Topic >>

changevalue and newvalue

by "Craig" <craig.futterman@[EMAIL PROTECTED] > Jun 7, 2008 at 08:18 AM

Newvalue is triggered when a new value is entered into a field but is also 
called on opening.
I have a rather large database which has similar fields (we will call them

ASA1 and ASA2) in separate, but linked tables. The fields are not
identical 
for good reasons which I will not discuss here.
However, when one of those fields changes, I want to take the value of the

field, perform an operation on the value and then put the new value in the

other field.
The code for that part is easy, but it runs upon opening as well as a 
newvalue.
Changevalue doesn't seem to work all the time. It will work if move off
the 
field by hitting the tab or enter keys or use the mouse to touch another 
field. This form is a notebook and if I click on the a new tab to look at 
the other field, the other field has not changed.

Since CanDeaprt fires before changevalue, I tried putting
self.postrecord() 
in that but, it didn't seem to help. I am sure the Real Programmers out 
there have dealt with this many times before and there is a relatively
easy 
answer.

As always,
Thanks for your help ahead of time.

Craig Futterman
 




 12 Posts in Topic:
changevalue and newvalue
"Craig" <cra  2008-06-07 08:18:24 
Re: changevalue and newvalue
Jeff Shoaf <jeffshoaf@  2008-06-07 10:48:47 
Re: changevalue and newvalue
Fred Z <fredzcalgary@[  2008-06-07 07:56:25 
Re: changevalue and newvalue
"Craig" <cra  2008-06-07 12:32:42 
Re: changevalue and newvalue
Jeff Shoaf <jeffshoaf@  2008-06-07 13:39:13 
Re: changevalue and newvalue
"Craig" <cra  2008-06-07 13:59:05 
Re: changevalue and newvalue
Bill McCray <McCrayBil  2008-06-07 16:30:44 
Re: changevalue and newvalue
Jeff Shoaf <jeffshoaf@  2008-06-08 09:36:02 
Re: changevalue and newvalue
Jim Hargan <contact@[E  2008-06-08 10:33:34 
Re: changevalue and newvalue
Jeff Shoaf <jeffshoaf@  2008-06-08 17:10:02 
Re: changevalue and newvalue
Bill McCray <McCrayBil  2008-06-08 18:11:03 
Re: changevalue and newvalue
Jim Hargan <contact@[E  2008-06-07 15:15:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 19:52:06 CDT 2008.