solution
in the sub report i formatted each formulae item in design view and unchecked "keep object together"
and now the report is outputting how i want
something i overlooked and forgot to set.
thanks for all your help with this issue :)
Hi sorry for the late reply, i have been away from the computer for a few days.
in reply to lbass:
i have unchecked " keep object together " and still have the same problem.
i think its because its in a sub report and thats causing the problem
if i dont use a sub report and just output the...
Hi thanks for all your help on this so far.
There could be 100s of items in the string so i need a way to dynamically do this, i cant manually create the formulae elements
Im outputting this as a sub report which is located in the page header of the main report.
using Turkbears version and my...
Hi thanks for your reply
I would like to output each element seperatly, but i never know how many elements there are going to be within the string. So couldnt create the formulaes, unless there was a dynamic way to do that
when i built in returns to give the appearance of a list, it would...
Hi, im trying to output a large string onto my report using crystal XI , each element in the strng is seperated by a comma :
i am outputting to various formats, pdf, excel, word etc
e.g string : this,is,a,long,string
i need to get it to output as :
+ this
+ is
+ a
+ long
+ string
however...
Hi, is there a way to add commas to numbers. Maybe a regular expression. Which would make numbers easier to read.
for example:
111222333 to 111,222,333
12345 to 12,345
123 unchanged
Any help would be greatly appreciated .I cant seem to find a solution. Thanks in advance .
Hi, i am having a few problems migrating my app from .net 1.1 to 2.0.
i have 2 user controls (ascx) and im trying to call a function from one of the controls.
in 1.1 this is how i reference the other control
templates.maintenance.ucExpandTree UcExpandTree =...
Hi , i am using crystal XI and have generated a report from the data in an SQL database.
This data contains html style tags.
And i am wanting to remove them so they arent on display in the report.
e.g.
<P align=center>some content here </P>
<P><STRONG>some content here</STRONG></P><P><STRONG>...
Hi, Im making a web app in c# asp.net and Im trying to detect weather or not the users browser has Java enabled!
im aware of Request.Browser.JavaScript.
But if i turn off active scripting and disable java in ie6 settings , the Request.Browser.JavaScript still gives a value of "True" and i was...
I managed to resolve my problem. By adding this into my code.
Dim rngFooter As Range
For Each rngFooter In ActiveDocument.StoryRanges
With rngFooter.Find
.Text = "Text To Change"
.Replacement.Text = "New Footer text"
.Wrap = wdFindContinue
.Execute...
Yep sure, this is what i was trying to use to change the text and to add the page numbers.
With ActiveDocument.Sections(1)
.Footers(wdHeaderFooterPrimary).Range.ParagraphFormat.Alignment = wdAlignParagraphCenter
.Footers(wdHeaderFooterPrimary).Range.Font.Size = 10...
I tried the code and it replaced the footer and inserted the new text.
How could i add text and page number on the same line, with text aligned central and page number aligned right.
so it looks something like this:
text goes here (page no)
when ever i...
Hi, thanks for the replies .Yep i use Word to open the .wri files, make the changes, then save them as word docs . The documents always have the same footer throughout, it never changes, so will the above code change the footer content throughout the whole document?
Also if theres content e.g...
Hi, i have a folder full of .wri document files , each document has a footer , what im wanting to do is loop through every document, change the footer to a value such as "new footer" and then output the document , with the changed footer.
I allready have code that opens each document, searches...
I managed to sort it , by creating a function that added a comma and then remove the comma if its not needed.
private bool addComma()
{
if (strAreas != "")
{
strAreas += "," ;
strAreasTrim = strAreas.TrimEnd(',');
return true;
}
}
Im sure theres possibly a better way to do...
Im trying to build up a string using substrings, and if there are more than one substring seperate them with a comma.
The maximum number of possible substrings is 7
Below is an example of how i get the string value
if (Convert.ToInt32(dr["country_england"]) == 1)
{
strEng = "England";
}
the...
Hey macropod, ill give that a try when i get to work tomorrow.
oDoc.SaveAs FileName:=m_strPathToFiles & strResultsFolder & "\" & strfile, FileFormat:=105
is FileFormat:=105 , windows write format?
the string i use "strfile" is the origional doc name including the extension eg doc1.wri.
so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.