Link to home
Start Free TrialLog in
Avatar of Kamlesh Jain
Kamlesh JainFlag for India

asked on

Dsum Function for List Box Data

Hello,
Can i get sum of Particular  field, from list data ? The list data depends upon the updation from another control and the sum of the field shall also update accordingly.

Thanks
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

Modify your secret updating code from that another control to calculate the sum of the field in question.

/gustav
a list box can be set as multi select =none which in that case you can obtain the value of the list box like any other control.

In case its multi select property is simple or extended, you have to loop thru all items selected.

Let me know if you need the code for that.
Avatar of Kamlesh Jain

ASKER

List box is very simple... No Multi Select. Can you please provide code ?
Regards,
ASKER CERTIFIED SOLUTION
Avatar of bfuchs
bfuchs
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry for replying late...  Dear bfuchs... i am novice and your code sounding little complicated to me..

is there any simpler code ?
Thanks in advance,
Thanks.