Need help with displaying content on multiple pages
Hi I'm kind of a dreamweaver newbie and i'm a little in over
my head. I'm trying to design a web site with the same content
appearing on multiple pages. Here's the current site...
http://home.comcast.net/~gascec/cecnh20/index.html
I'm trying to establish the top bar and side bars of links
and the logo on each page from one point so i don't have to change
forty pages if i update a link.
I know there's a way to do this and i thought it was using a
CSS page but i can't figure it out and i'm running out of time.
Help
Got it. Thank you. I'm having one other problem though. I
keep getting this bizare message every time i save or try to use
the template:
The is an error at line 41 column 7 (absolute position 2486)
of "~pathandfilename.dwt": Nested editable regions
The only thing at line 41 is the <body> tag. I took all
the formating out to try to trim this out... any thoughts about
this one.
Thanks G
Similar Messages
-
I have a "Contact" organization issue I need help with. I organize multiple customers under their account affiliation. I place the people with their contact info under each account name by their dept/role in the notes section of their account. I am looking to be able to directly dial / email from this info in yet notes section located within a contact. On Blackberry, the notes area entered in a contact can connect directly but on the iPhone those numbers/emails are inactive. I am trying to avoid having to create each of these individuals as a separate contact and keep them under their account affiliation. It is easier to find them. This does not seem like that complicated of a request and hoping someone can tell me how or share an app that will enable the "notes" within a contact be "active". Hope this makes sense.
I seem to recall that this question has been asked before and I'm pretty sure that the answer is that you can't do what you want to do with the native contact app. However, there are lots of contact apps out there that pull from the built app's data but have other features. Perhaps one of them would meet your needs.
-
Hi guys need Help with Displaying Splash Screen?!!?
Hi Guys.
Sorry for the last incomplete post my mistake!
I need help displaying a splash screen as an advertisment or something before i have my main application run.
Here is the code i wrote (it works as if it were a seperate application)
package MajourProject;
import java.awt.AWTException;
import java.awt.Dimension;
import java.awt.Robot;
import java.awt.Toolkit;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JProgressBar;
import javax.swing.JScrollPane;
import javax.swing.JWindow;
* @author Matt
public class SplashScreen extends JWindow
public SplashScreen()
int UpTime = 20000;
Start(UpTime);
public void Start(int UpTime)
ImageIcon ii = new ImageIcon("src/1.jpg");
JScrollPane jsp = new JScrollPane(new JLabel(ii));
JProgressBar Bar = new JProgressBar();
getContentPane().add(jsp);
setSize(853,303);
centerScreen();
setVisible(true);
try
Thread.sleep(20000);
dispose();
catch(Exception IE)
private void centerScreen()
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
int x = (int) ((d.getWidth() - getWidth()) / 2);
int y = (int) ((d.getHeight() - getHeight()) / 2);
setLocation(x, (y-100));
public static void main(String [] args)
new SplashScreen();
}but i now have a problem as i already have a main application done as i wrote this seperately. I now need to combine the two together. So what i did was in my Main Application wrote:
Splash_Screen SS = new Splash_Screen();it then runs my Splash Screen class which i re-wrote to look as such:
package MajourProject;
import java.awt.AWTException;
import java.awt.Dimension;
import java.awt.Robot;
import java.awt.Toolkit;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JProgressBar;
import javax.swing.JScrollPane;
import javax.swing.JWindow;
* @author Matt
public class SplashScreen extends JWindow
public SplashScreen()
int time = 15000;
Start(time);
public void Start(int UpTime)
ImageIcon ii = new ImageIcon("src/1.jpg");
JScrollPane jsp = new JScrollPane(new JLabel(ii));
JProgressBar Bar = new JProgressBar();
getContentPane().add(jsp);
setSize(853,303);
centerScreen();
setVisible(true);
try
Thread.sleep(20000);
dispose();
catch(Exception IE)
private void centerScreen()
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
int x = (int) ((d.getWidth() - getWidth()) / 2);
int y = (int) ((d.getHeight() - getHeight()) / 2);
setLocation(x, (y-100));
}it obviously runs the default constructor which then runs the other methods in the class but it doesn't seem to show can anybody help me to find out whats wrong? It seems to be there just before the main application launches but only for a split second. And when i am waiting while the thread is sleeping the area i have defined the Content pane for he cursor goes to the loading icon! I don't know if this makes any sence to you but if you can help me it would be most apreciated.
Thanks.SpearOne wrote:
Hi Encephalopathic
why would it work if i put it in it's own application surely it wouldn't be caused by this thread.sleep?? everything after it is in fact put to sleep. In its "own" application, nothing happens after it is displayed.
if it is the problem then could you please give me some code to add quickly to test??
import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JProgressBar;
import javax.swing.JScrollPane;
import javax.swing.JWindow;
import javax.swing.Timer;
public class SplashScreen extends JWindow
private static final String IMAGE_PATH = "src/1.jpg";
private static final int UP_TIME = 15000;
public SplashScreen()
Start();
public void Start()
ImageIcon ii = new ImageIcon(IMAGE_PATH);
JScrollPane jsp = new JScrollPane(new JLabel(ii));
//JProgressBar Bar = new JProgressBar();
getContentPane().add(jsp);
setSize(853, 303);
centerScreen();
private void centerScreen()
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
int x = (int) ((d.getWidth() - getWidth()) / 2);
int y = (int) ((d.getHeight() - getHeight()) / 2);
setLocation(x, (y - 100));
public static void main(String[] args)
final JFrame frame = new JFrame("Main Frame");
frame.setPreferredSize(new Dimension(300, 200));
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.pack();
frame.setLocationRelativeTo(null);
final SplashScreen splash = new SplashScreen();
splash.setVisible(true);
Timer swingTimer = new Timer(UP_TIME, new ActionListener()
public void actionPerformed(ActionEvent e)
splash.dispose();
frame.setVisible(true);
swingTimer.setRepeats(false);
swingTimer.start();
} -
Help with header field on multiple pages
I am trying to print three multiple page documents. The first document in the dat file has data in a header comment field. The last two documents in the dat file do not have data for the header comment field. On the form I have defined this comment field as global. When I print the documents the first document comment is being printed on the last two documents that should not have comments.
If I remove the global condition for the comment field, then the comment is only printed on the first page of the first multiple page document. Is it possible to print the comment on each page of the first multiple page document and not print the comment on the documents that should not have a comment? Thanks for any help.Got it. Thank you. I'm having one other problem though. I
keep getting this bizare message every time i save or try to use
the template:
The is an error at line 41 column 7 (absolute position 2486)
of "~pathandfilename.dwt": Nested editable regions
The only thing at line 41 is the <body> tag. I took all
the formating out to try to trim this out... any thoughts about
this one.
Thanks G -
Need help with JSF table and scrollable pages
I need help regarding usage of <t:dataTable>
I have a List on my managed bean. It has 50 records.
I am displaying the first 10 records and need to implement paging.
I hear that there is a faces taglibrary called tomahawk which provides a <t:dataTable> and a <t:dataScroller> to implement scrolling.
Is there a sample implentation that I can take a look at to see how I can solve my problem??
Any help is highly appreciated.
Thanks
AmolCheck here: http://www.irian.at/myfaces/dataScroller.jsf;jsessionid=F3F50A51583FEEF38D968A4AF5DC949C
-
Need help to display content in a KM folder
I need to develop a component which will accept a KM folder name as an input field from UI (for eg : \documents\folder1) and will display all the subfolders and files inside that KM folder along with its details. Need info on how i can implement this and if anyone has already done something similar please help.
Regards
Shabeer
Edited by: Mohammed Shabeer on Mar 18, 2009 5:31 AMHi
You can achieve this using KM API's.
Assuming your folder location is /documents/xxx. chekc the sample code below.
IUser user = request.getUser(); //You can use cmadmin service as alternate option//
String location = "/documents/xxx";
IResourceContext resourceContext = new ResourceContext(user);
RID rid = RID.getRID(location);
IResource resource = ResourceFactory.getInstance().getResource(rid,resourceContext);
ICollection collection = (ICollection) resource;
IResourceList resourceList = collection.getChildren(); //Gives list of files and folders inside the KM location//
for(int i=0;i<resourceList.size();i++) {
IResource res = resourceList.get(i);
//Get the required info from the resource object and display
For further details, check the link below
http://help.sap.com/javadocs/NW04S/current/km/index.html
Regards,
Yoga -
AT300 - need help with display brightness
Hello! Help solve the problem with the AT300 tablet.
Balanced consumption charge off, automatic brightness control is also disabled. But when watching videos, surfing and gaming brightness still varies depending on the color of the image. If the image is dark, the brightness decreases, if the picture is brighter - the screen gets brighter. How do to fix the brightness?
Thanks!Hello,
I have the same problem like flash85.
When I scroll down on bright websites and a darker picture is shown on the screen,
the whole display becomes much darker and even the colors on the screen change.
Yesterday I've tried the same website on an IPad and the background and colors perfectly
stays the same.
Also the display permanently dimms down or up if the automatic brightness control is
enabled. This is also very disturbing.
I can't imagine that this behaviour is normal. I read many tests before and none of it mentioned this. -
Need help with automatic printing of a page
I am looking for inputs for a particular scenario; On the Oracle HR Self-service pages, once the employee adds/updates his personal details and submits his changes to be approved by the HR manager, the final confirmation page should be automatically routed to a particular printer and be printed. Can this functionality be achieved with OAF coding for the Submit button?
Hi,
Check this link, it will help you.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration</a>
Dont forget to close the thread when answered.
Regards,
Amit -
Need help with Replace Metadata then multiple Save script
I am attempting to create a javascript to run on a folder of PSDs. I need it to:
1. Replace image Metadata with an existing Metadata Template called "UsageTerms".
2. Play an existing Action "Prep_PrintRes". (The action sharpens and converts to 8-bit)
3. Append "_PrintRes" to the filename. (ie OriginalPSDName_PrintRes.jpg)
4. Save the file as a 12 Quality JPEG to specific folder on my hard drive, "D:/Transfer".
5. Play an existing Action "Prep_Magazine" (The action resizes, sharpens, and converts to CMYK)
6. Append "_Magazine" to the filename. (ie OriginalPSDName_Magazine.jpg)
7. Save the file as a 10 Quality JPEG WITH NO EMBEDDED PROFILE to "D:/Transfer".
8. Play an existing Action "Prep_Screen". (The action sizes, sharpens, and converts to sRGB)
9. Append "_ScreenRes" to the filename (ie OriginalPSDName_ScreenRes.jpg)
10. Save the file as an 8 Quality JPEG to "D:/Transfer"
If anyone is available to help me get started with this I would greatly appreciate it. I can do a minimal amount of Visual Basic but Javascript is alien to me. Thanks so much!Try the following as the custom calculate script:
// Sum the field values, as numbers
var sum = +getField("LaborCost").value;
sum += +getField("MaterialCost").value;
sum += +getField("EquipmentCost").value;
// Set this field value
event.value = sum > 0 ? sum : 0;
For the other one, change the last line to:
event.value = sum < 0 ? sum : 0; -
I need help with Active Content running in the local machine
Hey. I'm in a dead line ... and I'm in trouble: I programmed
a web-site with a flash-menu that uses getURL to connect with the
pages. This web work in the internet but doesn't in the local
machine. I need to distribute it in a CD also, so i need the menu
working in the local machine. I'd tried all the tricks i found in
internet but....no success. Any suggestion....Thanks a lot.quote:
I could make suggestion, but honestly ... I'm afraid I'll
only say
something you've already seen! I mean, *all* the tricks on
the Internet?
lol That's a lot. Have you tried inserting the "mark of the
web" on the
HTML page that contains the SWF?
http://msdn.microsoft.com/en-us/library/ms537628(VS.85).aspx
In Dreamweaver, see Commands > Insert Mark of the Web.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."
Of course I did. Anyway, in theory it will work only in
Explorer, but i have the same problem with the other navigators.
The problem is very simple: if I publish de flash-menu for
ACCESS LOCAL FILES ONLY I resolve the problem, but i lost the GET
variables than I'm using for trace the option selected in the menu
to mark it in the next page. In the other hand, if i publish for
ACCESS NETWORK ONLY simply the menu doesn´t work in a local
machine in any of the navigators.
I'm desperately seeking Su...sorry, Solution. (lol) -
Need help with Adobe documents - emailing multiple PDFs
Can anyone out there help an old man? I'm new to all things Adobe but the only thing I can't seem to master is sending multiple PDFs in a single email, from Adobe documents. What am I missing here?
Hi Craig,
You can either Create a pdf portfolio of those files and send a single file to the user or you can select all the files you want to send at once while uploading and then send them in one go.
Please revert back if you still face challenges in sending multiple pdf files at once.
Regards,
Rahul -
I need help with display settings on
When Im watching movies is their any way to change the contrast or anything because it only lets me change brightness
Only brightness can be changed. You could email the developers relations and ask them to make a contrast settings
-
Need help with JTextArea and Scrolling
import java.awt.*;
import java.awt.event.*;
import java.text.DecimalFormat;
import javax.swing.*;
public class MORT_RETRY extends JFrame implements ActionListener
private JPanel keypad;
private JPanel buttons;
private JTextField lcdLoanAmt;
private JTextField lcdInterestRate;
private JTextField lcdTerm;
private JTextField lcdMonthlyPmt;
private JTextArea displayArea;
private JButton CalculateBtn;
private JButton ClrBtn;
private JButton CloseBtn;
private JButton Amortize;
private JScrollPane scroll;
private DecimalFormat calcPattern = new DecimalFormat("$###,###.00");
private String[] rateTerm = {"", "7years @ 5.35%", "15years @ 5.5%", "30years @ 5.75%"};
private JComboBox rateTermList;
double interest[] = {5.35, 5.5, 5.75};
int term[] = {7, 15, 30};
double balance, interestAmt, monthlyInterest, monthlyPayment, monPmtInt, monPmtPrin;
int termInMonths, month, termLoop, monthLoop;
public MORT_RETRY()
Container pane = getContentPane();
lcdLoanAmt = new JTextField();
lcdMonthlyPmt = new JTextField();
displayArea = new JTextArea();//DEFINE COMBOBOX AND SCROLL
rateTermList = new JComboBox(rateTerm);
scroll = new JScrollPane(displayArea);
scroll.setSize(600,170);
scroll.setLocation(150,270);//DEFINE BUTTONS
CalculateBtn = new JButton("Calculate");
ClrBtn = new JButton("Clear Fields");
CloseBtn = new JButton("Close");
Amortize = new JButton("Amortize");//DEFINE PANEL(S)
keypad = new JPanel();
buttons = new JPanel();//DEFINE KEYPAD PANEL LAYOUT
keypad.setLayout(new GridLayout( 4, 2, 5, 5));//SET CONTROLS ON KEYPAD PANEL
keypad.add(new JLabel("Loan Amount$ : "));
keypad.add(lcdLoanAmt);
keypad.add(new JLabel("Term of loan and Interest Rate: "));
keypad.add(rateTermList);
keypad.add(new JLabel("Monthly Payment : "));
keypad.add(lcdMonthlyPmt);
lcdMonthlyPmt.setEditable(false);
keypad.add(new JLabel("Amortize Table:"));
keypad.add(displayArea);
displayArea.setEditable(false);//DEFINE BUTTONS PANEL LAYOUT
buttons.setLayout(new GridLayout( 1, 3, 5, 5));//SET CONTROLS ON BUTTONS PANEL
buttons.add(CalculateBtn);
buttons.add(Amortize);
buttons.add(ClrBtn);
buttons.add(CloseBtn);//ADD ACTION LISTENER
CalculateBtn.addActionListener(this);
ClrBtn.addActionListener(this);
CloseBtn.addActionListener(this);
Amortize.addActionListener(this);
rateTermList.addActionListener(this);//ADD PANELS
pane.add(keypad, BorderLayout.NORTH);
pane.add(buttons, BorderLayout.SOUTH);
pane.add(scroll, BorderLayout.CENTER);
addWindowListener( new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0);
public void actionPerformed(ActionEvent e)
String arg = lcdLoanAmt.getText();
int combined = Integer.parseInt(arg);
if (e.getSource() == CalculateBtn)
try
JOptionPane.showMessageDialog(null, "Got try here", "Error", JOptionPane.ERROR_MESSAGE);
catch(NumberFormatException ev)
JOptionPane.showMessageDialog(null, "Got here", "Error", JOptionPane.ERROR_MESSAGE);
if ((e.getSource() == CalculateBtn) && (arg != null))
try{
if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 1))
monthlyInterest = interest[0] / (12 * 100);
termInMonths = term[0] * 12;
monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest, -termInMonths))));
lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 2))
monthlyInterest = interest[1] / (12 * 100);
termInMonths = term[1] * 12;
monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest, -termInMonths))));
lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 3))
monthlyInterest = interest[2] / (12 * 100);
termInMonths = term[2] * 12;
monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest, -termInMonths))));
lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
catch(NumberFormatException ev)
JOptionPane.showMessageDialog(null, "Invalid Entry!\nPlease Try Again", "Error", JOptionPane.ERROR_MESSAGE);
} //IF STATEMENTS FOR AMORTIZATION
if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 1))
loopy(7, 5.35);
if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 2))
loopy(15, 5.5);
if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 3))
loopy(30, 5.75);
if (e.getSource() == ClrBtn)
rateTermList.setSelectedIndex(0);
lcdLoanAmt.setText(null);
lcdMonthlyPmt.setText(null);
displayArea.setText(null);
if (e.getSource() == CloseBtn)
System.exit(0);
private void loopy(int lTerm,double lInterest)
double total, monthly, monthlyrate, monthint, monthprin, balance, lastint, paid;
int amount, months, termloop, monthloop;
String lcd2 = lcdLoanAmt.getText();
amount = Integer.parseInt(lcd2);
termloop = 1;
paid = 0.00;
monthlyrate = lInterest / (12 * 100);
months = lTerm * 12;
monthly = amount *(monthlyrate/(1-Math.pow(1+monthlyrate,-months)));
total = months * monthly;
balance = amount;
while (termloop <= lTerm)
displayArea.setCaretPosition(0);
displayArea.append("\n");
displayArea.append("Year " + termloop + " of " + lTerm + ": payments\n");
displayArea.append("\n");
displayArea.append("Month\tMonthly\tPrinciple\tInterest\tBalance\n");
monthloop = 1;
while (monthloop <= 12)
monthint = balance * monthlyrate;
monthprin = monthly - monthint;
balance -= monthprin;
paid += monthly;
displayArea.setCaretPosition(0);
displayArea.append(monthloop + "\t" + calcPattern.format(monthly) + "\t" + calcPattern.format(monthprin) + "\t");
displayArea.append(calcPattern.format(monthint) + "\t" + calcPattern.format(balance) + "\n");
monthloop ++;
termloop ++;
public static void main(String args[])
MORT_RETRY f = new MORT_RETRY();
f.setTitle("MORTGAGE PAYMENT CALCULATOR");
f.setBounds(600, 600, 500, 500);
f.setLocationRelativeTo(null);
f.setVisible(true);
}need help with displaying the textarea correctly and the scroll bar please.
Message was edited by:
new2this2020What's the problem you're having ???
PS. -
Need help with Page Layout and Background Scaling
hello, everyone.
I am in the process of designing a new website for myself,
and while I was researching nicely designed pages to use as
inspiration, I stumbled upon this site:
http://www.jeffsarmiento.com/
obviously, the design is very impressive, but it also
incorporates a lot of web mechanics that I have been trying to
figure out, so I will use this page as an example.
one thing I need help with is backgrounds. as you can see in
the posted website, the creator used a seamlessly tiled paper
texture to display the bulk of his content on. also make not of the
pattern that is located to the left of the paper texture. how do I
create seamless backgrounds like this that will scale to fit any
amount of content or any resolution? I can't imagine that the guy
that made that site created a new size background every time he
made an update, so there has to be an easier way.
the second thing that I am having trouble with is general
site layout. I have read that most sites used series of invisible
tables to organize there content, but when I open the source of
this page in dreamweaver, he was using something different. div
tags? should I be using these? who do I use them? are there any
general layout tips that someone could pass on to me? perhaps a
link to a good tutorial?
please help me. i am very confused.
thanks so much.IMO not a good site to emulate. To wit:
Top background image:
http://www.jeffsarmiento.com/images/bg-top.jpg;
745px
x 350px 137K
Main background image:
http://www.jeffsarmiento.com/images/bg-tile.jpg;
745px x 950px 130K
Total page size: 454K (Check here:
www.websiteoptimization.com)
Website usability experts routinely recommend a maximum page
size of ~80K
Check out the We We Scale @ www.FutureNowInc.com/wewe/ where
they suggest,
"You speak about yourself approximately 0,003 times as often
as you speak
about your customers. Might that have an impact on your
effectiveness?"
That is 100% consistent with the #1 Web Design mistake:
"Believing people
care about you and your web site." or to phrase more
expansively, "Our site
tries to tell you how wonderful we are as a company, but not
how we're going
to solve your problems."
www.sitepoint.com has some excellent books on making a
website actually
attractive and usable at the same time.
Walt
"beWILLdered_" <[email protected]> wrote in
message
news:[email protected]...
> hello, everyone.
> I am in the process of designing a new website for
myself, and while I was
> researching nicely designed pages to use as inspiration,
I stumbled upon
> this
> site:
>
http://www.jeffsarmiento.com/
> obviously, the design is very impressive, but it also
incorporates a lot
> of
> web mechanics that I have been trying to figure out, so
I will use this
> page as
> an example.
> one thing I need help with is backgrounds. as you can
see in the posted
> website, the creator used a seamlessly tiled paper
texture to display the
> bulk
> of his content on. also make not of the pattern that is
located to the
> left of
> the paper texture. how do I create seamless backgrounds
like this that
> will
> scale to fit any amount of content or any resolution? I
can't imagine that
> the
> guy that made that site created a new size background
every time he made
> an
> update, so there has to be an easier way.
> the second thing that I am having trouble with is
general site layout. I
> have
> read that most sites used series of invisible tables to
organize there
> content,
> but when I open the source of this page in dreamweaver,
he was using
> something
> different. div tags? should I be using these? who do I
use them? are there
> any
> general layout tips that someone could pass on to me?
perhaps a link to a
> good
> tutorial?
> please help me. i am very confused.
>
> thanks so much.
> -
Need Help with Address Display
I need help with APEX.
Here's my situation:
I have a report that displays brief employee information. Among the information displayed is the Address. Right now, it's display as:
Mr X
Employee Id
Accounting Department
Address 1
Mr X
Employee Id
Accounting Department
Address 2
I would like it to display
Mr X
Employee Id
Accounting Department
Address 1
Address 2
1) I have thought of using the Break functionality; however, the function only allows break at column 1, 2, 3. As you can see Address starts at column 4. Also, Address has a few columns; Address Line 1, Address Line 2, City, State, Zipcode.
2) Stragg functions - I'm not sure how to implement it since it has more than 1 columns.
Any ideas?
Thanks in advance
AndrewThe example I gave you, using analytic functions is a simple one.
Now, you are saying:
1. some of the employees may have two adresses?
2. if this is the case, your employee appears in the report twice?
3. you don't want his name, employee id and accounting department to appear twice?
4. only his address has to be displayed?
If the answer to all the questions is yes, this kind of query will help you. I repeat:
SELECT CASE
WHEN LAG (employee_id) OVER (ORDER BY employee_id) =
employee_id
THEN NULL
ELSE employee_name
END employee_name,
CASE
WHEN LAG (employee_id) OVER (ORDER BY employee_id) =
employee_id
THEN NULL
ELSE employee_id
END employee_id,
CASE
WHEN LAG (employee_id) OVER (ORDER BY employee_id) =
employee_id
THEN NULL
ELSE accounting_department
END accounting_department,
street, postal_code, city, state, country
FROM your_employees_table;Give it a try.
Denes Kubicek
Maybe you are looking for
-
i own an imac 2011 running osx 10.6.8. I want to buy the new airport extreme but it says in the system requirements that it needs osx lion 10.7.5 or later. would it work with my older osx 10.6.8?
-
Edit an image going from LR 5.3 into Photoshop CC
Can somebody help me with this problem? Since today I'm having an issue when I try to edit a image in Photoshop (as a PSD) that's imported in LR (as a RAW-image). So I use LR as my main working app for my images and from time to time I edit the photo
-
ITunes 10.4.1 doesn't work with my keyboard anymore.
I used to use mmkeys.dll before to use the media keys on keyboard which is a 'Microsoft Wireless Keyboard 3000 v2.0' but now I can't use the media players without the iTunes in like control or whatever (not sure how to call it, but its when my iTunes
-
I haven't seen this problem mentioned yet. My screen is bleeding color (red), and it seems that the resolution has dropped considerably. Looks like the difference between a 16bit screen, and the high resolution. Has anyone else seen this problem?
-
I am having an issue with my defined character/ paragraph formats set in the alphanumeric form painter not being recognized in the graphical form painter. When I set a defined format and then try to switch to graphical mode I get a system message say