Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which eventprocedure is needed?

Status
Not open for further replies.

GK22

Programmer
Jan 22, 2002
35
0
0
NL
There is a form with a subform; I need the following procedure:
If me.parent.recordsource = "Project" then
me.werknummer.value = ""
else
me.werknummer.value = me.parent.werknummer
end if

With an Insert query I put the data for the other fields in the subform.
at the same time the sub above need to run
I tried beforeInsert and several others but, nothings happened
The problem is: with which "event procedure" I can call this function.
Thanx in advance
Gerard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top