Add field

  • Thread starter Thread starter Dan
  • Start date Start date
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
 
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, ""
 
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)


.
 
Back
Top