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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use custom procedure in Access 2000

Status
Not open for further replies.

shavon

Programmer
Jun 18, 2001
102
CA
Hello:

How do I use a custom procedure in A2K please? I created a procedure and I want when a new record is added to the database that this procedure runs and updates a particular field with a particular default value. I created a public procedure in a module. I am trying to use it from the table design page in access...doesn't work!

Thank you,
 
You can't attach code to a table as either a default or whatever. You can run code in forms. You code might be in the after update event of a control or the form.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top