Update

D

Dan

Hello:

I have these fields:

Status & Close date

The status changes to Closed when I enter a date in close
date. My question is how do I update the close date JUST
for the current record, when I click a button which runs a
macro and sends an e-amil notification...

Thank you,

Dan
 
G

Guest

hi,
you might put some code in your email button
something like this:
UPDATE YourTable SET YourTable.Status = "Closed" ,
Yourtable.CloseDate = [forms]![yourform]![CloseDate];
Where YourTable.RecordID = [forms]![yourform]![RecordID];
 
D

Dan

The button runs a macro, no code...
-----Original Message-----
hi,
you might put some code in your email button
something like this:
UPDATE YourTable SET YourTable.Status = "Closed" ,
Yourtable.CloseDate = [forms]![yourform]![CloseDate];
Where YourTable.RecordID = [forms]![yourform]![RecordID];
-----Original Message-----
Hello:

I have these fields:

Status & Close date

The status changes to Closed when I enter a date in close
date. My question is how do I update the close date JUST
for the current record, when I click a button which runs a
macro and sends an e-amil notification...

Thank you,

Dan


.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top