| |

VerySource

 Forgot password?
 Register
Search
View: 964|Reply: 6

Help: confusing 1899 issue in statements

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-10 23:00:02
| Show all posts |Read mode
The report uses quickreport, and multiple labels are placed, one of which is used to display the date. The confusing thing is that when I empty the caption string, the print result is "December 30, 1899". This situation is Occasionally appears, puzzled, please give pointers, thank you!
Reply

Use magic Report

0

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-23 11:09:01
| Show all posts
There is no way to add a judgement when printing.
Reply

Use magic Report

0

Threads

13

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-1-24 09:09:02
| Show all posts
There is a way, CAPTION: = ''; there must be a space between the two ``.
you try
Reply

Use magic Report

0

Threads

34

Posts

21.00

Credits

Newbie

Rank: 1

Credits
21.00

 China

Post time: 2020-1-24 14:09:01
| Show all posts
If you don't want to print it, you can

QRLabel.Visible: = false;
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 United States

Post time: 2020-3-4 18:00:01
| Show all posts
First convert that date field to a string field, there will be no problem
Reply

Use magic Report

0

Threads

40

Posts

27.00

Credits

Newbie

Rank: 1

Credits
27.00

 China

Post time: 2020-3-9 09:30:02
| Show all posts
"December 30, 1899", mainly empty years, caused by no value
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-14 06:15:01
| Show all posts
Try Caption: = null;
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