J
|
Jane 9/16/2009 |
Philip, msg = msg & "Field1" & " : " & values("Field1") & vbcrlf |
P
|
Philip author 9/16/2009 |
Jane, |
P
|
Philip author 9/16/2009 |
Philip, it's not bug. $values array in the After record added event contains all field values. You can form email manually with fields you want to send: msg = msg & "Field1" & " : " & values("Field1") & vbcrlf
|
J
|
Jane 9/16/2009 |
Philip, msg = msg & Label("Field1") & " : " & values("Field1") & vbcrlf |
P
|
Philip author 9/16/2009 |
Philip, here is a sample: msg = msg & Label("Field1") & " : " & values("Field1") & vbcrlf
|
![]() |
Sergey Kornilov admin 9/16/2009 |
Turn off 'Show friendly HTTP error messages' option in Internet Explorer to see more detailed error message. Post it here. |
P
|
Philip author 9/16/2009 |
Turn off 'Show friendly HTTP error messages' option in Internet Explorer to see more detailed error message. Post it here.
|
C
|
clig 9/16/2009 |
This is the error Message: Microsoft VBScript runtime error '800a01c2' Wrong number of arguments or invalid property assignment: 'Label' /_services/aoa3/mstelle_neu1/include/Meldestelle_Agility_events.asp, line 29 And this is my event code (before record updated): Dim dkeys, tmpDict, msg, n msg ="" msg = msg & label("M_Name") & " : " & values("M_Name") & vbcrlf set tmpDict = CreateObject("Scripting.Dictionary") tmpDict("to")="test@test.ch" tmpDict("subject")="Sample subject" tmpDict("body")=msg set ret=runner_mail(tmpDict) if not ret("mailed") then response.write ret("message") end if BeforeEdit=true Regards, Philip
|
J
|
Jane 9/17/2009 |
Hi, msg = msg & Label("Field1",strTableName) & " : " & values("Field1") & vbcrlf |
P
|
Philip author 9/26/2009 |
Hi, here is the correct code: msg = msg & Label("Field1",strTableName) & " : " & values("Field1") & vbcrlf
|
J
|
Jane 9/28/2009 |
Philip, |
P
|
Philip author 9/28/2009 |
Philip, I'm not sure that I understand your question. Where do you want to select language?
|
J
|
Jane 9/29/2009 |
Philip, msg = msg & GetFieldLabel(strTableName,"Field1") & " : " & values("Field1") & vbcrlf |
P
|
Philip author 9/29/2009 |
Philip, use GetFieldLabel function for this purpose: msg = msg & GetFieldLabel(strTableName,"Field1") & " : " & values("Field1") & vbcrlf
|