Calculate Lookup field |
2/21/2007 6:55:18 AM |
ASPRunnerPro General questions | |
R
rutzi author
Hallo, hallo. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=4665&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' /> |
|
J
|
Jane 2/21/2007 |
Hi, dict("FieldName")=dict("m2")*dict("price")
|
R
|
rutzi author 2/21/2007 |
Hallo again and thanks. |
J
|
Jane 2/22/2007 |
It seems that you comment code in your event. Delete single quote before your code: ... '** Custom code **** dict("SUM")=dict("Enhetspris")*dict("m") ...
|
R
|
rutzi author 3/12/2007 |
Hallo again! Tank's for all the help. It's great. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=16173&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> |
![]() |
Sergey Kornilov admin 3/13/2007 |
Rune, |
R
|
rutzi author 3/13/2007 |
Hallo, hallo. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=16192&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> |
R
|
rutzi author 3/19/2007 |
Is it no one ho can help me whit this????? |
A
|
ac163601 3/19/2007 |
Is it no one ho can help me whit this?????
|
C
|
clig 3/20/2007 |
Hallo again and thanks. No I can se the data but the sum field show 0. It doesn't calculate the field I won't. Here i sthe code i put in ____ Function BeforeEdit(dict, where) ' Parameters: ' dict - Scripting.Dictionary object. ' Each field on the Edit form represented as 'Field name'-'Field value' pair ' where - string with WHERE clause pointing to record to be edited '** Custom code **** ' dict("SUM")=dict("Enhetspris")*dict("m") BeforeEdit = True ' set BeforeEdit to True if you like to proceed with editing this record ' set it to False in other case End Function What do i wrong????? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=16404&image=1&table=forumreplies' class='bbcemoticon' alt='<<' />
|