How can I duplicate the same table in 3 pages?
hi everybody!
i have a form with a master page (containing the invoice fields) and 3 body pages that reference the master page.
in each one of these 3 pages there is a table with one header row, 7 body rows and a footer row.
the table was copied and pasted from page 1 to page 2 and page 3.
between the body rows there are two rows that are bound with table data, one for invoice details and one for tax details.
my problem is that in the 2nd and 3rd page in pdf output invoice and tax details are empty, while the other lines are present.
it seems like there is a table index that loops once in the first page until it reaches the end of the table, so for page 2 and 3 it is already at the end...
my question is: how can i get the same complete table in three form pages?
thanks in advance
Not sure I follow .....are you asking for Page 2 and 3 to have the same table and values in the table as on Page1 or does each page have unique data?
Where is the data coming from? Is the user typing it in or is there a separate data source somewhere?
Paul
Similar Messages
-
How can I access the same table within AFTER UPDATE trigger? mutating
I'm trying to have processing done within a before or after update trigger.
reduced what I want to do down to a select within the trigger.
create or replace TRIGGER "AU_TABLE_A"
after update on "TABLE_A"
for each row
declare
l_res_status NUMBER:=0;
l_count NUMBER:=0;
begin
SELECT COUNT(*) INTO l_count
FROM TABLE_A
WHERE ID = :NEW.ID AND STATUS_ID = 9;
end;
Error in mru internal routine: ORA-20001: Error in MRU: row= 1,
ORA-04091: table TABLE_A is mutating, trigger/function may not see it
ORA-06512: at "BHRS.BU_MR_RES_APPR", line 13
ORA-04088: error during execution of trigger 'BHRS.BU_MR_RES_APPR',
update TABLE_A set "ID" = :b1, "STATUS_ID" = :b2, "COMMENTS" = :b3
where "ID" = :p_pk_col
IS THERE A WAY AROUND IT?
Thank you, BillThe very common approach to workaround mutating table problem is passing the table state through the package variables. I.e. - you create a package with one global variable ( say l_count). Then you need
1) a trigger before update for statement - here you counts your rows and set the package variable accordingly.
2) a trigger after update for each row - here you read the rowcount from a package variable and do your actual work
3) a trigger after update for statement - here you reset your package variable.
This approach uses the fact, that mutating table problem occurs only with triggers for each row and the order of execution of different trigger types.
However, counting records in every update statement (whereas not so worse although as doing this for each row within an update) may consume a lot of resources, so, possibly , you can rethink your business needs/approach.
Best regards
Maxim -
From memory, it used to be possible to create a srtup file of sorts to re-create/re-establish not only bookmarks but also all the add-ons from one Firefox to another - on a different machine. In short, I would like to have them to be identical.
You need to mount that other partition to be able to access files on it and then browse to the hidden profile folder on that partition.
/home/user/.mozilla/firefox
You can only restore a JSON backup, unless you export the bookmarks in that other OS to an HTML file.
See also http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox -
How can I update the trigger table?
I need a insert trigger on a table and also wants to insert the result value in one of its field.
it gives mutating error........
so wots the way of updating it? how can i update the same table.For example like this (inside the BEGIN/END section of the trigger):
:NEW.Col2 := :NEW.Col1;
C. -
How can i get the same itunes library on 2 macs
how can i get the same itunes library on two different macs, without having to pay for icloud please.
Copy everything from one computer to the other.
-
How can I use the same "I Tunes" on two different computers
I’m using two different kinds of Personal Computer: One is Desktop PC And the other one is Notebook .
In each computer there are the same songs and when I get the new ones to the Desktop I want them to be placed on the Notebook or reverse.
Where does the I Tunes save the playlist on the hard drive ?
I have prepared a playlist on my Notebook and want it to be seen on the Desktop but I dont want to fallow the steps File > Library > Export Playlist on the Notebook. Is there any other way to make this issue instead of the mentioned steps.
How can I see the same Playlists and songs on two different computers ( notebook and desktop) including the updating processes.
Operating systems of the computers:
Desktop: XP Pro
Notebook: Vista BussinessI use SyncToy 2.0 to keep two instances of my library in sync. SyncToy's preview will show which files it is about to update giving you a chance to spot unexpected changes and during the run only the changed files will be copied saving lots of time.
As long as I sync after making updates at one instance of the library before making any updates at the other then everything works just fine. I periodically run iTunes Folder Watch to check for any orphaned entries or new items that haven't been imported into the active library. If your machines are regularly networked together this process is fairly straightfoward. Mine are in disparate locations so I use one of the (physically) small WD My Passport host powered drives which I take between home & work, synchronising at either end. This gives me three complete copies of my library so I'm covering backup & synchronisation in the same operation.
When connecting my iPod at either location iTunes recognises itself as the "home" library for the iPod so I'm able to use the sync with selected playlists option without getting warning messages about the iPod being synced with a different library.
tt2 -
my macbook wont allow me to use the same hotmail address as i used on my other computers. How can I keep the same email and log into it on a macbook?
That indicates a hardware failure. Read here:
http://support.apple.com/kb/ts1559
If nothing works, you most likely have a hardware failure. Make an appointment at an Apple store to confirm. -
How can i use the same cursor in a loop fro multipletimes.
I am using two cursors.One to fetch sites and the other to fetch participants under each site.I am performing some job with that participants data.Now the problem is i am using the 2nd cursor in a loop.So it fetches the data of participants falling under one state.But when it comes to the second state,as the second cursor is already open it is unable to fetch the records.Please help me .How can i use the same cursor in a loop fro multipletimes.
I am sending the code which i have written in When-Button-Pressed-Trigger...
declare
sid number;
pid number;
cursor csid is select distinct(site_id) from cyber_ppt;
cursor cpid is select pc_id,st_dt,ed_dt from cyber_ppt where site_id = sid;
stdt varchar2(10);
eddt varchar2(10);
nom number;
stmonth varchar2(10);
edmonth varchar2(10);
cjan number:=0;
cfeb number:=0;
cmar number:=0;
capr number:=0;
cmay number:=0;
cjun number:=0;
cjul number:=0;
caug number:=0;
csep number:=0;
coct number:=0;
cnov number:=0;
cdec number:=0;
i number:=1;
begin
open csid ;
loop
fetch csid into sid;
exit when csid %notfound;
message(sid);
open cpid;
loop
fetch cpid into pid,stdt,eddt ;
exit when cpid %notfound;
message(sid||'-'||pid);
stmonth:=substr(stdt,4,3);
edmonth:=substr(eddt,4,3);
nom:= months_between(eddt,stdt);
while i <= round(nom)
loop
stmonth:=substr(stdt,4,3);
if stmonth='JAN' then
cjan:=cjan+1;
elsif stmonth='FEB' then
cfeb:=cfeb+1;
elsif stmonth='MAR' then
cmar:=cmar+1;
elsif stmonth='APR' then
capr:=capr+1;
elsif stmonth='MAY' then
cmay:=cmay+1;
elsif stmonth='JUN' then
cjun:=cjun+1;
elsif stmonth ='JUL' then
cjul:=cjul+1;
elsif stmonth ='AUG' then
caug:=caug+1;
elsif stmonth ='SEP' then
csep:=csep+1;
elsif stmonth ='OCT' then
coct:=coct+1;
elsif stmonth ='NOV' then
cnov:=cnov+1;
elsif stmonth ='DEC' then
cdec:=cdec+1;
end if;
stdt:=add_months(stdt,1);
i:=i+1;
end loop;
end loop;
end loop;
end;
try this /* untested */
DECLARE
sid NUMBER;
pid NUMBER;
CURSOR csid IS SELECT DISTINCT(site_id) FROM cyber_ppt;
CURSOR cpid(nSid NUMBER) is SELECT pc_id,st_dt,ed_dt FROM cyber_ppt WHERE site_id = nSid;
stdt VARCHAR2(10);
eddt VARCHAR2(10);
nom NUMBER;
stmonth VARCHAR2(10);
edmonth VARCHAR2(10);
cjan NUMBER:=0;
cfeb NUMBER:=0;
cmar NUMBER:=0;
capr NUMBER:=0;
cmay NUMBER:=0;
cjun NUMBER:=0;
cjul NUMBER:=0;
caug NUMBER:=0;
csep NUMBER:=0;
coct NUMBER:=0;
cnov NUMBER:=0;
cdec NUMBER:=0;
i NUMBER:=1;
BEGIN
FOR rec IN csid
LOOP
sid := rec.csid;
FOR cRec IN cpid(sid)
LOOP
pid := cRec.pc_id;
stdt := cRec.st_dt;
eddt := cRec.ed_dt;
stmonth:= SUBSTR(stdt,4,3);
edmonth:= SUBSTR(eddt,4,3);
nom:= months_between(eddt,stdt);
WHILE i <= round(nom)
LOOP
stmonth := SUBSTR(stdt,4,3);
IF stmonth='JAN'
THEN
cjan:=cjan+1;
ELSIF stmonth='FEB' THEN
cfeb:=cfeb+1;
ELSIF stmonth='MAR' THEN
cmar:=cmar+1;
ELSIF stmonth='APR' THEN
capr:=capr+1;
ELSIF stmonth='MAY' THEN
cmay:=cmay+1;
ELSIF stmonth='JUN' THEN
cjun:=cjun+1;
ELSIF stmonth ='JUL' THEN
cjul:=cjul+1;
ELSIF stmonth ='AUG' THEN
caug:=caug+1;
ELSIF stmonth ='SEP' THEN
csep:=csep+1;
ELSIF stmonth ='OCT' THEN
coct:=coct+1;
ELSIF stmonth ='NOV' THEN
cnov:=cnov+1;
ELSIF stmonth ='DEC' THEN
cdec:=cdec+1;
END IF;
stdt:=add_months(stdt,1);
i:=i+1;
END LOOP;
END LOOP;
END LOOP;
END; -
How can I have the same environment on two macs on is a macbook pro and the other a Mac mini
How can I have the same environment on two macs on is a macbook pro and the other a Mac mini ?
Forget trying to use iCloud for this - it won't do what you want. iCloud syncs certain data like contacts and events, but it doesn't sync "environments" on computers.
-
When you have 1 itunes library.. and 2 ipods.. different names.. how can you share the same library??? All of the songs that were put on there from a CD will sync, but the songs that were purchased.. "cannot be found" How can we merge them?? or how can we share all songs.. purchased or not!
When you have 1 itunes library.. and 2 ipods.. different names.. how can you share the same library??? All of the songs that were put on there from a CD will sync, but the songs that were purchased.. "cannot be found" How can we merge them?? or how can we share all songs.. purchased or not!
-
How can you use the same e-mail address for multiple ipads?
I have two iPads.. an iPad and an ipad 2. I registared my new ipad 2 and now my old ipad is will not let me log on and is telling me that my e-mail address is already in use. how can you use the same e-mail address for multiple ipads?
And by using the same Apple ID you can also share purchases. If you have a different Apple ID for each iPhone then you can't share purchases.
-
How can i use the same front panel graph in more than one events in an event structure?
i want to display the signals from my sensorDAQ in a graph.but i have more than one event in the event structure to acquire the signal and display it in the graph.the first event is to acquire the threshold signals and its displayed in the graph as a feedback.after the first event is executed, i will call the second event,where the further signals are acuired and compared with the threshold signals from the event 1.my question is how can i use the same front panel control in more than two events in the event structure?please answer me i'm stuck.
Solved!
Go to Solution.Hi,
I have attached here an example of doing the same using shift registers and local variables. Take a look. Shift register is always a better option than local variables.
Regards,
Nitzz
(Give kudos to good answers, Mark it as a solution if your problem is Solved)
Attachments:
Graph and shift registers.vi 12 KB
graph and local variables.vi 12 KB -
Hi
I have about 1000 contacts on my iPhone 4 after syncing with iCloud there are only about 120 contacts on iCloud How can I have the same info on both the iCloud and my iPhoneOn the iPhone tap Settings > iCloud
Switch Contacts off then back on then reset the device.
Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears. -
If I have an apple ID for myself and my wife has just got a iPhone for the first time how can she get the same apps as I have for my iPhone and iPad by getting it off my iCloud?
She can't from iCloud without setting up your iCloud account on her phone. But just sync the same apps from your iTunes Library on your computer to her phone.
Your wife should setup her own iCloud account - which is separate to the iTunes Store accounts. -
I use a iphone and MacBook Pro using mail on each. How can I see the same mail boxes on the laptop that I see on the iPhone?
for starters this is not the forum for notebooks or for that matter icloud or iphone.
MacBook Pro
https://discussions.apple.com/community/notebooks/macbook_pro
https://discussions.apple.com/community/mac_os?view=discussions
http://www.apple.com/support/macbookpro
http://www.apple.com/support/iphone
Maybe you are looking for
-
Hi, i want to connect to 2 backends to test ESS BP functionality. The background is that i want to test functions for ERP 6.0 EhP3 and need to keep the old Webdynpro functionality. The old java webdynpro (ESS) is running on the portal side, the new A
-
Posting Loan to Vendor Employee
Dear Experts, We're in 4.7. We have a requirement where we need to keep track of loan payment of all our individual employees. Is it possible to post the loan payment in payroll individually to each and every corresponding vendor employees ? Any i
-
When downloading purchased music I get an Error ( -50 )
I tunes will try for a long periodof time to dowload the songs and it will sometimes give an error message about not being able to connect to the music store. the problem is that it just won't download these songs and I don't know how to fix it. I ha
-
JspIdConsumer cannot be resolved
I want to write a custom component. So I need to expand UIComponentELTag. It looks like this package jsf; import javax.faces.webapp.*; import javax.faces.component.*; import javax.faces.context.*; import javax.faces.application.*; import javax.el.*;
-
Not connecting but can see everything
I am running Windows Vista on a HP Laptop, Rogers cable internet with Cisco Linksys WRT31ON Router. Everything has been running perfectly for over 8 months and then suddenly yesterday my wireless connection stopped functioning. After a couple of a