Normal Topic Update LE in diff form (Read 2938 times)
The_Assistant
Member
*
Offline


A tigger's a wonderful
thing!

Posts: 5
Location: Chesterfield, MO
Joined: Mar 1st, 2005
Update LE in diff form
Mar 3rd, 2005 at 8:20pm
Print Post Print Post  
I have two forms in the same db that I want to do the following:

The two forms will have comparable fields.
When I change the data in either form, I want it to update the other forms comparable field.
I have tried using xpost but so far no luck.  

Thanks for helping.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Update LE in diff form
Reply #1 - Mar 3rd, 2005 at 10:28pm
Print Post Print Post  
[quote author=The_Assistant  link=1109881210/0#0 date=1109881210]I have two forms in the same db that I want to do the following:

The two forms will have comparable fields.
When I change the data in either form, I want it to update the other forms comparable field.
I have tried using xpost but so far no luck.  [/quote]

You can put an LE on Form1 that is bound to the same field as the LE on Form 2 that you want to update. You can make it invisible and/or read only if you want. Then, you can simply update it.

LE1::On Element Change
LE2 = LE1
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
The_Assistant
Member
*
Offline


A tigger's a wonderful
thing!

Posts: 5
Location: Chesterfield, MO
Joined: Mar 1st, 2005
Re: Update LE in diff form
Reply #2 - Mar 3rd, 2005 at 10:58pm
Print Post Print Post  
Sorry, I asked the wrong question.  I mean they are different db in the same application.  Thanks.
  
Back to top
 
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Update LE in diff form
Reply #3 - Mar 4th, 2005 at 12:46am
Print Post Print Post  
Make sure that you are NOT testing the xpost fuction in Preview Mode. None of the x-family functions work in Preview.

I always save the design to Test.db to try those types of things, to make sure I don't mess with the original data.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged