Hi,
I have to start some reports with my VB-application. I use 2 different databases. One is on the local machine the other's on the server. One of this reports needs the connection to both databases. The path to the server-database is saved in the registry. Is it possible to start this report...
All right!
At first the version is CR 8.5
Yes indeed I'm speaking about the number of lines per details.
"Also you might describe why the number of lines "destroys your layout", perhaps there's a better way to implement."
That is the problem. I'll try it. At the right...
Hi all,
how can I count the lines of a details-field. I allowed the field to grow as much as needed. But if there are too many lines it will destroy my layout.
In the area-assistant I marked "new page after" with this formular:
not onlastrecord and (#lfdsumme) in [10,20,30...]
It...
Hi,
I created a report who has to change the page after 10,20... records. It works fine. But if the detail-fields are longer than one row, I have a problem with my layout. So is it possible to get the lenght of an area?
For the moment I use:
{#lfdSumme} in [10,20,30,40,50,60,70,80,90,100 ]...
I've got the answer by myself.
I inserted an summary field with a count-number. The fomrmular in the area-assistant is:
(@summary) in [10,20,30...]
regards
Rainer
Hi,
after writing 10 details my report has to change to the next page. Now I need a formula to do this in area-assistant. I can't handle it with my layout. The only way is to use a formula. It's urgent. Who has a tip?
regards Rainer
Hey,
my programm has to print some reports. It works fine on my laptop. If I make a setup from my program and install it on another computer I got the message that Crystal32.OCX is missing or defect.
So I tried a little tool named dependancy walker to find the wrong DLL. This tool shows me the...
I've found it by myself.
StringVar Item:= ToText(round({Temp_Buchung.Temp_Sitz}),0);
Thats all. And it works!
Thx you all for helping!!
Now my only problem is, that after 10 seats a crlf has to come. But i hope, that this problem isn't as difficult ;-)
Best regards Rainer
all right, here is the current, complete code:
in Group header:
WhilePrintingRecords;
StringVar chain :=";
NumberVar ChCnt :=1
in details:
WhilePrintingRecords;
StrngVar Item := {temp_Buchung.Temp_Sitz};
StringVar chain;
NumberVar ChCnt;
if ChCnt = 1
then (Chcnt :=2; chain := Item)
else...
first I tried strngvar, but that doesn't work with R 8.5.
I changed my sourcecode no to:
WhilePrintingRecords;
StringVar chain;
NumberVar ChCnt;
StringVar Item := "";
if isnumeric({temp.Buchung}) then
Item := totext(val({temp.Buchung}),0,"");
if ChCnt = 1
then (Chcnt :=2...
Great! In the group-footer it works.
When I change the code into:
StrngVar Item := totext(val({temp.Buchung}),0,"");
then I got the massage:
Here is a string needed! (Hier wird eine Zeichenfolge benötigt!)
Hello,
it is necessary in my ticket programm that about 10 datafields are placed in 1 row. It is grouped by the attribute LINE and the SEATS have to appear in the same row. Like this:
Line 1 Seat 5, 6, 7, 8 ...
Line 2 Seat 5, 6
Line 3 Seat 12, 13...
I tried it with three formulars. First...
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.