Help needed to set consecutive numbering in table rows
I need to set up a table so that the first column is a column of consecutive numbers (much like the record count).
The table will be followed with a text frame, and then a new table will start.
HOWEVER. I wanted to numbers in the first column to continue consecutively.
I am using this for a lengthy explanation of technical instructions: one instruction/ per line.
There will be about 1000+ instructions over the course of this 200-page book. The second column contains a checkbox, which is why I am having problems setting this up in an ordinary word-processing program, because of export issues (Dont ask). The third column contains the instruction.
I am hoping that Numbers will solve my formatting problems.
*Is there a simple way to set up the first table column in a sheet to number the rows consecutively, and continue the numbering each time a new table is inserted?*
I hope I have explained this well enough.
Fred, is it possible for this to work with other number related items. I'm talking specifically about sequential inventory numbers. At work I used excel, but now that computer is dead, and I'm working from home. I've refused to install microsoft products on my home machine for quite a while. I love numbers, and am glad it's out, so I am never even tempted by the "devil". Sorry got off topic.
Essentially I used to write BLX-001 in cell one, BLX-002 in cell two, then do the drag method. When I have text in the Numbers cell though it won't give consecutive numbers, just continually repeat the numbers in the first two cells. Any helps
Similar Messages
-
Help needed in setting up Japanese Database
Hi there,
Help needed in setting up Japanese Database.
I created database with UTF8 character set on Sun Solaris O/S.
Oracle version 8.1.7.
I am accessing the DB through SQL*Plus (Windows client).
I downloaded the Japanese font on client side and also set the NLS_LANG environment variable to Japanese_Japan.UTF8. Still, I am not able to view Japanese characters. O/S on client side is Windows 2000 professional (English). Is O/S (client) need to be Japanese O/S? When I try to retrieve sysdate, its displaying in Japanese but not all characters in Japanese. Can anyone help me out how to set up the client and is there any parameters to be setup at server side? I also tried to insert japanese characters into table through client, but it displaying as "?????" characters. Any help in this regard is appreciated.
Thanks in advance,
-Shankarlol
your program is working just fine.
do you know what accept does? if not read below.
serversocket.accept() is where java stops and waits for a (client)socket to connect to it.
only after a socket has connected wil the program continue.
try putting the accept() in its own little thread and let it wait there while your program continues in another thread -
Help needed to merge values from two tables -
We have these three test tables shown, which have a common ID; And amount fields; I want the -------
test1.val = test2.val + test3.val
when they have common ids in them;
I have shown the test data below: And the expected output;
NOTE: In database with real table values - each of them have millions of rows in them. So effeciency is very important here;
SQL> desc test1;
Name Null? Type
ID NUMBER
VAL NUMBER
SQL> desc test2;
Name Null? Type
ID NUMBER
VAL NUMBER
SQL> desc test3;
Name Null? Type
ID NUMBER
VAL NUMBER
SQL> select * from test1;
ID VAL
1 50
2 50
3 55
4 60
5 20
5 rows selected.
SQL> select * from test2;
ID VAL
1 25
1 25
2 5
2 5
4 75
5 rows selected.
SQL> select * from test3;
ID VAL
1 25
1 25
2 5
2 25
2 25
5 10
6 rows selected.
I EXPECT the output to be:
SQL> select * from test1;
ID VAL
1 100
2 65
3 20
4 75
3 20
5 10
6 rows selected.Need help with the update queries - joining three tables -
-
Counting consecutive numbers into one row
Hello everyone,
I have recently discovered that we can use Max ( Decode ()) function of Oracle to pivot the results of a table. I have executed this just fine. However, pivoting a table is just one part of the solution that I need. The pivoting function results to something like this:
01,02,03,05,06,07,08,09,10,11,12,13,14,16,17,20,21,23,25What I actually need is something like this:
1-17, 20-21,23,25I really don't know how to start solving this but so far I have the below query:
SELECT DISTINCT
MAX(DECODE(wldw.wafernumber,'01', '01'))
|| MAX(DECODE(wldw.wafernumber,'02', ',02'))
|| MAX(DECODE(wldw.wafernumber,'03', ',03'))
|| MAX(DECODE(wldw.wafernumber,'04', ',04'))
|| MAX(DECODE(wldw.wafernumber,'05', ',05'))
|| MAX(DECODE(wldw.wafernumber,'06', ',06'))
|| MAX(DECODE(wldw.wafernumber,'07', ',07'))
|| MAX(DECODE(wldw.wafernumber,'08', ',08'))
|| MAX(DECODE(wldw.wafernumber,'09', ',09'))
|| MAX(DECODE(wldw.wafernumber,'10', ',10'))
|| MAX(DECODE(wldw.wafernumber,'11', ',11'))
|| MAX(DECODE(wldw.wafernumber,'12', ',12'))
|| MAX(DECODE(wldw.wafernumber,'13', ',13'))
|| MAX(DECODE(wldw.wafernumber,'14', ',14'))
|| MAX(DECODE(wldw.wafernumber,'15', ',15'))
|| MAX(DECODE(wldw.wafernumber,'16', ',16'))
|| MAX(DECODE(wldw.wafernumber,'17', ',17'))
|| MAX(DECODE(wldw.wafernumber,'18', ',18'))
|| MAX(DECODE(wldw.wafernumber,'19', ',19'))
|| MAX(DECODE(wldw.wafernumber,'20', ',20'))
|| MAX(DECODE(wldw.wafernumber,'21', ',21'))
|| MAX(DECODE(wldw.wafernumber,'22', ',22'))
|| MAX(DECODE(wldw.wafernumber,'23', ',23'))
|| MAX(DECODE(wldw.wafernumber,'24', ',24'))
|| MAX(DECODE(wldw.wafernumber,'25', ',25')) AS WAFERS
FROM a_wiplothistory wl
JOIN Container C ON (wl.containerid = c.containerid OR wl.containerid= c.splitfromid )
JOIN a_wiplotdetailshistory wld ON wl.wiplothistoryid = wld.wiplothistoryid
JOIN a_wiplotdetailswafershistory wldw ON wld.wiplotdetailshistoryid = wldw.wiplotdetailshistoryid
WHERE c.containername = :lotThanks for helping guys.
Edited by: 1001275 on May 15, 2013 6:28 PMHi,
1001275 wrote:
Hello everyone,
I have recently discovered that we can use Max ( Decode ()) function of Oracle to pivot the results of a table. I have executed this just fine. However, pivoting a table is just one part of the solution that I need...You said it!
First, you need some way of grouping consecutive rows together (1-17 in one group, 20-21 in anoter, 23 as a group all by itself, and so on).
Then you need GROUP BY to get infmation about each goup, such as the smallest and largest number in the group.
Finally, you need to combine all that information into one big string. This is actually an example of String Aggregation , rather than pivoting. The two are closely related. Pivot means you're taking 1 column on multiple rows, and putting them into multiple columns on one row. String Aggregation is taking 1 column on multple row, and concatenating all their contents into one big string column.
Here's one way to do it:
WITH got_group_id AS
SELECT wafernumber
, ROW_NUMBER () OVER (ORDER BY wafernumber)
- wafernumber AS group_id
FROM wldw
, got_group_info AS
SELECT TO_CHAR (MIN (wafernumber))
|| CASE
WHEN COUNT (*) > 1
THEN '-' || TO_CHAR (MAX (wafernumber))
END AS group_label
, ROW_NUMBER () OVER (ORDER BY MIN (wafernumber))
AS group_num
FROM got_group_id
GROUP BY group_id
SELECT SUBSTR ( SYS_CONNECT_BY_PATH (group_label, ',')
, 2
) AS txt
FROM got_group_info
WHERE CONNECT_BY_ISLEAF = 1
START WITH group_num = 1
CONNECT BY group_num = PRIOR group_num + 1
AND prior sys_guid () is not null
;I find the first part of this query to be the trickiest. I used the Fixd Difference technique to assign a common group_id to consecutive rows. See {message:id=9953384} and/or {message:id=9957164} foran explantaion of the Fixed Difference technique.
Next, in sub-query got_group_info, I used aggregate functions to produce a group_label, such as '1-17', and to assign consecutive numbers to each group. This is also a little tricy, because it involves nesting an aggregate function (MIN in this case) inside an analytc function (ROW_NUMBER).
Finally, I used SYS_CONNECT_BY_PATH to do the string aggregation.
Output:
TXT
1-17,20-21,23,25Whenever you have a question, please post CREATE TABLE and INSERT statements for some sample data. For example:
CREATE TABLE wldw
( wafernumber NUMBER (3) PRIMARY KEY
INSERT INTO wldw (wafernumber) VALUES ( 1);
INSERT INTO wldw (wafernumber) VALUES ( 2);
INSERT INTO wldw (wafernumber) VALUES ( 3);
INSERT INTO wldw (wafernumber) VALUES ( 4);
INSERT INTO wldw (wafernumber) VALUES ( 5);
INSERT INTO wldw (wafernumber) VALUES ( 6);
INSERT INTO wldw (wafernumber) VALUES ( 7);
INSERT INTO wldw (wafernumber) VALUES ( 8);
INSERT INTO wldw (wafernumber) VALUES ( 9);
INSERT INTO wldw (wafernumber) VALUES (10);
INSERT INTO wldw (wafernumber) VALUES (11);
INSERT INTO wldw (wafernumber) VALUES (12);
INSERT INTO wldw (wafernumber) VALUES (13);
INSERT INTO wldw (wafernumber) VALUES (14);
INSERT INTO wldw (wafernumber) VALUES (15);
INSERT INTO wldw (wafernumber) VALUES (16);
INSERT INTO wldw (wafernumber) VALUES (17);
INSERT INTO wldw (wafernumber) VALUES (20);
INSERT INTO wldw (wafernumber) VALUES (21);
INSERT INTO wldw (wafernumber) VALUES (23);
INSERT INTO wldw (wafernumber) VALUES (25);I realize that your table (and your query) are a lot more complicated, but it looks like you can show the part you don't already understand using just this one table with this one column.
Also, whenever you have a question, say which version oif Oracle you'e using (e.g., 11.2.0.2.0).
The query above should work in Oracle 10.1 and up. I got the wong results in the main query in Oracle 10.2, however. (Oracle 10.2 has a lot of bugs related to CONNECT BY.) It worked fine in version 11.1.
If you're using Oracle 11.2, you'll want to use LISTAGG, not SYS_CONNECT_BY_PATH, to do the string aggregation.
For more about string aggregation in various versions of Oracle, see this Oracle Base page. -
Scripting for different numbers of table rows in cs3
As always thank you for the help.
My question: is there a simple newbie way to script for stroke placements when the numbers of rows in the category between the stroke will vary. I have not even attempted to script this style, as frankly I don't know where to start, but here is an explanation of what I need:
The table foodstuff contains:
animal, vegetable, fruit
Under animal there is:
beef, lamb, pork, poultry
Under vegetable there is:
potato, pepper, onion
Under fruit there is:
orange
If wanted a line under each category, ie after poultry, after onion, and after orange how would I go about it.
Thank you to all who have helped me so far, either by reading answers to other people's queries, or by responding directly to my ownInteresting ... I don't think there is a newbie-level answer to this challenge. It comes down to finding the first (left-to-right) cell that contains text, and adding a line on top of it all the way to the last cell in that row.
Here's a first attempt:
table = app.selection[0];
if (table.hasOwnProperty("baseline"))
table = table.parent;
if (table instanceof Cell)
table = table.parent;
if (table instanceof Column)
table = table.parent;
if (table instanceof Row)
table = table.parent;
if (table instanceof Table)
table.cells.everyItem().properties = {topEdgeStrokeWeight:0, bottomEdgeStrokeWeight:0, leftEdgeStrokeWeight:0, rightEdgeStrokeWeight:0};
table.rows.lastItem().bottomEdgeStrokeWeight = 1;
for (r=0; r<table.rows.length; r++)
for (c=0; c<table.rows[r].cells.length; c++)
if (table.rows[r].cells[c].contents)
for (; c<table.rows[r].cells.length; c++)
table.rows[r].cells[c].topEdgeStrokeWeight = 1;
break;
} else
alert ("You were supposed to be somewhere inside a Table"); -
Help needed with PK and FK between tables
I need help with setting Primary keys and specially Foreign Keys between tables.
This is star schema case, where SalesFact in located in middle.
I have specially understanding what should be primary keys in SalesFact and setting FK relations.
Also any table needing new Id columns because of FK requirements.
/*FOLLOWING SCRIPS CAN BE RUN IN YOUR SQL SERVER IF YOU WISH*/
CREATE TABLE [dbo].[SalesFact](
[SalesId] [nvarchar](50) NULL, /* Every Id is unique and listed only once in table*/
[ProductId] [nvarchar](8) NULL, /* Large amount of products are sold*/
[CustomerId] [nvarchar](50) NULL, /* Large amount of customers exists*/
[SalesAmount] [float] NULL,
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[Product](
[ProductId] [nvarchar](8) NULL, /* Every Id is unique and listed only once in table*/
[ProductName] [nvarchar](50) NULL,
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[Customer](
[CustomerId] [nvarchar](8) NULL, /* Every Id is unique and listed only once in table*/
[CustomerName] [nvarchar](50) NULL,
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[Sales]( /*Long and skinny table to describe sales related info*/
[SalesId] [nvarchar](8) NULL, /* Every Id may be listed several time.*/
[SalesProperty] [nvarchar](50) NULL, /*value can be SalesPerson,CustomerContact etc */
[SalesName] [nvarchar](50) NULL, /*value can be John Smith etc.*/
) ON [PRIMARY]
GO
GO
INSERT [dbo].[Customer] ([CustomerId], [CustomerName]) VALUES (N'1', N'Toyota')
GO
INSERT [dbo].[Customer] ([CustomerId], [CustomerName]) VALUES (N'2', N'Nissan')
GO
INSERT [dbo].[Customer] ([CustomerId], [CustomerName]) VALUES (N'3', N'Ferrari')
GO
INSERT [dbo].[Product] ([ProductId], [ProductName]) VALUES (N'11', N'Car')
GO
INSERT [dbo].[Product] ([ProductId], [ProductName]) VALUES (N'22', N'Phone')
GO
INSERT [dbo].[Product] ([ProductId], [ProductName]) VALUES (N'33', N'Milk')
GO
INSERT [dbo].[Sales] ([SalesId], [SalesProperty], [SalesName]) VALUES (N'333', N'ContactPerson', N'John')
GO
INSERT [dbo].[Sales] ([SalesId], [SalesProperty], [SalesName]) VALUES (N'333', N'CustomerManager', N'Bill')
GO
INSERT [dbo].[Sales] ([SalesId], [SalesProperty], [SalesName]) VALUES (N'111', N'CTO', N'Ted')
GO
INSERT [dbo].[Sales] ([SalesId], [SalesProperty], [SalesName]) VALUES (N'111', N'CFO', N'Hillary')
GO
INSERT [dbo].[SalesFact] ([SalesId], [ProductId], [CustomerId], [SalesAmount]) VALUES (N'333', N'11', N'1', 123)
GO
INSERT [dbo].[SalesFact] ([SalesId], [ProductId], [CustomerId], [SalesAmount]) VALUES (N'111', N'222', N'22', 456)
GO
Kenny_ICREATE TABLE [dbo].[SalesFact](
SalesFactID INT NOT NULL PRIMARY KEY,
[SalesId] [nvarchar](50) NULL FOREIGN KEY REFERENCES Sales(Saleid) , /* Every Id is unique and listed only once in table*/
[ProductId] [nvarchar](8) NULL
FOREIGN KEY REFERENCES Products(Productd),
/* Large amount of products are sold*/
[CustomerId] [nvarchar](50) NULL
FOREIGN
KEY REFERENCES Customers(Customerid),
/* Large amount of customers exists*/
[SalesAmount] [float] NULL,
) ON [PRIMARY]
GO
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Help Needed in Set based query
Hi,
Version : sqlserver 2008 R2
sample data to play with,
declare @Address table(Id int primary key identity(1,1),Address varchar(100),city varchar(20),State varchar(20))
insert into @Address
select '123 sheril street, Newyork,NY','Newyork','NY' union all
select '333 bamboo street, Manhattan,NY', null,null union all
select '123 merrit street, Albany,NY','Albany','NY' union all
select '123 shego street, Buffalo,NY',null,null
This is just sample data. i have around 100000 address for different city and states.Basically i need to remove the city and state from address
Here is what i need to achieve,
1. Get the city,state check exists on address column if found then remove the city and state. if not leave it as it.
2. If the city and state column is null and if that is present in address column then remove that from address column and update it in city and state column
respectively.
Is this possible to achieve without cursor or looping? any sample query please .
loving dotnetThis gets you part of the way there. You'll have to perform your own logic to determine if you want to update the address field or not. I attached a split function that I found online, you'll need that to get the desired results.
declare @Address table(Id int primary key identity(1,1),Address varchar(100),city varchar(20),State varchar(20))
insert into @Address
select '123 sheril street, Newyork,NY','Newyork','NY' union all
select '333 bamboo street, Manhattan,NY', null,null union all
select '123 merrit street, Albany,NY','Albany','NY' union all
select '123 shego street, Buffalo,NY',null,null
;with parts as
select a.Id, LTRIM(RTRIM(ISNULL(foo.Item,''))) as Item
from @address a
CROSS APPLY DBO.SplitStrings_Moden(a.Address, ',') as foo
[rows] as
select id, [1] as [Address], [2] as [City], [3] as [State]
FROM
select Id, Item, ROW_NUMBER() over(partition by id order by id) as rowNumber
from parts
) a
PIVOT (max(Item) for rowNumber in ([1], [2], [3])) as pvt
merge into @Address as Target
using rows as Source
ON (Target.Id = Source.Id)
WHEN MATCHED THEN
UPDATE SET
Target.Address = Source.Address,
Target.City = Source.City,
Target.State = Source.State;
select * From @Address
ALTER FUNCTION dbo.SplitStrings_Moden
@List NVARCHAR(MAX),
@Delimiter NVARCHAR(255)
RETURNS TABLE
WITH SCHEMABINDING AS
RETURN
WITH E1(N) AS ( SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1
UNION ALL SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1
UNION ALL SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1),
E2(N) AS (SELECT 1 FROM E1 a, E1 b),
E4(N) AS (SELECT 1 FROM E2 a, E2 b),
E42(N) AS (SELECT 1 FROM E4 a, E2 b),
cteTally(N) AS (SELECT 0 UNION ALL SELECT TOP (DATALENGTH(ISNULL(@List,1)))
ROW_NUMBER() OVER (ORDER BY (SELECT NULL)) FROM E42),
cteStart(N1) AS (SELECT t.N+1 FROM cteTally t
WHERE (SUBSTRING(@List,t.N,1) = @Delimiter OR t.N = 0))
SELECT Item = SUBSTRING(@List, s.N1, ISNULL(NULLIF(CHARINDEX(@Delimiter,@List,s.N1),0)-s.N1,8000))
FROM cteStart s; -
Help Needed to Sum Column in Fixed Table
I am new to LiveCycle. I need to sum a column in a fixed table. My rows are summing correctly. I have tried every formula on the web both in FormCalc and Javascript. I've cut and pasted script from Adobe templates and from forms on the web. Nothing is working. Each change produces a new set of errors. The Hierarchy is: (untitled Subform) (page 2), Table 2, Header Row {Header Row contains Year 1, Year 2...Year 5}, Row1 {Row1 contains Text Title, Cell2, Cell3, Cell4, Cell5, Cell6, (untitled Numeric Field) which is a calculated sum of Years 1-5}, Row2, Row3...Row7 are exactly the same. I want to calculate the sum of each column in the footer row but I keep getting script errors.
I am new to LiveCycle. I need to sum a column in a fixed table. My rows are summing correctly. I have tried every formula on the web both in FormCalc and Javascript. I've cut and pasted script from Adobe templates and from forms on the web. Nothing is working. Each change produces a new set of errors. The Hierarchy is: (untitled Subform) (page 2), Table 2, Header Row {Header Row contains Year 1, Year 2...Year 5}, Row1 {Row1 contains Text Title, Cell2, Cell3, Cell4, Cell5, Cell6, (untitled Numeric Field) which is a calculated sum of Years 1-5}, Row2, Row3...Row7 are exactly the same. I want to calculate the sum of each column in the footer row but I keep getting script errors.
-
Help needed to load XML into DB table
I need some serious help if someone can spare the time. I am completely new to XML and don't really understand it yet but I need to be able to load an XML file (example) below.
I want to load this into a table that would look like the following:
CHAPTER_TITLE DOC_HTML DOC_TITLE
Men's Health 494440 AAAAA
Men's Health 496812 BBBBB
etc....
<?xml version=1.0 encoding=utf-8?>
<BookCollections Quantity=1 Title=Emis Books Collection>
<Book Folder=PILSS Title=Patient Support>
<Chapter Title=Men''s Health>
<Document DocHTML=494440 Title=AAAAA />
<Document DocHTML=496812 Title=BBBBB />
<Document DocHTML=498923 Title=CCCCC />
<Document DocHTML=499844 Title=DDDDD />
<Document DocHTML=499901 Title=EEEEE />
</Chapter>
</Book>
</BookCollections>I have read through the documentation I could find but I can't get it to work. I had a simple procedure which loaded the text file as a CLOB and then inserted it into an XMLTYPE column but even that wouldn't work. I would rather it loaded as above in seperate columns.
Is there a simple example someone can help me out with?That is very close ORA_SID thank you. But I get the ORA-19025 error when I have more than one Chapter section. The example was a cut down version, ther real file has thousands of Chapters.
e.g.
1 insert into test2 values(xmltype(' <BookCollections Quantity="1" Title="Emis Books Collection">
2 <Book Folder="PILSS" Title="Patient Support">
3 <Chapter Title="Men''s Health">
4 <Document DocHTML="494440" Title="AAAAA" />
5 <Document DocHTML="496812" Title="BBBBB" />
6 <Document DocHTML="498923" Title="CCCCC" />
7 <Document DocHTML="499844" Title="DDDDD" />
8 <Document DocHTML="499901" Title="EEEEE" />
9 <Document DocHTML="500381" Title="FFFFF" />
10 <Document DocHTML="500446" Title="GGGGG" />
11 <Document DocHTML="500996" Title="HHHHH" />
12 </Chapter>
13 <Chapter Title="Contraception">
14 <Document DocHTML="496815" Title="IIIII" />
15 <Document DocHTML="496817" Title="JJJJJ" />
16 <Document DocHTML="499547" Title="KKKKK" />
17 <Document DocHTML="499550" Title="LLLLL" />
18 <Document DocHTML="500473" Title="MMMMM" />
19 <Document DocHTML="500704" Title="NNNNN" />
20 <Document DocHTML="500813" Title="OOOOO" />
21 <Document DocHTML="500995" Title="PPPPP />
22 <Document DocHTML="500996" Title="QQQQQ" />
23 </Chapter>
24 </Book>
25 </BookCollections>
26* '))
SQL> /
1 row created.
SQL> SELECT extractValue(xml_data, '/BookCollections/Book/Chapter/@Title') AS Chapter_Title,
2 extractValue(value(em), '/Document/@DocHTML') AS Document_DocHTML,
3 extractValue(value(em), '/Document/@Title') AS Document_Title
4 FROM test2,table(XMLSequence(extract(xml_data,'/BookCollections/Book/Chapter/Document'))) em
5 ;
FROM test2,table(XMLSequence(extract(xml_data,'/BookCollections/Book/Chapter/Document'))) em
ERROR at line 4:
ORA-19025: EXTRACTVALUE returns value of only one nodeCan you help on this? -
HELP- Need to set up Elements 10 as external editor from LR3, but layers aren't available
Help! I am trying to set up Elements10 to open as external editor from LR3 but I must not be doing something right. When I "edit in" and select elements10 from LR3, it brings the photo up. However, none of the layers options are available. They are all grayed out. I need to be able to access layers. Help!!!! Anyone know what's going on?
You probably exported the photo to photoshop elements 10 as a 16 bits/channel file, so go to Image>Mode in photoshop elements 10
and click on 8 bits/channel so you can use layers.
more info:
http://www.texaschicksblogsandpics.com/elements-tutorial-bit-depth-why-cant-i-edit-this-ph oto/ -
Help needed on retreving QID from APQI table
Hi Gurus,
I am using RBIBGL00 standard batch program in my report to create a batch session and in turn execute it.
Batch session is getting created and it is getting executed as well.
Issue:
Now i need to retreive the batch information (succes/failure msgs) from the log
so i am writing code as:
select QID to display session log
SELECT SINGLE qid
INTO gv_qid
FROM apqi
WHERE datatyp = gc_bdc
AND groupid = p_group
AND progid = sy-repid
AND userid = sy-uname
AND credate = sy-datum.
But qid is not getting fetched.
Please help me to resolve this issue.
Regards'
Madan.Hi Thomas,
I am using RFBIBL00 program in my report in 2 modes,
to Create Batch session and
in Call Transaction mode as well. ( is my requirement)
1. In Call Transaction mode, i am passing the option xlog, so that after documents are loaded, a log is displayed.
2. In Batch Session mode, batch is getting created and to execute that batch, i am calling another program RSBDCSUB.
Batch is getting executed and result gets exported to memory.
I am fetching the results from memory using function module
"LIST_FROM_MEMORY"
Then converting that to ASCI fromat using function module
"LIST_TO_ASCI"
Now i need to display the session log
so i am retreving session data (QID) from APQI table.
Please let me know if there are any alternatives.
Thanks for your time and help.
Regards'
Madan. -
Help Needed To Set Up Pre-Owned G3 iBook.
My wife has just bought a pre-owned 800Mhz G3 iBook to complement our G3 iMac and our 24" Intel iMac. I have never dealt with a second-hand machine before so I'm in completely alien territory and need some help.
What should I do to stamp my wife's mark on the "new" iBook and get on to it a lot of the programmes currently on the Intel iMac. e.g. Mail etc.
She wants to be selective and just have on it the things that she'll need when on the move - Mail, internet, word processor etc.
Please reply in simple terms as I'm no expert in these matters!
The iBook has no Airport card at the moment but I'm told that they're easy to fit. Or should I go with a USB wi-fi adaptor?Wipe the drive & reload the OS. make sure the RAM is maxed out (640 MB)
what OS does she use or want on that system? reason being as the iBook G3s only have CD-ROMS or CD burners, so a set of OS X disc on CD for 10.4 is needed.
It WILL NOT boot OS X 10.5 "Leopard"
if you only have an install DVD: use an external DVD drive or use one of the current macs as a DVD drive - insert dvd into another mac & reboot holding T, until you see the orange symbol bouncing around. plug the 2 together, boot the iBook holding option & select the dvd when it comes up.
You can then use the Migration Assistant (Mac HD/Applications/Migration Assistant.app) to import her acct to the iBook. Don't import the apps tho, install those fresh as all the apps from an intel machine may not work on powerpc.
I would set up the system, install ALL updates & then delete the apps she won't use. Leave the Utilities folder alone.
Text Edit is a decent basic word processor as it has spell check & does rich formatting. There are some other stand alone apps, macworld.com is full of reviews.
Wireless: the only cards you can put internally are the Apple Airport a/b cards. These are getting harder to find & usually kinda expensive for their capability & age. You may want to suffer with a USB adapter, at least it would do G wireless & support the better WPA encryption.
Good luck. -
Hi,
At the advice of the Tmobile tech, am trying to set up this:
"In order for IPsec to work, the following ports need to be allowed through the firewall in both directions:
UDP port 500 (Internet Key Exchange or "IKE")
UDP port 4500 (IPSec/IKE NAT-T)
Many consumer-grade routers, including the T-Mobile branded Wi-Fi routers, include a simple check-box that will enable IPsec communications. This option is typically named 'Enable IPsec passthrough' or something similar."
Apple care said they were unable to assist and suggested coming here.
I see in Airport Admin. where to add port mapping, but not sure what Services to choose, as all seem to have some values attached already.
Also, I don't see anything anywhere called IPSEC....
Thanks in advance!I got my at&t yahoo mail to work on the centro. Not sure if it's the same as just plain old yahoo mail, but maybe this will help you. Now I'm able to simply click the little mail button on my centro and it takes me to my inbox. This was NOT through versa mail as far as I know. To access the versa mail I have to go to a different icon on my centro thats just called "mail". While my little quick mail key actually takes me to the application on my centro called "e-mail".
I set it up as follows......
Create your mail account and name it accordingly. Enter your e-mail address and password and select next. For mail type: POP enter your username (which is your e-mail address again).
my incoming mail server I simply took right off my home computer set-up I had. For me it was pop.att.yahoo.com while the outgoing mail server was smtp.att.yahoo.com
Then click on the advanced settings option.
For the incoming service I selected to use a secure connection and made sure my port number matched what I had loaded in my home computer. Then I selected next and for the outgoing server I selected to use the SSL connection AND the use authentication selection. The later will require you to again enter your username and password (email address and password). And I once again made sure my port number matched my home e-mail setting.
And that was it. I was able to get it to work.
Maybe it will not be the identical things for you, but maybe this will help some.
Message Edited by herculesmomma on 05-05-2009 01:37 PM -
Help need to set up Printing to network printer
I am trying to set up a printing via a print server attached to my home network. I know the print server works as I can print to it via Linux. How do I set this up please? the print server is an LG N1A1 NAS & the printer is a brother DPC 115 C
What happened when you created the connection? Did you upload
the
connection file to the server? Is your testing server local
IIS?
Nancy Gill
Adobe Community Expert
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: Dreamweaver CS3: The Missing Manual,
DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide
Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"Johnny Polite" <[email protected]> wrote in
message
news:funopc$luq$[email protected]..
> Hello,
>
> I am just starting to learn ASP with VBScript because I
am trying to
> develop
> an online registration application to connect to a
Access DB that I
> previously
> built. I am just reading through books and enjoying the
learning process.
> I
> am pretty decent at VBA, so it is fun to apply that to
the internet.
>
> My big problem is that I receive this error message on
the browser: Data
> source name not found and no default driver specified. I
set up the DSN
> on the
> System tab in Administrative tools in the Control Panel.
I have my sample
> DB
> placed on a server that recognizes ASP commands.
Dreamweaver recognizes
> the
> connection and I can manipulate the recordsets,
establish SQL
> statements...but
> when I get to the browser, it gives me the error
message.
>
> I have been learning both in FrontPage and in
Dreamweaver and Front Page
> can
> connect just fine to the DB through it's internal menus.
I much prefer
> Dreamweaver, though, and I know that when I get this
connectivity issue
> straightened out I will start really making some
progress.
>
> I appreciate all the help in advance and if you need me
to clarify
> anything,
> let me know.
> -
Lost. Help Needed. Setting up Exchange Account on iPhone
Hello all
Long story short - I'm trying to set up my fathers exchange account on his brand new iPhone.
I have his username, password and what I believe to be the server - mbx2.exchprod.usa.net
After 'verifying Exchange account information' on the first account creation screen, I proceed to 'Enter your Exchange account information'
Entering, mbx2.exchprod.usa.net into the serve field and clicking next gives me the 'Exchange accoutn verification failed.
Any help would be greeeatly appreciated.
Thanks
StuartDoes the company that hosts the Exchange account allow users to connect with their iPhones. It isn't as simple as knowing the settings, they have to allow it and the Exchange admin have to setup certain things on the mail servers.
If they don't have ActiveSync (what is needed by them), do they offer IMAP or POP access instead?
Maybe you are looking for
-
Exchange email will not work after IOS 5.1.1 update
My company exchange email was working perfectly, but suddenly stop , i don't know is due of the iPhone upgrade or as well my company upgrade to exchange to 2010 When i enter my account it's verifying my credentiality, but can't receive or send email
-
Macbook Pro error and need to know about back up. Urgent!
Hi guys I hope you can help. I'm a mac newbie but have a problem here. I have a macbook pro 15.4, the latest unibody one. I have only had it for a couple of months and now it will not restart... It crashed downloading emails and then now never gets p
-
Inability to assign freight vendor at header condition level
Hello all We are working on ECC 5.0 but will shortly be moving to ECC 6.0. We have a scenario where raw materials are purchased from one vendor and delivered by a freight carrier (for which we are liable). To satisfy a Finance requirement to capture
-
I am planning to buy an ipad mini, please suggest me whether its the right choice to go for or not ? Hows the display?
-
How do I back up the Mac Pro with Target Disk Mode?
My Mac Pro's partition has become corrupt, and will not boot. After trying to resolve the issue, it would seem the only solution is to reformat the computer, and start again. Nonetheless, I would still like to back it up. I have a MacBook Pro, a fire