Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Pretty stupid question, but I'm 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 can't see the change in the CR Designer. I delete the DataSet in CR then re-add it and put on all the fileds again.

Posted

I don't 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.

 

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

 

Maybe doing something similar would solve your problem as well?

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Posted

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.

That's it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...