crystal reports, VB and text files
I am trying to create reports in VB6. The data is built from text files. I have used crystal and made the reports but when I run them using the command; crystalreport1.action = 1 ; the old data is what is retrieved. I have also tried the data report from VB but I need help, these text files are going to drive me to think? Thanks in advance...robin
Re: crystal reports, VB and text files
I you are using only file 'save as' and not 'save data with report' then you should check the file menu options reporting 'Refresh Data.."
Re: crystal reports, VB and text files
I have seen this error and as far as I can remember, in addition to checking the menu option which is very important and referesh method whats alos palys a pivotal role is the selection formula and the replace selection formula when creating dynamic reports.
cheers:)
Re: crystal reports, VB and text files
First u will have to connect to ur database using crystalreportname.connect
then write a query to retrieve the records involved in the report using crystalreportname.sqlquery. then write crystalreportname.action=1 try this i think this should solve ur problem
Reshmas