Add field

D

Dan

Hi:

I am including a field from the form in the e-mail I send
with this line and works fine

Forms![Data Quality Issues Management]!IncidentNumber,
False, ""

What should I add to include another field, eg Description

I get an error: wrong number of arguments

Thanks,

Dan
 
D

Dirk Goldgar

Dan said:
Hi:

I am including a field from the form in the e-mail I send
with this line and works fine

Forms![Data Quality Issues Management]!IncidentNumber,
False, ""

What should I add to include another field, eg Description

I get an error: wrong number of arguments

Thanks,

Dan

You don't show the whole code, but I'm guessing that field is going into
the message body. You can concatenate another form along these lines:

..., _
Forms![Data Quality Issues Management]!IncidentNumber & _
" " & Forms![Data Quality Issues Management]!SomeOtherControl, _
False, ""
 
D

dan

Thanks is working!

Dan
-----Original Message-----
Hi:

I am including a field from the form in the e-mail I send
with this line and works fine

Forms![Data Quality Issues Management]!IncidentNumber,
False, ""

What should I add to include another field, eg Description

I get an error: wrong number of arguments

Thanks,

Dan

You don't show the whole code, but I'm guessing that field is going into
the message body. You can concatenate another form along these lines:

..., _
Forms![Data Quality Issues Management]!IncidentNumber & _
" " & Forms![Data Quality Issues Management]! SomeOtherControl, _
False, ""

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


.
 

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