Display a repeating number in repeating frame.
Hi all,
using forms6, reports6(6.0.8.20.1) on database 81741 in web-based arch, windows2000 servers.
On the report page, I have a repeating frame with data extracted from database. I used to mark starting of the frame with a '*' sign to make visible where a new frame started on report. Users want that to be replaced by (increasing) numbers with frame. I donot want to keep that as a column in database because the order it might be kept in database would differ from shown in reports & in that case, it might show on reports as 3,4,2,1.
Any suggestions would be appreciated.
Thanks in advance,
Abhi.
Ok, I am back with a new practical issue. Our requirement was to to display numbers in repeating frame. That we met. Now, we place a dot/decimel after a number in any letter etc. I am trying to place a dot after number.
I use a independent text object to place a dot after the new field we created. it works fine for 1 to 9. At number 10, that 'dot' doesnot move foreward with the number & dot is hidden under 10. If I move dot one place foreward, it shows fine for 2 digit numbers, but looks dumb for 1 digit number. Changing the horizontal elasticity property of the 'F_' item to all possible value doesnot align dot after number.
Any suggestions?
Thanks a lot,
Abhi.
Similar Messages
-
How to auto-number, but repeat each number 8 times?
I have a customer who has a 8 page customer service form they be using to fill out.
They want 2,000 of these 8 page forms numbered 000001 to 002000.
The twist is, they want all 8 pages to have the same number, before it advances to the next number. I know how to use auto-numbering in InDesign, but obviously it assumes the very next page (or frame) is the next number. I need it to repeat 8 times before going to the next number:
000001
000001
000001
000001
000001
000001
000001
000001
000002
000002
000002
000002
000002
000002
000002
000002
000003 etc.
Anyone know how to do this?[email protected] wrote:<br />> Gee, what about scripting it?<br />> <br /><br />Oh. Okay, since you twisted my arm... ;)<br /><br />Give a script label "numbering" to one or more text frames on the master <br />page, and run this script:<br /><br />//DESCRIPTION: Creates repeated numbers in text frames with the script <br />label "numbering". (written by Harbs -- www.in-tools.com)<br />var kAppVersion =parseFloat(app.version);<br />if(kAppVersion<5){var offsetIncrease=0}<br />else{var offsetIncrease=1}<br />var doc=app.documents[0];<br />var pages=doc.pages.everyItem().getElements();<br />RenumberPages(pages);<br />function RenumberPages(pages){<br /> var err;<br /> var increment=prompt ("How many times would you like to repeat page <br />numbers?", "8");<br /> if(!increment){return}<br /> increment=parseInt(increment);<br /> if(isNaN(increment)){return}<br /> for(var i=0;i<pages.length;i++){<br /> var page =pages[i];<br /> var frames=page.textFrames.item("numbering");<br /> if(IsValid(frames)){<br /> if(!(frames instanceof Array)){frames=[frames]}<br /> for(var j=0;j<frames.length;j++){<br /> frames[j].contents= String(Math.ceil( <br />(page.documentOffset+offsetIncrease)/increment) );<br /> }<br /> continue;<br /> }<br /> var master=pages[i].appliedMaster;<br /> var frames=master.textFrames.item("numbering");<br /> if(IsValid(frames)){<br /> frames=frames.getElements();<br /> }<br /> else {return}<br /> for(var j=0;j<frames.length;j++){<br /> if(frames[j].parent.side==page.side){<br /> try{<br /> var newFrame=frames[j].override(page);<br /> newFrame.contents= String(Math.ceil( <br />(page.documentOffset+offsetIncrease)/increment) );<br /> }<br /> catch(err){}<br /> }<br /> }<br /> }<br /> }<br />function IsValid(obj){<br /> var err;<br /> if(kAppVersion>=6){<br /> try{return obj.isValid}<br /> catch(err){return false}<br /> }<br /> try{<br /> var test = obj.parent;<br /> return true;<br /> }<br /> catch(err){return false;}<br /> }<br /><br />-- <br />Harbs<br />http://www.in-tools.com
-
Number of repeated characters in string array
Hi,
I m trying to get number of repeated characters in string array. I couldnt figure out where am i doing mistake.
thank you,
For example: count({"alpha, beta,"}, 'a')
a is repeated 3
l is repeated 1 etc.
public class Test
public static int count(String[] stringArray, char c)
public String [] str = new String [2];
int count = 0;
str[0]
str[1]
for(int i = 0; i<str.length(); i++)
if (str.charAt(i)
count++;
return count;There is a difference between a String and a String [].
A String [] is an array of String class objects:/* Traverse_Array_Of_Strings_1.java */
public class Traverse_Array_Of_Strings_1
public static void main(String [] argv)
/* here is an array of Strings */
String [] s = { "hello", "how", "are", "you" };
int i, j;
System.out.println("s.length = "+ s.length );
for (i= 0; i < s.length; i++)
System.out.println("s= <"+ s[i] +">");
for (j= 0; j < s.length(); j++)
System.out.print(s[i].charAt(j) +", ");
System.out.println("\n-----");
}output:java> javac Traverse_Array_Of_Strings_1.java
java> java Traverse_Array_Of_Strings_1
s.length = 4
s= <hello>
h, e, l, l, o,
s= <how>
h, o, w,
s= <are>
a, r, e,
s= <you>
y, o, u,
Edited by: vim_no1 on Jul 15, 2010 7:43 AM -
Algorithm to find non repeating number from the list
Hi,
Can anybody provide me the algorithm for the program:
User has provided a list of 'n' numbers (0-9) with only a single number not repeating at all and rest may repeat odd or even number of times. Now, job is to find out the number which is occuring only single time without repetition....Hi
If n is a smallish number, then something like
int bins[10];
memset bins to zero;
for (int i = 0; i < n; ++i)
++bins[arrayDigits[i]];
for (int i = 0; i < 10; ++i)
if (bins[i] == 1)
printf("digit is %d\n", i);
/* break if certain that i is the only bin == 1 */
break;
(arrayDigits is an array of the 'n' digits).
If n is large, then you'll probably want to break out of that first loop as soon as only one of the bins.
unsigned flag;
unsigned first = 0US;
unsigned second = 0US;
for (int i = 0; i < n; ++i)
flag = 1U << arrayDigits;
if (first & flag)
if (!(second & flag))
/* second occurence of digit */
second |= flag;
/* exit condition is that 'first' has all bottom 10 bit set and
'second' has all but 1 of the bottom 10 bits set */
if (first == 0x3ff)
/* all 'first' bits set */
switch (second)
case ~(1U << 0): /* digit is 0 */
case ~(1U << 1): /* digit is 1 */
case ~(1U << 9): /* digit is 9 */
printf("digit is %d\n", i);
break;
default:
/* do nothing - more than one digit still not at 'first' */
/* else already seen 2 or more of digit */
else
/* first occurence of digit */
first |= flag;
I haven't tested any of the code.
Paul -
Report for displaying the order number & order date..
HI ALL,
can any body help me for displaying the order number,customer name,material name & order date..in report
i dnt know the which are the table i need to use...
can anybody tell me which are table do i need to use and fields in tables
input to report from the user are cutomer number,purchase order numbervendor number & sales number
waiting for positive reply form u people.....
thanks
Zabeerulla
Moderator message: "spec dumping", please work yourself first on your requirement, do some research, talk to a functional consultant near you.
Edited by: Thomas Zloch on Feb 28, 2011 2:14 PMThx dharma raj ...
problem is ,input to report from the user are cutomer number,purchase order number,vendor number & sales number
report should contain
customer name
order date
order #
vendor name
material name
can u please tell me which are the table do i need to use...
i have ,please look into it...let me know if am incorrect
customer name -> kna1_name where kna1_kunnr=knagv_kunnr
order date -> vbak_audat
order nunber->vbak_vbeln
vendor name -> LFA1_NAME where LFA1_LIFNR=MEPO_TOPLINE(superfileld)
material # -> VBAP_ARKTX where VBAP_VBELN=VBAK_VBELN
HELP ME OUT...
THX
ZABEER -
Custom fields not display in SRM5.5 Basic Data Frame
Hello Everybody,
I am working on SRM5.5 Server which i have to add two custom fields in Basic Data Frame..
No field is display in basic data frame After I added those fields in INCL_EEW_PD_ITEM_CSF_SC and INCL_EEW_PD_ITEM_CSF.
I added these fields by help of 672960 OSS notes..
Add also when i execute the program BBP_DYNPROS_GENERATE where I entered the program name as SAPLBBP_PDH_CUF and execute but non of them is working fine..
Is there anything else do i need to display custom fields in basic data frame??
I have one more question..
When you logon through SAPGUI and goto BBPSC01 t.code where you see lots of fields in basic data frame such as unloading point and all.. But those all fields does not display when you logon through WebURL..
I checked is there any BAdi such CUF or Screenvarient or some Badi has been actived but non of the Badi has been implemented..
To display all the fields which are display in GUI Mode also should display in URL..
To bring this functionality , What do i need to do?
I appreciate if you answer these questions..
Thanks,
John.Hi Disha,
We are trying to add custom fields to the Shopping Cart Header. We are using SRM 5.0. We added the fields to the structures "INCL_EEW_PD_HEADER_CSF_SC" & "INCL_EEW_PD_HEADER_CSF". We are able to see the custom fields. But the issue is , we are able to see the custom fields in the Shopping Cart one step shop scenario. Whereas when we run the wizard which is a 3 step scenario, we are not able to see the custom fields.
Technically speaking, the custom fields are visible for the ITS BBPSC01 & BBPSC03 , where as these custom fields are not visible for the ITS BBPSC02.
Please let me know, if we need to append the fields to some other structure to be able to see them in the Shopping cart wizard also.
I will be gald to provide any kind of info.
Thanks in advance... -
Problem to display a negative number in XML Publisher output in excel
Hi All,
I am facing problem in displaying a negative number in XML Publisher output in excel.
My requirement is that I have to display a negative number in brackets when the output is taken in excel format. Eg: If the value is -123 then i have to display it as (123).
I have put these brackets using a formula column in the RDF, but it is the default functionality of excel that whenever there is a number in brackets then it automatically displays that as a negative value.
Can anyone please help me how I can display this negative number within brackets and not as a negative digit. Is there any special tag or is there any formula which can be used to convert this into text and written in the Help text of RTF template.
This is very urgent. If someone knows please reply asap.
Regards,
ShrutiThis is very urgent. If someone knows please reply asap.We are all volunteers here, so no ones questions are more urgent then other ones.
If its that urgent it would have helped if you had chosen the correct forum to ask your question BI Publisher -
How do I read the number of dropped frames in a 1394 session?
I'm using a C program to acquire image data using the imaq1394 library. I am dropping frames at 30FPS and want to use the imaq1394GetAttributes call with the IMG1394_ATTR_LOST_BUFFER_NB parameter to read the number of dropped frames. I am doing this at the end of the acquisition before the camera is closed. The value always comes back as 0. What is wrong? Here is the line that makes the call:
imaq1394GetAttribute(Sid, IMG1394_ATTR_LOST_BUFFER_NB, (unsigned long *) &lDroppedFrames);
Thanks in advance...Hello spcmicro,
Thank you for the email.
For the IMAQ 1394 driver (version 1.0), the lost buffer attribute does not work properly.
- The issue is not known to the developer lead, and it will be investigated for the next release of the IMAQ 1394 driver.
Please let me know if you have any additional questions,
Alan Hagler -
Display the total number of rows for the report in OBIEE 11g
Hi, In obiee 11g, the pagination will be 1-25. Is there any possiblity in obiee to show the total rows count next to pagination. Ex: if the result contains 120 rows. it should display after the pagination
Records 1-25. Total of Records : 120
Is there any way we can display the total number of rows for the report.
Kindly help me.. Its very urgent requirement.
MAny Thank in advacneCheck this http://obiee100.blogspot.com/2011/07/display-total-number-of-records-in.html
and
http://docs.oracle.com/cd/E28280_01/bi.1111/e10544/appsql.htm#CHDCDIDA
You have to go something like as suggested in previous link.
Mark as correct/helpful -
G/L Account Display with Vendor Number and Name -Urgent-
Hi Experts!
Is there a transaction, report, or table that can show a list of all the vendor names/numbers for transactions posted to a specific G/L account for a specified period? If so, please let me know. Thank you for your time!
Best Regards,
WCWe can display the Vendor number from the layout in FBL3N report, but the Vendor number will be displayed only if the document is posted from MM module. If the posting is from normal FI, it will not be displayed.
Other option is to develop a simple ABAP report to display Vendor.
Thanks
Murali. -
Display ISO week number instead of date on x axis in Bar Chart
Hi,
I've created a simple SSRS report based on bar chart that shows several milestones. Everything works fine for me except I’m not able to convert the date into ISO week number format.
I played around with different approaches. I was able to convert the date into an ISO week Format directly on the SQL Server. That
wasn't a problem.
But unfortunately I’m not able to display the week number on the horizontal axis in my Bar Chart. I tried both fields: TaskFinishDate and TaskFinishDateMS...
I would like to show the ISO week number instead of the date within the Bar Chart on the horizontal axis.
Any ideas/hints/help is really appreciated!
Thanks,
MikeHi Mike,
Per my understanding that you want to get the week number of the year based on the field "TaskFinishDate" which is datetime type and display the week number in the x-axis instead of the field "TaskFinishDate", right?
I have check the snapshot you have provided and it seems you have change the format of the datetime field in the x-axis like "dd.MM.YYYY", If you can't make the week number to display correctly in the x-axis, the issue can be caused by you haven't
change the format to Number in the category.
Details information below for you reference:
I assume you have use expression in the Label like below to convert the datatime TaskFinishDate in to ISO week number like below:
=DatePart(DateInterval.WeekOfYear,Fields!TaskFinishDate.Value)
or
=DatePart("ww",Fields!TaskFinishDate.Value)
Right click the X-axis and select the "Horizontal Axis Properties", then click the Number to change the format to "Number" as below:
Preview you will get the weeknumber display in the x-axis correctly.
If you still have any problem, please feel to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
How to display the rows number of times by giving the column values?
Hi All,
I want to display the rows number of times as the value exists in num column in the below query
with t AS
( SELECT 'venkatesh' NAME, 'hyd' LOC, 2 NUM FROM DUAL
UNION ALL
SELECT 'prasad' NAME, 'hyd' LOC, 3 NUM FROM DUAL
UNION ALL
SELECT 'krishna' NAME, 'hyd' LOC, 1 NUM FROM DUAL )
SELECT T.* FROM T
CONNECT BY ROWNUM <= NUM
Expected output:
venkatesh hyd 2
venkatesh hyd 2
prasad hyd 3
prasad hyd 3
prasad hyd 3
krishna hyd 1Edited by: Nag Aswadhati on Nov 1, 2012 12:34 AMNag Aswadhati wrote:
Hi All,
I want to display the rows number of times as the value exists in num column in the below query
Expected output:
venkatesh hyd 2
venkatesh hyd 2
prasad hyd 3
prasad hyd 3
prasad hyd 3
krishna hyd 1Using Connect By:-
with t AS
( SELECT 'venkatesh' NAME, 'hyd' LOC, 2 NUM FROM DUAL
UNION ALL
SELECT 'prasad' NAME, 'hyd' LOC, 3 NUM FROM DUAL
UNION ALL
select 'krishna' name, 'hyd' loc, 1 num from dual )
select t.name, t.loc
from t
connect by level <= num
and name = prior name
and (prior sys_guid() is not null);
NAME LOC
krishna hyd
prasad hyd
prasad hyd
prasad hyd
venkatesh hyd
venkatesh hyd
6 rows selected -
How to display a certain number of channels...
Hi!
I am using LabVIEW 8.5 and I am trying to display a certain number of channels using multiple channels ...
I can display them in a graph, but I am displaying the 16 analog input channels
that NI 6024E have and I need to display only the channels that have something
connected to them (I do not know which channel will have something connected to
it). If they have a signal (temperature), I will like to display that channel/s in a graph and save that channel/s in a txt file. If not
I do not want to show or save the channel/s.
How can I do that using DQA Assistance?
I am able to do all this using one channel, I can display in
a graph, I can save it in a txt file, but I am not able to do it for n number
of active channels only. Any advice or suggestion will be appreciated.
Sincerely,
Julieta.
Solved!
Go to Solution.Hi,
I am trying to give the user the opportunity of selecting how
many channels he/she want to connect to the board… Now I only have two channels and I know what
those channels are, but I want to do something that allow the user to select
the channels that he/she needs (maybe the 16 or maybe only 3 or 7). I saw that
in older versions of Labview there exists in Analog Input a “AI MULT PT” that
maybe could allow me to input there specific channel (I am using 8.5 version of LabView).
I am doing this to detect the channels, but it is not even
close of how it supposes to be, because the user can not select… I just want to
display the channels the user select and calculate the mean only for those
channels.
Any suggestion advice will be appreciated…
Sincerely,
Julieta.
P.D.: My English is not so good…
Attachments:
Temperature.PNG 15 KB -
in the old version at the bottom of the sceen it displayed the total number of media and the size of the files. how can i get the new version to diplay this?
You're welcome. It was frustrating for me as well until I stumbled across "the fix"
-
How to display a fixed number of rows in a page when using CL_GUI_ALV_GRID
Hy experts
How to display a fixed number of rows in a page when using CL_GUI_ALV_GRID?? lets say 500 ?? because my display table it may contain in some cases 10.000 and evidently I can t see all of them..
I have a button in my toolbar witch triggers this event
(display 500 records ) but I don t have the logic to do this only with methods of CL_GUI_ALV_GRID.
can you tell me a standard method of CL_GUI_ALV_GRID witch can help me do this?? any hint will be good..
Till now I was used to add a column to my structure witch represents a flag that is a number corresponding to every 500 records (a batch containing 500 records )
first 500 - flag -> 1
second 500 - flag -> 2
etc..but I m convinced that exists a way of doing this more easy..without damaging my structure..
thanx in advance..don t be shy..reply if you have any hints..Hi,
if method SET_FILTER_CRITERIA doesn´t help, I think that you must work with 2 internal tables, a counter and a loop for filtering the records to be displayed:
case counter.
when 1.
loop at int_table1 from 1 to 500. "<-- your table with all records
move int_table1 to int_table2
endloop.
when 2.
loop at int_table1 from 501 to 1000.
move int_table1 to int_table2
endloop.
etc, etc.
Call grid-->SET_TABLE_FOR_FIRST_DISPLAY
exporting
IT_OUTTAB = int_table2 "<-- instead of your currently table int_table1
Maybe you are looking for
-
What's a good software to use for Vendor Management?
We would like to do risk assessments, keep contracts & upload other pertaining documents to these vendors. Looking for a software that can be installed locally in our network. If anyone has any suggestions, please let me know, thank you! We have bee
-
I am forced to use an old version of Final cut on my new Mac Mini, but everytime I use a shortcut key, Final Cut closes. I have tried dissabling shortcuts in system preferences, but that did not help. Any suggestions?
-
I get a message in the corner of my iMac2-4 times a day saying iMovie has just been updated. DRIVING ME CRAZY! Help
-
Orarrp Utility Windows 7 32-bit with IE9
I have a question, does the ORARRP utility work on Windows 7 32-bit machines? I am having an issue with a virtual machine we have set up for testing. It is Windows 7 32-bit and when I select "Print" it just generates a generic text file and displays
-
How do i change current location?
I get local news and weather on my Yahoo homepage for Cleveland, OH. I'm not in Cleveland. How do I change my current location to get news and weather for my real location? (Default is already set for my real location). When I try to add a city, I ge