Can i create a duplicatable table that will respond to modifications?

I generally create a table and copy and paste that table in several different sheets.  sometimes i need to add rows or columns.  Is there a way that when i add rows and columns to the table in the master sheet that it will automatically add them in the tables on the other sheets without having to go into each sheet and manually add them to each table?

Hi Dalan,
You can't increase the size of tables using a formula, but you can start with a set of oversize destination tables, and modify the formulas to return a specific result in event of an error (such as would be caused by cells in the 'extra' rows referencing non-existant cells in the main table.
These rows could be automatically hidden until they had content in a specific column.
Here's an example. The Main table is on the left, one of the 'satellites' is on the right.
Here, no adjustent has been made for the rows of the satellite beyond the number of rows in the Main;
extra rows throw error messages, indicated by the red triangles:
Formulas: Main, column D:
D2: =IF(LEN(A2&B2&C2)>0,1,"")
Fill down.
Sat 1:
A1: =Main::A1
Fill down, Fill right
Below, the selected table is a copy of the first 'satellite' table. No change in the formulas. The only change is the addition of a Reorganize rule, shown below the table:
As more rows are added to Main (and more rows of that table are filled with date), the satellite table(s) will 'grow', showing mirrors of all the rows on Main containing data:
The growth will stop when the number of filled rows in Main exceeds the number of rows available in Sat 2.
Late thought: As I was writing this, I realized that column D on Main is not necessary, and may be deleted. With a minor change to the formulas in columns A, B ad C, the calculatons can be as easily done on the satellite tables themselves, using the same formula in column D as was used above in column D of Main.
Sat 1::A1: =IF(LEN(MAIN::A1)>0,MAIN::A1,"")
Fill right to C1, Fill Down to last row of the table (Sat 1).
Sat 1::D2: =IF(LEN(A2&B2&C2)>0,1,"")
Fill down to end of table.
Regards,
Barry

Similar Messages

  • PL/SQL to create a temp table that will be dropped after session ends

    Is it possible in PL/SQL to create a temp table that will be dropped after the session ends? Please provide example if possible. I can create a global temp table in PL/SQL but I am not sure how (if possible) to have it 'drop' once the session ends.
    DB: 10g
    OS: Wiindoze 2003 Server
    :-)

    As others have mentioned (but probably not clearly explained), Oracle treats temporary tables differently to SQL Server.
    In SQL Server you create a temporary table and it gets dropped (automatically I assume, I dont do SQL Server) after the session finishes. This will obviously allow each session to "request" a temporary table to use, then use it, and not have to worry about cleaning up the database after the session has finished.
    Oracle takes a different approach...
    On the assumption that each session is likely to be creating a temporary table for the same purposes, with the same structure, Oracle let's you create a Global Temporary Table a.k.a. GTT (which you've already come across). You only have to create this table once and you leave it on the database. This then means that any code written to use that table doesn't have to be dynamic code and can be verified and checked at compile time, just like code written for any other table. The difference of a GTT from a regular table is that any data you put into that table can only be seen by that session and will not interfere with any data of other sessions and, when you either commit, or end the session (depending on the "on commit delete rows" or "on commit preserve rows" option used when creating the GTT), that data from your own session will automatically be removed and hence the table is cleaned up that way, whilst the actual table itself remains.
    Some people from SQL Server backgrounds try and create and drop tables dynamically in their PL/SQL code, but this leads to problems...
    SQL> ed
    Wrote file afiedt.buf
      1  begin
      2    execute immediate 'create table my_temp (x number)';
      3    insert into my_temp values (1);
      4    execute immediate 'drop table my_temp';
      5* end;
    SQL> /
      insert into my_temp values (1);
    ERROR at line 3:
    ORA-06550: line 3, column 15:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 3, column 3:
    PL/SQL: SQL Statement ignoredi.e. the code will not compile for direct DML statements trying to use that table.
    They then try and get around this issue by making their DML statements dynamic too...
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace procedure my_proc is
      2  begin
      3    execute immediate 'create table my_temp (x number)';
      4    execute immediate 'insert into my_temp values (''A'')';
      5    execute immediate 'drop table my_temp';
      6* end;
    SQL> /
    Procedure created.... which looks great and it compiles ok... but... when they try and run it...
    SQL> exec my_proc;
    BEGIN my_proc; END;
    ERROR at line 1:
    ORA-01722: invalid number
    ORA-06512: at "SCOTT.MY_PROC", line 4
    ORA-06512: at line 1... oops the code has a bug in it. Our DML statement was invalid.
    This is really something that would have been caught at compile time, if the statement had been a direct DML statement rather than dynamic. And thus we see the problem with people trying to write all their code as dynamic SQL... it's more likely to contain bugs that won't be detected at compile time and only come to light at run time... sometimes only under certain conditions and sometimes once it's got into a production environment. Bad Idea!!!! ;)
    Far better to never create tables (or most other database objects) at run time. Just create them once as part of the database design/implementation and use them as required, allowing you to catch the most common coding errors up front before they get anywhere near a test environment or worse still, a production environment.

  • How can I create a simple app that will automatically add folder script

    Hi! I hope I can get a little help on this.  I tried searching online and haven't found anything.
    Is there away I can make a simple "application" that will automatically add a folder script to a users folder?
    Basically I need a folder script to run but I don't want to explaint o a user how they'd have to do it in automator.
    I'd like to be able to create an application they double click.  The app tells them to select a folder then automatically runs the script.
    Does anyone have any ideas of how'd I'd do this?

    Oh I get it. Yeah I read you post on one of the other pages and didn't quite understand, but not that you say that your're makeing this for another user, it makes sence.
    So what you want to do is have the computer automatically install a script on a customer's computer, right?
    (I'm using "custumer" loosly; i.e. just another user)
    If that's what you'd like to do, then you'll probably have to write an actual program in Xcode, since I imagine automiticlly installing folder action scrips will be highly discuraged by Apple because it would cause a huge security hole in the OS. (You wouldn't want some random person sending you a folder action installer disgused as a regular app LOL.)
    But I will actually suggest the following, which I think will work great for your users:
    Make a regular Automator app, and drag it to your Dock. Now, have the user click and drag a bunch of photos to the application icon, and it will run the app automatically on those files.
    You could try a work flow like this:
    ask the user Are you sure?
    convert pictures
    save pictures to ConvertedPics folder
    pop up a confirmation message saying that everything was resized
    Hope this helps

  • How can I create a phase shift that will cause cross-cancellation?

    I recently recorded something using a USB audio input, and after it was done realized that a cellular device had interfered with the signal and I have a terrible hiss, some clicks, cell noise, etc. in the recording. Setting a noise print and running "Reduce Noise" did more to help this file than I ever would have thought possible (thank you Apple!!), but I think I might be able to do even better.
    The left channel has the audio I need, plus all the noise. The right channel has ONLY THE NOISE! Can anyone think of a way that I can use this right channel to create a cross-cancellation of the noise in the left channel? Theoretically, this should create a perfect (or close enough to it for me) file, should it not?
    The phase shifter doesn't seem to have what I would need to do this, but I'm sure some audio genius out there can think of a way I can either do this manually or with a filter or effect.
    Thanks for any suggestions!

    Hi Glen,
    IF you were to take two +identical signals+, sum them in equal amounts and flip the phase on one of them 180º to the other you will get +complete cancellation+.
    According to the manual on page 221 the Process>Invert will do this.
    Invert
    +Choosing this command inverts the phase of each sample in the audio file or selection.+
    +Each sample’s amplitude is unchanged, but the phase is inverted. In the waveform+
    +display, the wave’s crests become troughs and vice versa.+
    IF your R channel is the exact same noise as the noise in your L Channel then this technique could work for you.
    You can test this out with any track -> put a copy of it on another track and Invert, they resulting playback will be total silence.

  • Can I create a template and that will allow me to add a region when i use i

    Is it possible to create a template that will allow me to add a region when i use the template on my pages? I have a region that allows the user to create content in the region, but now i would like to have another region next to it.
    thanks
    Angie

    You cannot add regions on a page that uses a portal template.

  • How can I creat a control button that will allow the vi to run?

    Instead of pressing the run button, I want to creat my own run button that will allow my vi to run.
    Any idea?
    Thank you

    First you need to set the VI to Run When Opened (VI Properties>Execution). Then you create a front panel Boolean. On the diagram what you need to do is have some sort of idle state where nothing is done until the Boolean is pressed. It could be a separate while loop that doesn't exit until the Boolean is pressed, an Event Structure, or as part of a state machine. Look at the shippings examples Queued Message Handler, New Event Handler, Using Buttons for Options to name just a few.

  • How can I create a jar file that will run automatically on double click

    all the jars I created run only from the command-line.
    how can I make it run by double-click on it?

    First you will need to associate .jar files with the javaw.exe program in order to just be able to double click on the jar and run it from within a windows explorer application. Next you will need to set the main class attribute of the manifest file. My understanding is that the value of this attribute is used by the launcher to know which class to load. In other words, which is your main application class. To specify this attribute open your manifest file in a text editor. You will find this file located within the jar at META-INF/MANIFEST.MF. Then, add the line,
    "Main-Class:<relative path to the main class>" However, remember not to add the .class extension to the end of the class name.
    In Windows 2000 you can associate jar files with javaw by finding a jar file in Windows Explorer and right clicking it. This will give you a context menu which should have an Open With... option (if you are not using Windows 2000 and don't see the 'open with' menu item, try holding down the shift button while right click on the file). Select the Open With... option, then, when the dialog appears highlight javaw and select the "Always use this program to open these files" checkbox. When you hit the OK button you should have all your jar files associated with the javaw process.
    Once you've done this, you should be able to double click on your jar file and run your application.
    Regards,
    Daniel Walsh

  • Can I create a pop-up that will explain to users that they are leaving the site and a continue button?

    I'm creating banking websites, and under certain regulations we need to explain to users when they click on a link that they are leaving the site.  Similar to the links on this page: http://jonahbank.com/default.aspx?v=5880212e-f356-4503-87b8-d4ef3c43b008
    Is there a way to do this?  Can I use code?  Any suggestions would be appreciated!
    April

    Unless that is if it is just external links that you need to warn them about then I would use the tooltip widget to use the link to open the tooltip and then in the tooltip contain the link to the external site.

  • Can you create an image map that will link to a different element on the same page?

    I have used image maps before and know how to create an image map to link to a new page.  In this case, however, I want to be able to click on my image using an image map and load a new image with text on the same page as the image map.  Is this even possible?  Is there some sort of behavior that allows you to create same-page links, perhaps using AP divs?  I want the end result to be a type of gallery that loads different images depending on where you click on the main image.
    Again, I don't even know if this is possible.  Any suggestions on how to make this work would be greatly appreciated.
    Thank you!

    Go to this site and mouse over the image map of South America.
    http://alt-web.com/testing.html
    Is that what you are looking for?
    Insofar as linking to a position on the same page, do a Help search (F1) in DW for "named anchors."
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Can I create an automator event that will login a user to a computer at a prescribed time?

    Perhaps a stupid question, but is it possible to create an Automator iCal event to log a specific user into a specific computer at the same time each day?
    Thanks!

    Kglad gives a lot of relevant information but I think the problem is you are using the wrong operator.
    if (key = false){
    gotoAndPlay ("Scene 1", 1);
    should be
    if (key == false){
    gotoAndPlay ("Scene 1", 1);
    because using '=' is an assignment basically putting 'false' into the key variable, whereas '==' is an equality operator.
    So for example if 'false' was the value inside 'key' and this was equal to the right side of the operator it would do the if statement ( it is basically going; if false is equal to false then gotoAndPlay... unless key was 'true' in which case it would skip the if statement.

  • Can I create a Stored Procedure That access data from tables of another servers?

    I'm developing a procedure and within it I'm trying to access another server and make a select into a table that belongs to this another server. When I compile this procedure I have this error message: " PLS-00904: insufficient privilege to access object BC.CADPAP", where BC.CADPAP is the problematic table.
    How can I use more than one connection into an Oracle Stored Procedure?
    How I can access tables of a server from a Stored Procedure since the moment I'm already connected with another server?
    Can I create a Stored Procedure That access data from tables of another servers?

    You need to have a Database Link between two servers. Then you could do execute that statement without any problem. Try to create a database link with the help of
    CREATE DATABASE LINK command. Refer Document for further details

  • How to make table that will include controls such as drop list?

    How to make table that will include controls such as drop list?
    I need to create table as Property Browser of ActiveX, that include rows with differnt types such as drop list, color, ...

    Hi Nadav,
    I figured out where I missed your point. When you wrote
    table as Property Browser of ActiveX, that include rows with differnt types such as drop list, color, ...
    I was thinking mixed data-types in a [2d] table!
    Looking at the property browser again it looks like no single LV function can do all of that. It can be developed as a pop-up (like the browser is set-up) and then code all of the elegance using an event structure to control the background color of a string indicator while controling the visability of rings that are only made visable when a mouse down is detected. That will get you pretty close.
    So no, my previous response ws not correct for what you are trying to do if you want to duplicate all of the wistles and bells of the property browser pop-up window.
    Please forgive my distraction.
    Ben 
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Can I create a PDF document that can be commented on by others using READER

    I have dozens (hundreds?) of PDF Books that I've purchased. Whoever created them made them so anyone using Adobe Reader 5 or better can make highlights and comments on the text.  I use the feature to correct typos and send them back to the publisher. I know it can be done because I've been doing it for a few years before I ever got Adobe Standard.
    So . . . My question is . . . How can I create documents like this that can be commented on using Adobe Reader? I have Adobe Standard 8 and I don't see this as a separate feature of Adobe Pro. and I'm hoping that I'm just missing the instructions on how it's done. I do not have any problem doing what I want using Adobe Standard 8 but I need to be able to make it doable in Reader so others can make comments in my documents.
    Thanks for taking the time . . .
    thehapster

    "Enable Usage Rights in Adobe Reader" or "Extend Features in Adobe Reader"
    are available with Acrobat 8 Professional / 3D version 8 or Acrobat Professional / Pro Extended respectively.
    Additionally, Adobe provides a server based service (LiveCycle ES) that "enables/extends" a PDF such that Adobe Reader can  be used for Comment, Review, Digital Signature, etc.
    That you can use Adobe Reader to comment on PDFs means one of the above applications were used.
    Because you have mentioned the PDFs are purchased PDF Books I suspect that LiveCycle ES was used.
    This server based application (which has a myriad of "modules" available) is expensive so, typically, it is licensed by enterprises that need its functionality. Examples: the large publishing houses or governmental agencies (e.g., IRS).
    If you move up to Acrobat Professional you will be able to "Extend Features in Adobe Reader" such that others can perform Comment & Review on your PDF documents.
    As Acrobat 9.x is the current, marketed release the Professional version would be available to you via an upgrade (not to be confused with the free "updates").
    Be well...

  • How to find out the tables that will be affected using a transaction

    Hi,
    How to find out the list of database tables that will be affected when we use a standard transaction(ex. VA01, MM01..)...?(like When we create a salesorder, which tables and which fields will be affected..?)
    Is there any transaction or a simple way to find out the solution?
    Thanks,
    Pradeep.

    Hi,
    Give transaction code and in menu(system- status),  double click onthe Program name.
    Check in TOP INCLUDE - you will find all the tables related to that transaction.
    Thanks,
    Anitha

  • I updated to Lion OS10.7.5 and I have duplicate contacts that will not merge.  How do I fix this?

    I updated to Lion OS10.7.5 and I have duplicate contacts that will not merge. The duplicates were created when I synced my phone (which I have done a hundred times!) How do I fix this?

    Try the 10.7.5 supplemental update.
    http://support.apple.com/kb/DL1599

Maybe you are looking for

  • HTTP reciever adapter pass URL parameters

    Hello all, I have a question regarding passing parameters as querystring in the url of reiever HTTP adapter. This is an RFC> XI> HTTP scenario and we're posting to an external URL. Here are the details URL: xxxx.yyyyy.com Service Number: 80 Path: /ap

  • Pop up error message if duplica or other error

    I have some insert action, I would like to have errormesage pop up if replicate or other error , pop up an error message Local record &REC; &REC = CreateRecord(RECORD.MYRECORD); &REC.KEYF1.Value = "A"; &REC.KEYF2.Value = "B"; &REC.MYRF3.Value = "X";

  • Is my hard drive fried?

    I tried to install windows via bootcamp and it appears that my entire hard drive was destroyed. In disk utility, my hard drive shows up as media and it has zero bytes. sh-3.2# fdisk /dev/disk0 Disk: /dev/disk0 geometry: 0/4/63 [0 sectors] Signature:

  • My iMac sometimes doesnt turn on

    sometimes I can't turn my iMac on. I press the power button and nothing happens. I try over and over and nothing occurs. Then I can change to a different port on the power strip and itll turn on (???) Why does this happen? This is a brand new compute

  • System CPU usage too high

    Hi, i've been trying to troubleshoot this problem for some months.. everytime i try to use perfmon or another program to watch for network usage (download and upload) the System process spikes to 13%~ constantly until i close it.. I could "live" with