473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Inducing After Update Code.

Hello,

Any advice on the attached would be greatly appreciated.

I am currently customising someone elses database and have the following problem.

A date is updated on a form, in database 1. This then updates a linked table in database 2.
Database 1 then runs a macro in database 2 and produces output dependant upon the data that is held in the linked table. (ie the date)
I basically use the following sequencing to try and achive this.
1) in the load function on the form I open the date form, which then populates a date field.
Dependant upon the date, various other text fields are then populated. but... they are only populated if a user uses the tab function to tab away from the date control. (any combination of using setfocus or save record to move the control does not induce the after update code, hence various other controls are not updated. but for a user using the tab function.

Question.
How do you programatically induce the after update code.

I have tried copying this code into the diry, change event procedures and this did not work?

Many thanks


Chris
Apr 5 '07 #1
1 1471
vijaydiwakar
579 512MB
Hello,

Any advice on the attached would be greatly appreciated.

I am currently customising someone elses database and have the following problem.

A date is updated on a form, in database 1. This then updates a linked table in database 2.
Database 1 then runs a macro in database 2 and produces output dependant upon the data that is held in the linked table. (ie the date)
I basically use the following sequencing to try and achive this.
1) in the load function on the form I open the date form, which then populates a date field.
Dependant upon the date, various other text fields are then populated. but... they are only populated if a user uses the tab function to tab away from the date control. (any combination of using setfocus or save record to move the control does not induce the after update code, hence various other controls are not updated. but for a user using the tab function.

Question.
How do you programatically induce the after update code.

I have tried copying this code into the diry, change event procedures and this did not work?

Many thanks


Chris
sho ur code
Apr 5 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

17
by: kalamos | last post by:
This statement fails update ded_temp a set a.balance = (select sum(b.ln_amt) from ded_temp b where a.cust_no = b.cust_no and a.ded_type_cd = b.ded_type_cd and a.chk_no = b.chk_no group by...
2
by: Newbie | last post by:
Hi, I am using sockets in my program. Somehow things work perfect while debugging but fail when run without glitches. How can I induce sleep periods in my code. I tried Thread.Sleep(20) but...
9
by: jaYPee | last post by:
I have search a lot of thread in google newsgroup and read a lot of articles but still i don't know how to update the dataset that has 3 tables. my 3 tables looks like the 3 tables from...
8
by: Zorpiedoman | last post by:
I keep getting a concurrency exception the second time I make a change and attempt to update a dataadapter. It appears this is by design, so there must be something I can do to avoid it. ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.