Hello
I have the following problem, I have an application in. Net which prints a report with date range.
I have a datetime variable in the report which accepts user.
when compiling the report happened to a date variable
EJ:
'Dim As DateTime = DateTime.Now fec
FEC = Date.Now
FEC = DateAdd ("m", -1, fec)
FEC = DateSerial (Year (FEC), Month (FEC) + 0, 1)
report.Item ("FechaIni") = fec
report.render
.........
The report modifies the variable ("FechaIni") I can even show on the report, but the change is not reflected in the
datetimepicker.
I hope you can help me Thanks
Problems Datetime
-
- Posts: 4
- Joined: Thu Nov 15, 2012 12:40 pm
Re: Problems Datetime
Hello.
What datetimepicker do you use? On Form or do you use variable requested by user?
Do you Compile the report?
Try to use next code:
Please, send us your report template for analysis.
Thank you.
What datetimepicker do you use? On Form or do you use variable requested by user?
Do you Compile the report?
Try to use next code:
Code: Select all
report.Compile()
report.Item ("FechaIni") = fec
report.Render()
Thank you.