Unable to drag and drop fields

Stimulsoft Reports.NET discussion
Post Reply
jamesk
Posts: 23
Joined: Thu Apr 12, 2007 12:47 pm

Unable to drag and drop fields

Post by jamesk »

I have been testing Stimulsoft reports for about a week or so, I absolutely love this product. This makes writing reports easy. Somehow I must have changed a setting or something has changed, because now I am unable to drag and drop a field from the datasource onto a band. When I do, it just places what appears to be an empty text box onto the report. Before, when I would drag and drop the fields onto the databand, each text box would display the fieldname as the text. It now appears as an empty textbox. But, if I double click that testbox, it does show the {Fieldname} as the text, in the text editor window, but when I preview the report, no data is being displayed.

I tried to Repair the Install, but that didn't solve the problem. This is happening with all my reports that I have created so far. New reports are having the same problem. If I copy and paste an existing field that does work, then it will display the data correctly, otherwise, it is blank. Does anyone know what is going on here?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Unable to drag and drop fields

Post by Vital »

Please check build from 17 April.

Thank you.
jamesk
Posts: 23
Joined: Thu Apr 12, 2007 12:47 pm

Unable to drag and drop fields

Post by jamesk »

I am using a Trial version, I don't see a new build of the trial version for today. Is this a setting that I changed? It was working just fine. I noticed that it wasn't working yesterday and now I am unable to create new reports or add to my existing ones unless I copy and paste then change the text. Are you able to reproduce this?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Unable to drag and drop fields

Post by Vital »

In official build 2007.1 we detect only one error similar to this. When you draw a field from dictionary it copy not

{datasource.column}

but

datasource.column

without {}.

This problem fixed in next builds after official 2007.1.

Thank you.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Unable to drag and drop fields

Post by Edward »

jamesk wrote:I am using a Trial version, I don't see a new build of the trial version for today.
Please use the following link:

http://www.stimulsoft.com/DownloadsSR.aspx

Thank you.
jamesk
Posts: 23
Joined: Thu Apr 12, 2007 12:47 pm

Unable to drag and drop fields

Post by jamesk »

I believe I may have determined the root of this issue. I opened a new report, and then wanted to use the data dictionary from a different report. After I opened the data dictionary, I tried to drag and drop the field from one of my data sources and it did work correctly this time(i.e. using {datasource.column} rather than no text like I was getting before)

After that, I wanted to see if some of my other reports that had the problem could be fixed by this method. I opened another report, Saved the Data Dictionary, then Opened it back up and that did the trick, now that report allows me to drag and drop the fields and it will retain the binding correctly. The problem is, is that it in not consistent, I opened a new report and create a connection and data source and tried to drag a field onto the report and it was still broken. Same thing with an existing report, now it doesn't work. I'm not sure what the

I believe that somehow when I went to save my Data Dictionary the other day(could have been the first time the system saved a Data Dictionary, or could be when it goes to overwrite an existing file), somehow it is causing all kinds of problems. I haven't installed the link that Edward posted. I'm gonna do that now, and it's very possible that it is corrected in the new build.
jamesk
Posts: 23
Joined: Thu Apr 12, 2007 12:47 pm

Unable to drag and drop fields

Post by jamesk »

It seems to be working now, I'm not sure if it was downloading the new build or if it was me messing around with saving/opening the data dictionary.

At one point I set a textbox to font size 72, and so when I was dragging the fields onto the report, the text size was set at 72, but the height of the text box was 14 or so, so It wasn't showing any of the text until I grabbed the corner of the textbox and expanded it.

I believe I'm ok as far as this issue is concerned, thanks for the help and link for the files.
jamesk
Posts: 23
Joined: Thu Apr 12, 2007 12:47 pm

Unable to drag and drop fields

Post by jamesk »

After some serious thought on this, I believe that the textbox size was the problem the entire time. It just so happens that I was saving/overwriting the data dictionary at the same time and thought there was a correlation between the two.

For others running into this problem: I just found a setting of the Designer under Tools...Settings - Use Last Format. When unchecked it will use the default size, font, etc. when adding a new object.

This seems to have been my problem the entire time, sorry about that. Thanks for the help.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Unable to drag and drop fields

Post by Edward »

Thank you.
Post Reply