Overlapping field on next row/records
Hello,
I have an issue where a report row overlap on the following row. I'm using Visual Studio 2010 and Crystal Report for Visual Studio. I am able to reproduce with SP3, SP8 & SP9 did not do the test with the other SP.
Here is an image that show the issue. I cannot simply extend my field because the data is not always the same and will failed with other values. It's working correctly with Crystal Reports Designer 2011.
Is this a known issue? Is there any workaround to this issue?
Thank you.
Use the search string 'crystal net overlap' in the search box at the top right corner. When the results come up select "support Notes" as the "Asset type". That will leave you with 9 KBases that will need to be looked at to see if any of the suggestions help.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Similar Messages
-
Set Cursor to next row Field in Table
Hi Experts,
I have a requirement in WDA table, when user click on Enter button from key board, cursor should move to the next row in table and without clicking on that columns user should type the message,
Right now user is able to type the message only after clicking on that cell.
Please guide meHi Rohit,
Please check with following code.
LO_NODE = WD_CONTEXT->GET_CHILD_NODE( 'DIAGNOSE' ).
lv_index = lo_node->GET_LEAD_SELECTION_INDEX( ) .
lv_index = lv_index + 1.
LO_NODE->SET_LEAD_SELECTION( lv_index ).
LO_ELEMENT = LO_NODE->GET_ELEMENT( ).
LO_RUNTIMEAPI = WD_THIS->WD_GET_API( ). LO_RUNTIMEAPI->REQUEST_FOCUS( ATTRIBUTE = 'ICDDESC' CONTEXT_ELEMENT =LO_ELEMENT ).
Thank You,
Harsha -
Adding rows based on current and next row
I got some excellent help on multiplying rows based on start and end date in this
thread, resulting in the query below. It helps me follow Vehicle activity and Vehicle allocation of our vehicles day by day. Now I would like to add another feature to the query, if it is possible.
The problem is that in our database, only actual tasks are registered, which means that the time when the vehicle is between tasks is not showing. I could of course calculate total available time per vehicle and month, but that would not tell me where the
vehicles are waiting, when during the day, etc.
So I would like to insert rows for when the vehicles are standing still, and the logic would be something like this:
If vehicle number on current row equals vehicle number on the next row and End (date/time) of current row < Start (date/time) of next row, insert row after current row. Set Start=End of current row and End=Start of next row. Set From=To
of current row and To=To of current row. Set Vehicle activity to "Not active". Finaly copy all other fields from current row.
Is this possible to achieve in Power Query?
Brgds,
Caj
let
Source = Sql.Databases("sql10"),
SLM = Source{[Name="SLM"]}[Data],
dbo_V_LKPI = SLM{[Schema="dbo",Item="V_LKPI"]}[Data],
RenamedColumns = Table.RenameColumns(dbo_V_LKPI,{{"ActualDeparture", "Start"}, {"ActualArrival", "End"}}),
Records = Table.ToRecords(V_LocoKPI),
DateTime.IsSameDay = (x, y) => Date.Year(x) = Date.Year(y) and Date.Month(x) = Date.Month(y) and Date.Day(x) = Date.Day(y),
Expand = (x) => List.Generate(
() => Record.Combine({x, [End=Date.EndOfDay(x[Start])]}),
(record) => record[Start] <= x[End],
(record) => let
NextStart = Date.StartOfDay(Date.AddDays(record[Start], 1)),
NextEnd = Date.EndOfDay(NextStart),
ThisEnd = List.Min({NextEnd, x[End]})
in
Record.Combine({record, [Start=NextStart, End=ThisEnd]})),
Transformed = List.Transform(Records, each if DateTime.IsSameDay([Start], [End]) then {_} else Expand(_)),
Combined = List.Combine(Transformed),
Result = Table.FromRecords(Combined)
in
Result
CstenHere's some sample code. Again, we use List.Generate to build either a record or a list of records and then use List.Combine to bring the results back together before converting them to a table.
let
CombineTwoRows = (x, y) =>
let
combine = x[Vehicle] = y[Vehicle] and x[End] < y[Start],
added = Record.Combine({x, [Start=x[End], End=y[Start], Active=false]}),
result = if combine then {added, y} else {y}
in result,
GenerateStandingRows = (table, combine) =>
let
Handle = (x, y) => {x, y},
buffered = Table.Buffer(table),
n = Table.RowCount(buffered),
windows = List.Generate(
() => {1, {buffered{0}}},
(x) => x{0} <= n,
(x) => {x{0} + 1, if x{0} < n then combine(buffered{x{0}-1}, buffered{x{0}}) else {buffered{x{0}}}},
(x) => x{1})
in
windows,
InsertInactivity = (table) => Table.FromRecords(List.Combine(GenerateStandingRows(table, CombineTwoRows))),
TestData = Table.FromRows({
{1, #datetime(2014, 2, 23, 13, 0, 0), #datetime(2014, 2, 23, 13, 10, 0), true},
{1, #datetime(2014, 2, 23, 13, 20, 0), #datetime(2014, 2, 23, 13, 30, 0), true},
{2, #datetime(2014, 2, 23, 13, 20, 0), #datetime(2014, 2, 23, 14, 0, 0), true},
{2, #datetime(2014, 2, 23, 14, 20, 0), #datetime(2014, 2, 23, 14, 40, 0), true},
{2, #datetime(2014, 2, 23, 16, 0, 0), #datetime(2014, 2, 23, 17, 0, 0), true},
{2, #datetime(2014, 2, 24, 2, 0, 0), #datetime(2014, 2, 24, 3, 0, 0), true},
{3, #datetime(2014, 2, 24, 1, 0, 0), #datetime(2014, 2, 24, 8, 0, 0), true},
{3, #datetime(2014, 2, 24, 9, 0, 0), #datetime(2014, 2, 24, 10, 0, 0), true}
}, {"Vehicle", "Start", "End", "Active"})
in
InsertInactivity(TestData) -
I am creating new table. My goal is to display some text in few lines like this:
"AAAAAAAA" "BBBBBBBB" "CCCCCCCCC"
"DDDDDDD" "EEEEEEEE"
Actually the next row (with "DD" and "EE" values) is not displayed below first row, but on the next page.
I've tried to put table into rectangle, disabled all page breaks and still the same effect. Any help?Hi Heidi,
Actually, it's not solution, I only gave more details about my problem :)
Another description:
In my report I'm creating Tablix with Column grouping. There is only one column with image (every image has same width). If there is only three pictures, then they are displayed next to each other in one row.
In case, there is more than three pics, another row is showing on next page. I'd like to display all rows one after another on one page.
I've tried to create three vertical lists, and filter each column group to display only records:
1) =(RowNumber("Tablix1")) mod 3 = 1
2) =(RowNumber("Tablix1")) mod 3 = 2
3) =(RowNumber("Tablix1")) mod 3 = 0
Unfortunately, I got an error:
"A FilterExpression for the tablix ‘Tablix1’ uses the function RowNumber. RowNumber cannot be used in filters."
Do You have any other propositions?
--------EDIT--------
ok, I manged to solve it. As I said, I've created three vertival lists and placed them next to each other.
Then, instead of using filter, I've used Visibility trigger:
1)
=IIf(RunningValue(Fields![rowgroupfield].Value, COUNTDISTINCT, "Tablix1") mod 3 = 1, false, true)
2)
=IIf(RunningValue(Fields![rowgroupfield].Value, COUNTDISTINCT, "Tablix2") mod 3 = 2, false, true)
3)
=IIf(RunningValue(Fields![rowgroupfield].Value, COUNTDISTINCT, "Tablix3") mod 3 = 0, false, true)
I had to use function RunningValue to count all occurrences, as my report is quite complex and "RowNumber" [ssrs function] and "ROW_NUMBER() OVER (ORDER BY [rowgroupfield])" [sql query] were not working properly. -
Copy a certain row of data into the next row in a same internal table ??
HI, guys.
May i know how to copy a certain row of data into the next row in a same internal table ?? Bcz I plan to update a certain colum of data in the row just now into another value..
For example:-
*at first...
ebeln1 ebelp1 xblnr1
ebeln2 ebelp2 xblnr2
ebeln3 ebelp3 xblnr3
*after that, become...
ebeln1 ebelp1 xblnr1
ebeln2 ebelp2 xblnr2
ebeln2 ebelp2 xblnr4
ebeln2 ebelp2 xblnr5
ebeln3 ebelp3 xblnr3
Thanks in advance.hi,
If you have this kind of requirement then you must be having 2 internal tables ,one existing data and 2nd from which you have to insert the records into 1st table.
so in this case,
loop at itab1.
v_index = sy-tabix.
loop at itab2 into wa where pri_key = itab1-pri_key.
v_index = v_index + 1.
insert wa into itab index v_index.
endloop.
endloop.
Using this code ,your data records similar to your 1st tables primary key records will get inserted into table. -
How to separate the Particular field in next line ?
Hi,
i have multipule fields in one line but i want to separate the Particular field in next line how to do this ?
when i am downloading my output downloaded like this
but i want to last field should be newline.
present output:
901 ab 3455 5667 2123 item1 100
902 ab 3455 5667 2123 item2 100
903 ab 3455 5667 2123 item3 100
in that i am taken item1 100 as string i want to new line from item1
but i want like this
experted output:
901 ab 3455 5667 2123
item1 100
902 ab 3455 5667 2123
item2 100
903 ab 3455 5667 2123
item3 100
plz any code for above example.
thanks & regards
sai
Edited by: k sai ram on Jan 9, 2008 5:26 PMHi Sai,
make the layout of your root container as matrix layout
then make item1 as matrix head data.
inset one transparent ui just after first 100. then make this transparent ui as matrix head data.
then make 902 as matrix head data
inset one transparent ui just after second 100. then make this transparent ui as matrix head data.
repeat the same for next set too.
You can also do the same with row layout for root element.
Regards
Sarath
Edited by: Sarath Satheesan on Jan 9, 2008 11:17 AM -
First Row Record is not inserted from CSV file while bulk insert in sql server
Hi Everyone,
I have a csv file that needs to be inserted in sql server. The csv file will be format will be like below.
1,Mr,"x,y",4
2,Mr,"a,b",5
3,Ms,"v,b",6
While Bulk insert it coniders the 2nd column as two values (comma separte) and makes two entries .So i used filelterminator.xml.
Now, the fields are entered into the column correctly. But now the problem is, the first row of the csv file is not reading in sql server. when i removed the terminator, i can get the all records. But i must use the above code terminator. If
am using means, am not getting the first row record.
Please suggests me some solution.
Thanks,
SelvamHi,
I have a csv file (comma(,) delimited) like this which is to be insert to sql server. The format of the file when open in notepad like below:
Id,FirstName,LastName,FullName,Gender
1,xx,yy,"xx,yy",M
2,zz,cc,"zz,cc",F
3,aa,vv,"aa,vv",F
The below is the bulk insert query which is used for insert above records,
EXEC(BULK INSERT EmployeeData FROM '''+@FilePath+'''WITH
(formatfile=''d:\FieldTerminator.xml'',
ROWTERMINATOR=''\n'',
FIRSTROW=2)'
Here, I have used format file for the "Fullname" which has comma(,) within the field. The format file is:
The problem is , it skip the first record (1,xx,yy,"xx,yy",M) when i use the format file. When i remove the format file from the query, it takes all the records but the "fullName" field makes the problem because of comma(,) within the
field. So i must use the format file to handle this. So please suggest me , why the first record skipped always when i use the above format file.
If i give the "FirstRow=1" in bulk insert, it shows the "String or binary data would be truncated.
The statement has been terminated." error. I have checked the datatype length.
Please update me the solution.
Regards,
Selvam. M -
How to set focus on next row inputfield in table
Hello all,
How to set focus on next row input field in table
Please help.
Thanks in advance.
CSPHi,
use the following code
wdThis.wdGetAPI().requestFocus(nodeElement, attribute)
Ex:
Provide the attribute and replace the nodeElement with that of yours
IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute("Your attribute");
wdThis.wdGetAPI().requestFocus(wdContext.currentContextElement(), attributeInfo);
Regards
Ayyapparaj -
Hello all!
Possibly the thread name isn't clear or is wrong, i'll just explain:
there's a column, which contains Iterator (since it's point is to display collection data separated by ', '). I found it reasonable to add 2 outputText's inside Iterator: one for the value, and another for ', '. The second should have an EL value, which should contain a statement similar to #{<nextRowExists> ? ', ' : ''}.
Hope You get my point, i just want to find out if there's a next row or not using EL to decide whether i need another ', ' or not. :-)
Many thanks!
Edited by: 866307 on Jun 29, 2011 6:57 AMHi
ADF Bindings shows all Iterators from that iterators select relevant one and,Then you can get estimatedRowCount that returns the number of rows in the collection defined by associated viewObject.Also you can get current row using currentRowIndexInRange.
all records --> #{bindings.IteratorName.estimatedRowCount}
current record -- >#{bindings.IteratorName.rangeStart+bindings.IteratorName.currentRowIndexInRange+1}
see:
Re: How to show row ranges on the table.
I think these information will help you to resolve your problem. -
Display lines first 10 records field1 next 10 records field2
HI
i have an issue in oracle reports.
i need to display the first 10 records in field1 next 10 record field2
please give me a idea my mail id is [email protected]
Regards,
KamarajIn OBIEE 10g, within the 'table view properties' options (second icon from left in the edit table screen) you will see an option for rows per page. Set this to 10 and the arrows should appear.
It can be quite hard to find the screen in question. From the pivot table builder screen, click the big round icon to the left of 'compound layout' drop down. Then you need to click the 'Edit View' icon in the header of the table. Finally you can then click the 'table view properties' icon, second left.
Good luck,
Paul -
Overflow-field in multi-rows block
Hi!
How can i realize overflow-field in multi-rows block.
I place overflow fields in the footer area of block
and get value use ${uix.current['Description']} - but no have results.
Use javascript to set value of overflow-field?
thanksAndreas,
I was most intrigued by your offered solution, so I created a test case. Unfortunately, this solution gives inconsistent results. Here was my test case:
1. Table: Planets
Columns: 3 (PL_ID, Name, Description
2. Added nine entries for all 8 planets and one record for Pluto (sorry, grew up with this being classified as a planet! :) )
3. Created very basic form to display all 3 columns in Tabular (Multi-Record) format and displayed 5 rows.
4. Created button in a Control Block to display Cursor_Record, Trigger_Record and Top_Record
- Set Mouse & Keyboard navigate to NO
Ran Form and navigated to each row and clicked on button. The following was my results:
>
Row 1: Cursor Rec: 1, Trig Rec: 1, Top Rec: 1
Row 2: Cursor Rec: 2, Trig Rec: 2, Top Rec: 1
Row 3: Cursor Rec: 3, Trig Rec: 3, Top Rec: 1
Row 4: Cursor Rec: 4, Trig Rec: 4, Top Rec: 1
Row 5: Cursor Rec: 5, Trig Rec: 5, Top Rec: 1
Row 6: Cursor Rec: 6, Trig Rec: 6, Top Rec: 2
Row 7: Cursor Rec: 7, Trig Rec: 7, Top Rec: 3
Row 8: Cursor Rec: 8, Trig Rec: 8, Top Rec: 4
Row 9: Cursor Rec: 9, Trig Rec: 9, Top Rec: 5
Row 10: Cursor Rec: 10, Trig Rec: 10, Top Rec: 6 - New Record - NULL values
- Navigated back to Row 6: Cursor Rec: 6, Trig Rec: 6, Top Rec: 5 (however - visually in the screen Row 6 was the 2nd row of the 5 rows displayed.
- Navigated back to Row 3: Cursor Rec: 3, Trig Rec: 3, Top Rec: 3 (however - visually in the screen Row 3 was the 1st row of the 5 rows displayed.
>
Based on these results, the option to use the GET_BLOCK_PROPERT('BLOCK_NAME',TOP_RECORD) won't work either. :-( Unforntunately, displaying the MCHAR field in a static location or using Java (though hardest) are still the best solutions.
Craig... -
hi all
am printing a line in smartform with field GS_it_KOND_W-vtext but displaying the first line in that field..but my requirement is i need only second line to be printed.please pass on the code...like how can i print the line that is der in the next row...please help
vijayHi,
for this you will have to hard code the 2nd line.
For this what you can do is read the length of the description and fix the length of the line which is to be printed.
From that particular length take the description into a variable and u can print that variable.
If g_length is the length of the line, then
gv_2nd_line = GS_it_KOND_W-vtext + 250(250).
This will give you the second line.
Regards,
Lavanya -
Hi,
I am new to Forms 6i and any pointers would be appreciated.
I have set up a form using a master/child relationship. The
master block (mfg_date) has only one field (id). I created
toolbar buttons to step through the master records using the
following code.
(Toolbar Button code for previous record)
GO_BLOCK('mfg_date');
GO_RECORD(TO_NUMBER(:SYSTEM.CURSOR_RECORD)-1);
(Toolbar Button code for next record)
GO_BLOCK('mfg_date');
GO_RECORD(TO_NUMBER(:SYSTEM.CURSOR_RECORD)+1);
These buttons work fine by themselves.
I also created an LOV allowing the user to select any master
record using the following code.
(WHEN BUTTON PRESSED Trigger Code for LOV)
DECLARE
v_choose BOOLEAN;
BEGIN
v_choose := SHOW_LOV('new_mfg_date');
IF NOT v_choose THEN
MESSAGE('You have not selected a value.');
BELL;
RAISE FORM_TRIGGER_FAILURE;
ELSE
GO_BLOCK('load_sheet');
IF :SYSTEM.BLOCK_STATUS ='CHANGED'
THEN DO_KEY('COMMIT_FORM');
END IF;
GO_BLOCK('mfg_date');
GO_RECORD(TO_NUMBER(:SYSTEM.CURSOR_RECORD));
END IF;
END;
This code also works fine by itself.
My problem occurs if I use the LOV and then use the
previous/next record buttons. If I select a record using the LOV
and then use the buttons, the next/previous records displayed
are in relation to what was selected with the buttons, not with
the LOV. For instance: If I use the buttons to step through the
records up to record 5, and then select record 18 with the LOV
and then use the buttons again, the record navigation is in
relation to record 5, not 18.I start through the records with
the next-record button, the next record displayed is 6 instead
of 19. Record 18 also seems to become record 5 at this point.
What I would like is to have the next/previous buttons work in
relation to the record that is displayed. I have also tried
up/down, scroll_up/scroll_down, and next_record/previous record
with the same results. Obviously there is some logic that I’m
not grasping yet. Hopefully someone maybe able to point me in
the right direction.
Thanks
Paul Howard
[email protected]Yeahh and don't forget that even google doesn't show you more than 1000 records ;)
Gints Plivna
http://www.gplivna.eu
Message was edited by:
gintsp -
Noob Question: Flowing Input Dataset Row/Record IDs Through to the Score Model Output
I've got a noob question that I'm having difficulty finding the answer to: if my input dataset contains row/record IDs and I want to flow these through to the Score Model module output but *don't* want to include this column in model training (because
it's just an arbitrary row tag), how do I go about accomplishing this?
I am able to Project Columns and eliminate the IDs entirely early in the process but then can't really determine which input row a prediction is associated with because I've lost the IDs. I'm not quite sure how to accomplish what I'm trying to do via
the Metadata Editor, either.
Surely somebody else has dealt with this same question. If the solution is implemented somewhere in a Gallery experiment that you'd like to point me at, too, that would also be just as good as a written explanation.
Thanks in advance,
KevinHey Kevin!
Sorry for making this process unclear :( Azure ML has a notion of Feature Columns
(by default everything is a Feature), that is columns/variables that are intended to be treated as part of the observation vector. You can use the Metadata Editor
and (after selecting the column(s) you want), mark the column as
Fields -> Clear Feature. This will have the semantics you desire - data attached to the input data while not being used for training.
Regards,
AK -
Add each column record with next column record
Dear all,
I have created a crosstab with the column "Order Numbers". Each Order number is calculated per day.
I would like to know how can I create a formula so that each record in the column field is calculated by adding the next column field.
For example
Order numbers
1
2
3
4
5
Formula should display the records like this
Order Numbers
1
3 (12)+
6 (123)
10 (1234)+
15 (12345)
So in other words each record in each field of the column is adding the next field.
Something like ColumnRecord= Column Record+Next column Record.
How can we achieve this?
Many thanks
Regards
JehanzebHellooo,
I have sorted it.
here is what I did
Firstly I selected the Column field (percentage field).
Clicked format -
> then Suppress and clicked on x+2
added the following formula
whileprintingrecords;
numbervar x := x + currentfieldvalue;
false
Then I clicked on Display String x+2 and entered this.
whileprintingrecords;
numbervar x;
totext(x,2)+"%"
Then I clicked on border->background> and added this formula
whileprintingrecords;
numbervar x := 0;
defaultattribute
all set and it is working perfectly.
I hope this helps someone who is seeking this type of formula
Regards
Jehanzeb
Maybe you are looking for
-
Availability check in third party sales
Hi SD Gurus, I have configured third party sales scenario. I have an issue. When I create sales order for the customer the system goes into availability check before creating the Purchase Requisition. Should the system go into availability check for
-
Adobe Reader will not center the printable area on the page
Hi there, I have posted a few times about this issue already but have still not gotten an answer so I'm trying again. Adobe Reader will not center PDF files on the page if the printable area is less than 8.5" X 11". I make sewing patterns for a livin
-
How to bind a column name in PL/SQL
i have this code in a transaction report. DECLARE q VARCHAR2 (1000); t VARCHAR2 (15); BEGIN t := '11110000'; q := q || 'select STARTDATE, PHONESOURCE, PHONETO, DURATION '; q := q || 'from TRANSACTION '; q := q || 'where TRANS_ID = ' ||t|| 'and STARTD
-
Two questions, touchy touchpad and case maintenance
I noticed this morning that the touchpad is a bit iffy when I'm trying to move around or do two finger it randomly interprets one finger as if i had two on it. The other odd issue with the touchpad is the click action no longer actually "clicks." It
-
Sql Server Agent last run duration in minutes
Hello Forum Members, Can you please advise me on this: There are 5 sqlagent jobs and they run many times in a day ranging from 10 seconds to 1 hour. I would like to know the duration of run in minutes during their last run. Kind Regards, Sqlquery9