| |

VerySource

 Forgot password?
 Register
Search
View: 705|Reply: 1

How to solve the summary of data between one row of listview?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-7 14:00:02
| Show all posts |Read mode
My table is made with listview. There are four spaces on the top line, such as A, B, C, D. I want to add A + B, C + D to E and F, they are all on the same line, because there is Maybe there is no data in ABCD, it may be character type at this time, I don't know how to add it? Because I enter A + B, C + D, and data can be added at the same time. If there is no one, they will not be added! Thank you!
Reply

Use magic Report

1

Threads

12

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-5-27 23:45:04
| Show all posts
Perform Val conversion on the data in each column:
Column E = Val (Column A) + Val (Column B)
The Val function will automatically convert the character form to Double type, and will not report an error because it cannot be directly converted
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list