Refresh datasource

IxiRancid

Well-known member
Joined
Jun 16, 2004
Messages
104
Location
Europe
Pretty stupid question, but Im having some problems:
How can I rafresh a datasource in Crystal Report designer?
I usually use coded datasets, "handfilled" without adapters etc. Whenever I change or add a column in my DataSet schema I cant see the change in the CR Designer. I delete the DataSet in CR then re-add it and put on all the fileds again.
 
I dont know about Crystle Reports; and there is probably a better way to do this, but when I work with datasets; I have to do someting like this.

Code:
Change values of MyDataSet/Array/Whatever
DropDownBox1.DataSoruce = Nothing
DropDownBox1.DataSource = MyDataSet/Array/Whatever

Maybe doing something similar would solve your problem as well?
 
OK, I said it is a dumb question :)
Just rightclick Database Fileds in Crystal Designer and choose Verify Database.
It says (when a column is added to a DataSet) that a newer version is found and if you wish to add new fields -> yes.
Thats it.
 
Back
Top