Region across multiple column
I have a page with two columns. The regions can be allocated in two columns. For example:
Region1 Region2
Region3 Region4
Region5 Region6
I want the first region to be across two columns, like this:
Region 1
Region2 Region3
Region4 Region5
Region6 Region6
How could I do it? Because in APEX you have to specfy which column the region is going to be.
Tried use colspan="2" in HTML attribute, but it does'nt work.
Do one thing,
In the User Interface property of the region 1 select the Display Point as "Page template Body(1.....)"
and after that from Region 2 select Display Point as "Page template Body(2.....)"
and select the column(1 or 2) accordingly.
Thanks
Tauceef
Similar Messages
-
Same Region across Multiple Pages
Hi There!
Working on a requirement where I need same region across multiple pages.
One way (Hard way) to do it is , repeat the region in all the pages.
Is there any other way (smart way) so that I can write region once and reference it in other pages ? ? ?
Thanks
KrishnaYes, you can design this form on Page 0. Then this form will apply to every page.
-
Full text query across multiple columns
In the SQL Server, when you do the full text query, you can specify multiple columns, e.g.
FREETEXT ( { column_name | [b](column_list) | * } , 'freetext_string' [ , LANGUAGE language_term ] )
CONTAINS ( { column_name | [b](column_list) | * } , '< contains_search_condition>' [ , LANGUAGE language_term ])
Where,
column_list Indicates that several columns, separated by a comma, can be specified...
* Specifies that all columns in the table registered for full-text searching should be used to search for the given contains search condition. The columns in the CONTAINS clause must come from a single table...
That makes full text query cross multiple columns very convenient. Are there any mechnisms in Oracle to do the same thing?
Thanks in advance.Thanks for your reply.
I knew that you could build full text index for the multiple columns using Oracle Text. But that does not solve my problem, which is how to build the query to search multiple columns at once. Say, I have columns firstname, lastname, address, and email in the table customers. I want to get the results that ANY column contains 'bob'. In SQL Server, I can do
select * from customers where contains(*, 'bob')
that is. But for Oracle, I have to do
select * from customers where contains('firstname', 'bob') or contains('lastname', 'bob') or contains('address', 'bob') or contains('email', 'bob')
Can you imagine if I have many columns in many tables and I have to do the query against all columns in all tables? I have to dynamically get all the columns and then build the query string.
So, any better solutions? -
Html regions in multiple columns - how to do colspan?
Hello,
I'm sure this is a simple thing and I'm just missing it...
I have 3 columns with html regions
In the first column, first region (upper left, if you will), I have region data that should span all the way across the page (it's quite long), I added colspan="3" in the "Region HTML table cell attributes" but that's not doing it; col2 and col3 (top regions) are rendered way off to the right where region1/col1 ends, I want them to appear below that first region. I could probably use Region/Template Display Points to make that happen, but I was wondering if there was a simple way to make that top/left region "span" across all the remaining 2 columns.Hello Lee,
The easiest way to do that is choosing different display points.
For ex the first (which you want to span col 3) can be After Header, where the other two: Page Template Body.
Regards,
Dimitri
-- http://dgielis.blogspot.com/
-- http://apex-evangelists.com/
-- http://apexblogs.info/ -
Editable Regions Across Multiple Pages
Is it possible to create an editable region in a template
that when edited would update all the pages within a website? For
example, I am working on a website for a symphony. They want their
upcoming events listed on the sidebar of each page and want to
update this information frequently. But, they have over 50 pages.
Any suggestions?I'm afraid that will make a mess. The entire body contents
will be placed
in the right editable region....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"amadas" <[email protected]> wrote in
message
news:ea9i2c$i1t$[email protected]..
> Hi cbteel,
>
> I have a solution for you. Not sure if you are still
looking for?
>
> You should be having Dreamweaver to do this.
>
> Follow the steps below to create a new template:
>
> 1. Launch Dreamweaver
> 2. File->New->Template Page, Choose HTML Template,
click Ok
> 3. Insert->Table, 1 Row and 2 columns. Adjust the
size of the row and
> column accordingly so that you would see the first
coulmn to show the size
> of
> your upcoming events..
> 4. In Column1, click and Insert->Template
Objects->Editable Region,
> name it
> and click ok
> 5. In Column2, click and insert->template
objects->Editable Region,
> name it
> and click ok
> 6. Save the template (.dwt) file in your site.
> 7. Open all the 50 html pages in Dreamweaver and choose
one by one.
> 8. Modify->Template->Apply Template to this Page,
> 7. This will open up Mapping dialogue. Map the Body to
Right Site
> editable
> region as you want and save the html pages.
>
> Hope this helps.
>
> Thanks
> Arun (Contribute Team)
> -
How do I search for common values across multiple columns?
I am coordinating a schedule with 5 people across hundreds of dates, and have columns A-E filled with many rows of dates. How can I make a new column that displays all the dates (values) that each person (column) has in common with all the others?
Is there a simple formula for this?
thanks!Scarampella,
A second table can be used to find your matching dates.
Here's an example:
The formula in Matching Dates is:
=IF(ISERROR(MATCH(A,Table 1 :: A, 0)+MATCH(A,Table 1 :: B, 0)+MATCH(A,Table 1 :: C, 0)+MATCH(A,Table 1 :: D, 0)+MATCH(A,Table 1 :: E, 0)), "", A)
Basically, I look for matches in each person's list of dates, and if any fail to produce a match with the date being examined, the result is a miss, and if all match, it's a hit. You can sort the result to get a short list of matches without spaces.
Regards,
Jerry -
Calculations across multiple columns
I am a virgin to iOS Numbers on the iPad and need to prove it’s worth in work. I have a spreadsheet where I have to calculate the number of entries matching 3 criteria in a row:
by Date (Month),type of job (e.g. bathroom or kitchen) and against a score range of <=6
I have the data in aworksheet called Data! and the calculations are made in a separate worksheet,Calculations!
The formula I havebeen using in Excel is:
=SUMPRODUCT((Data!$A:$A=B220)*(Data!$E:$E<=6)*(Data!$L:$L=B219))
B220 is a cell containing the date I am looking for in Data! A:A (e.g. Jan, Feb)
Column E contains the value; I am looking for scores of 6 and less
B219 is a cell containing the type of work in text format to be looked for in Data! Column L
And this is spot on giving me a numeric value for example for all kitchen works in June with ascore of 6 or less.
In Numbers I have tried to transpose this:
=SUMPRODUCT((Data::Table1::A: =B220)*( Data::Table 1::E<=6)*( Data::Table 1::L=B219))
But it doesn’t work I have scoured the net and the on line help for iOS numbers is as useful as a chocolate fireguard. I even tried my local Apple store to no avail
Can anyone throw some light on the right direction I need to head in before I throw in the towel and get everyone on Roambi which works with the excel outputCAUTION, I'm not sure that COUNTIFS behave flawlessly in Numbers for iOS.
If I remember well it's one of the functions which failed in the document which I tried to make usable soon after the delivery of Numbers for iPad.
Yvan KOENIG (VALLAURIS, France) lundi 18 juillet 2011 23:21:22
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
Linking/Gluing Regions Across Multiple Tracks
I am editing a podcast in Logic Express (or at least trying to... as mostly a Garageband user, I am finding it a bit daunting). What I am looking for is a way to essentially link regions from two or more different tracks together (see http://img.skitch.com/20100514-8i6k1jmyhka8n637r6sw4918mw.jpg).
The end goal here is to tie a particular musical interlude to a specific moment in the vocal track so that when I move the vocal track around (or edit an earlier part that causes the track to shift left), the music that is on a different track moves along with it (keeping that individual arrangement in tact). Does that make sense?
Is this possible within Logic Express; or are regions on separate tracks forever independent of one another, and I'll have to keep them synced up manually?Maaaany possibilities.
1st: Simply select both regions. Grab&drag. As long as both regions are selected, they'll move together.
2nd: If you want to "glue" them together forever, simply select both regions and press + to combine them. A mixdown will be done (you will still have both separately in the bin), but they will end up in one track instead of two, so care if you have other plugins on the second track. In case of doubt, bounce in place first to get the FX into the file.
3rd, probably most convenient in your case: Select the regions and pack a folder (menu "regions" -> pack folder.) The folder can then be moved separately, but the regions will be triggered in their respective tracks, which you should leave as they are.
Try!
Fox -
Modifying datatype of columns across multiple tables
Hi,
I have a requirement where-in I have to modify the datatypes of columns across multiple tables. Is there any direct way to do this? I mean does oracle has any function or in-built functionality to achieve this.
Example;
Table1 -> col1 datatype needs to be changed to varchar2(10)
Table2 -> col2 datatype needs to be changed to varchar2(30)
Table3 -> col3 datatype needs to be changed to number.
and so on....
Do we have such functionality?
Thanks,
IshanHi Aman,
Seeing the replies, I think I was unclear in the requirements. But I guess you understood it fully, but still I would like to restate my question once again, just to be 100% sure.
What I actually want is that in one shot, I would be able to modify columns of multible tables.
eg, table1-> col1 changed to varchar2(20);
table2->col2 changed to varchar2(10)
table3-> col3 changed to number;
I know how to do it individually, but just wanted to check, if only one command can modify the datatypes of multiple tables/.
If not, I have already written half the script, but just for knowledge sake wanted to check if some feature is available in oracle for that.
Regards,
Ishan -
CURSOR across multiple Regions
Hello,
I have a page that I need to display around 300 fields with custom html mixed in. Instead of creating all the page items, I want to just creat a CURSOR and use htp.print. My problem is that its a LOT of code. I want to break it apart across multiple regions. Is their a way to OPEN a cursor so that multiple regions can use it?
Or, back to the PHP days, is their an ARRAY that this can be loaded into and printed like a cursor when needed?Is their a way to OPEN a cursor so that multiple regions can use it?You can have a process run before all regions to insert records into a collection(by a package call or PLSQL region).
Then refer to this collection in your regions(s)
<li>If you want to separte or split the content across, multiple "regions" , you cab generate them in the same PLSQL code that you posted.
For instance, you have a single PLSQL based region without any template which generate the HTML code that renders like multiple region.
In the Source, you can generate the HTML code for the region(s) in addition to printing out the data.
An Apex region normally consists of div or table elements given some styling using builtin classes(and matching the theme). So if you generate the same HTML, it would render the same as a region.You can copy the HTML content of any region template(or from the rendered page) and add that within the "htp.p" codes.
<li> A third option would be to generate the enclose different sections of your data in some identifiable HTML element and use Javascript to move them under the appropriate region.
Having said this, I have to agree with replies above,there could be a better way of displaying your data than generating the entire HTML yourself.Since you say about using a cursor, I guess multiple SQL reports regions would be a good starting point as they are used for displaying lots of records. You could tweak the look'n'feel with some kind of customized template, rather that redo the whole thing yourself. -
Concatenate a column value across multiple rows - PDW
We are using PDW based on SQL2014. We require an efficient logic on how to concatenate a column value across multiple rows. We have the following table
T1
(CompanyID, StateCD)
Having following rows:
1 NY
1 NJ
1 CT
2 MA
2 NJ
2 VA
3 FL
3 CA
We need a code snippet which will return following result set:
1
CT,NJ,NY
2
MA,NJ,VA
3
CA,FL
We have tried built-in function STUFF with FOR XML PATH clause and it is not supported in PDW. So, we need a fast alternative.Hi Try this:
SELECT * INTO #ABC
FROM
SELECT 1 AS ID,'NY' AS NAME
UNION
SELECT 1 AS ID,'NJ' AS NAME
UNION
SELECT 1 AS ID,'CT' AS NAME
UNION
SELECT 2 AS ID,'MA' AS NAME
UNION
SELECT 2 AS ID,'NJ' AS NAME
UNION
SELECT 2 AS ID,'VA' AS NAME
UNION
SELECT 3 AS ID,'FL' AS NAME
UNION
SELECT 3 AS ID,'CA' AS NAME
)A
CREATE TABLE ##CDB (ID INT, NAME NVARCHAR(800))
DECLARE @TMP VARCHAR(MAX),
@V_MIN INT,
@V_MAX INT,
@V_COUNT INT
SELECT @V_MIN=MIN(ID),@V_MAX=MAX(ID) FROM #ABC
SET @V_COUNT=@V_MIN
WHILE @V_COUNT<=@V_MAX
BEGIN
SET @TMP = '' SELECT @TMP = @TMP + CONVERT(VARCHAR,NAME) + ', ' FROM #ABC
WHERE ID=@V_COUNT
INSERT INTO ##CDB (ID, NAME) SELECT @V_COUNT AS ID ,CAST(SUBSTRING(@TMP, 0, LEN(@TMP)) AS VARCHAR(8000)) AS NAME
SET @V_COUNT=@V_COUNT+1
END
SELECT * FROM ##CDB
OR
SELECT * INTO #ABC
FROM
SELECT 1 AS ID,'NY' AS NAME
UNION
SELECT 1 AS ID,'NJ' AS NAME
UNION
SELECT 1 AS ID,'CT' AS NAME
UNION
SELECT 2 AS ID,'MA' AS NAME
UNION
SELECT 2 AS ID,'NJ' AS NAME
UNION
SELECT 2 AS ID,'VA' AS NAME
UNION
SELECT 3 AS ID,'FL' AS NAME
UNION
SELECT 3 AS ID,'CA' AS NAME
UNION
SELECT 5 AS ID,'LG' AS NAME
UNION
SELECT 5 AS ID,'AP' AS NAME
)A
CREATE TABLE ##CDB (ID INT, NAME NVARCHAR(800))
DECLARE @TMP VARCHAR(MAX),
@V_MIN INT,
@V_MAX INT,
@V_COUNT INT
SELECT @V_MIN=MIN(ID),@V_MAX=MAX(ID) FROM #ABC
SET @V_COUNT=@V_MIN
WHILE @V_COUNT<=@V_MAX
BEGIN
SET @TMP = '' SELECT @TMP = @TMP + CONVERT(VARCHAR,NAME) + ', ' FROM #ABC
WHERE ID=@V_COUNT
SELECT @V_COUNT AS ID ,CAST(SUBSTRING(@TMP, 0, LEN(@TMP)) AS VARCHAR(8000)) AS NAME INTO #TEMP
INSERT INTO ##CDB (ID, NAME) SELECT ID, NAME FROM #TEMP WHERE NAME<>''
DROP TABLE #TEMP
SET @V_COUNT=@V_COUNT+1
END
SELECT * FROM ##CDB
Thanks Shiven:) If Answer is Helpful, Please Vote -
Spreading a single form across multiple pages
I'd like to implement a single record form that spreads it's items across multiple pages for the purpose of grouping related information on each page such as "Contact Details"," Education Profile" etc. There are way too many columns for a single page.
In Oracle forms you can create a form across multiple canvases or on different tabs of a tabbed canvas. Each item has a property to position it on which canvas.
Is this possible in ApEx? I can see that transaction processing could be complex.
How do I avoid, for example, inserting the record a second time if I commit from a different page?
Any comments appreciated.
Paul PAnother way to do this without javascript and ajax that works pretty well is to setup a list that represents the logical "sections" and display it as a sidebar list.
Create a hidden item on the page called PX_ACTIVE_SECTION and set the visibility of each region on the page based on the value of this item. For example: :PX_ACTIVE_SECTION = 'Contact Details'. You can also have multiple regions associated with a single tab. Set the default value to whatever section you wish to display first.
Next, set each list item to be "current" when :PX_ACTIVE_SECTION is equal to that item ('Contact Details', 'Education Profile', etc.). Also set the URL destination of each item to: javascript:doSubmit('section name');
Finally, add a branch back to the current page that sets PX_ACTIVE_SECTION to &REQUEST.. This traps the doSubmit call so you can set the hidden item. (Add a condition, if needed, to prevent this branch from executing due to other buttons and requests).
The result is that the user can switch freely between sections and save after all data is entered. The page does refresh (since it doesn't use AJAX), but if your regions aren't too big, it should be reasonable. -
APEX Interactive Report - sum multiple columns table1 X with table2 value
I have a challenge in oracle apex, were i want to sum multiple columns to give 3 extra rows namely points, Score, %score. There are more columns but chose only few for now.
Below is an example structure of my data:
Town | Sector | Outside| Inside |Available|Price
Roy-----Formal----0----------0----------1------0
Kobus Formal--0 ---------0--------- 1------0
Wika ---Formal----0----------0--------- 1------0
Mevo----Formal----1----------1---------1------0
Hoch----Formal----1----------1---------1-------1
Points--------------2----------2----------5-------1
Score-------------10---------10---------10------10
%score-----------20---------20---------50------10
Each column has a constant weighting (which serves as a factor and it can change depending on the areas) in this case the weighting for this areas are the ones in the first row for the sector Formal:
Sector |Outside| Inside |Available|Price
Formal----1----------1 ----------1-----1
Informal--1----------0 ----------2-----1
I tried using the aggregate sum function in apex but it wont work since i need the factor in the other table. Which is where my challenge started
To compute the rows below the report:
points = sum per column * weighting factor per column
Score = sum of no of shops visited (in this case its 5) * weighting factor per column
% score = points/Score * 100
The report should display as described above. With the new computed rows below.
I kindly ask anyone to assist me with this challenge as i tried searchin on the internet for solutions but havent come across any.
Thanks a lot for your support in advance!!>
Please update your forum profile with a real handle instead of "823433".
I have a challenge in oracle apex, were i want to sum multiple columns to give 3 extra rows namely points, Score, %score. There are more columns but chose only few for now.
Below is an example structure of my data: Use <tt>\...\</tt> tags as described in the FAQ when posting code and sample data and layouts. Please edit the OP and reformat the example using <tt>\...\</tt> tags so it's clear.
Town | Sector | Outside| Inside |Available|Price
Roy-----Formal----0----------0----------1------0
Kobus --Formal----0 ---------0--------- 1------0
Wika ---Formal----0----------0--------- 1------0
Mevo----Formal----1----------1---------1------0
Hoch----Formal----1----------1---------1-------1
Points--------------2----------2----------5-------1
Score-------------10---------10---------10------10
%score-----------20---------20---------50------10Each column has a constant weighting (which serves as a factor and it can change depending on the areas) in this case the weighting for this areas are the ones in the first row for the sector Formal:
Sector |Outside| Inside |Available|Price
Formal----1----------1 ----------1-----1
Informal--1----------0 ----------2-----1I tried using the aggregate sum function in apex but it wont work since i need the factor in the other table. Which is where my challenge started
To compute the rows below the report:
points = sum per column * weighting factor per column
Score = sum of no of shops visited (in this case its 5) * weighting factor per column
% score = points/Score * 100
The report should display as described above. With the new computed rows below.
I kindly ask anyone to assist me with this challenge as i tried searchin on the internet for solutions but havent come across any.How critical to the solution is using an interactive report? It would be much easier to do this in a standard report where you've complete control over the query SQL and the report structure.
When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand. -
Crystal Report multiple columns
I'm having trouble with Crystal Report's multiple columns in the detail section.
The details section, the multiple columns is checked then the printing direction is across - down. Since the form I am using is a pre-printed form, by estimation it can only allow at best 30 records in one page, that is 15 in the 1st half of the column and another 15 records on the next. For visual:
Invoice No Invoice Date invoice total Invoice No Invoice Date invoice total
1 16
2 17
3 .
. 28
14 29
15 30
For some reason there is this giant space after the last set of rows before it prints out the page footer. This giant blank section disrupts the layout of the page footer section.
Here are some info on the details section as configuration is involved:
Format with Multiple Columns - checked
In Paging: New Page after 30 visible Records
In Layout: Width: 3.5 in Height: 0.0 in
Horizontal: 0.0 in Vertical: 0.0 in
Printing Direction: Across-Down
Anyone knows how to suppress it or have the page footer move upwards?
P.S To see actual pre-printed form, please download this [http://www.mediafire.com/i/?csu0q75mjynys2k]
Edited by: Khristine Angelei Basilla on Mar 1, 2012 8:34 AMNow why didn't I try that out. Actually, initial plan was 2 subreports.
So when I added the second subreport in the group footer section, it only prints the details on the last page, which should not be the case as I need to be printed on all pages.
I'll test it out. I'll post an update soon.
Thanks. -
Format on multiple columns issue ...
Post Author: needhelptoo
CA Forum: Formula
I'm having issues with the way the data is displaying.I am using the Format Multiple Columns.I have 3 across set.I have the Down and Across checked.My report with the 3 columns is a custom labels sheet.I need to have the down part always be 8 columns.i can't set that anywhere like the 3 columns across.as the sheet used to print the info are labels and perforated for each label (column)I have the following:1.
Group Header #1 on InvoiceNumber. This have my invoice header
information related to the customer of the invoice. Keep Together
selected.2. Group Header #2 on a formula {@sort}. This is suppressed and as a {@reset} formula in it.3. Details section has {@accum} and section suppressed. Keep Together selected.4. Group Footer #2 as the {@display} formula with Paragraph Formatting. Keep Together selected.5. Group Footer #1 on InvoiceNumber has add'l customer related info for the invoice.so 5 sections in my design view with 2 groups.It'll display the information in InvoiceNumber order in ascending order down first.But the last one on the 1st column is only part of the invoice info and the rest of it starts from the top of the 2nd column.and
then shifts all the columns according to that. Which of course then
does not print on the allotted space of the actual label. part of info
is on one and the rest on another.obviously this won't work. I think i tried everything I can think of and I'm not expert. Barely a novice at this.any help would be appreciated!Post Author: V361
CA Forum: Formula
In the layout tab, have you tried the Gap between details ?, you should be able to produce a "mailing label type" report using detail size and gap between details...
Maybe you are looking for
-
Function module to hold and release lock on MARD table entry
Hi Gurus, Can you please tell me Function module to HOLD lock on MARD table and the Function Module to release lock on MARD table entry. Thanks and Regards, Sudipto
-
Can someone pleas tell me about abap, java and xslt mappings
Hi, can someone please tell me about abap, java and xslt mappings. Thanks, Bernard.
-
Access files stored in Time Capsule via iCloud
how to access files stored in Time Capsule via iCloud
-
CS6 crashes with runtime error on program start up
I installed CS6 with no problems but I have had to uninstall it because every time I open the program I get this message: It is impossible to clear this message and I have to reboot to remove it. Hard and software: Asus P8Z68 Deluxe/GEN3; 2700K; 1
-
i would like to know how much time is needed to send a packet of 12 octets with the TCP IP protocol through a Socket. Can you explain me how you know that and where can i found more information? thanx thanx