Trouble with variables
Posted: Wed Oct 06, 2010 12:13 am
Hi all,
i have 11 Variables that retrieve and send data to the report , in my project there are different forms which one where there are CheckListBoxControls to choose the data and pass to the variables and last one form is in Preview Mode where there is a Button to send data to the report ;
The mansion of the form in "preview mode" is to change only the languages of the report with the same data passed to the variables so when i click the button(in the last form) to send data to the report the first time i can see the variables can retrieve data and send to the database instead the second time when click the button i can see only one Variable can retrieve and pass the data to the report instead others 10 variables are empty and of course the report will be blank but when i click the button the third time i can see all variables can retrieve and pass data to the report .:amazed:
Why the variables cannot retrieve and pass the data to the report each time i click the button?
Do you have any suggestion how i can work out this task?
Thanks for your attention .
Have a good day.
Cheers
i have 11 Variables that retrieve and send data to the report , in my project there are different forms which one where there are CheckListBoxControls to choose the data and pass to the variables and last one form is in Preview Mode where there is a Button to send data to the report ;
The mansion of the form in "preview mode" is to change only the languages of the report with the same data passed to the variables so when i click the button(in the last form) to send data to the report the first time i can see the variables can retrieve data and send to the database instead the second time when click the button i can see only one Variable can retrieve and pass the data to the report instead others 10 variables are empty and of course the report will be blank but when i click the button the third time i can see all variables can retrieve and pass data to the report .:amazed:
Why the variables cannot retrieve and pass the data to the report each time i click the button?
Do you have any suggestion how i can work out this task?
Thanks for your attention .
Have a good day.
Cheers