Help with scrollbar functionallity
hi! I don't understand very well the behavior to scrollbar. For example! I have a rectangle and a scrollbar in the scene. I want that if you drag this rectangle then scrollbar be updated, and if you click in the scrollbar then updates a visible screen.
what variables are changed? how should I use scrollbar variables?
thanks
var startX=100.0;
var startY=100.0;
var rec:Rectangle=Rectangle {
x: bind startX, y: bind startY
width: 140, height: 90
fill: Color.GREEN
onMousePressed: function( e: MouseEvent ):Void {
startX=e.sceneX-rec.translateX;
startY=e.sceneY-rec.translateY;
onMouseDragged: function( e: MouseEvent ):Void {
var tx=e.sceneX-startX;
var ty=e.sceneY-startY;
rec.translateX=tx;
rec.translateY=ty;
var scroll:ScrollBar=ScrollBar {
min: 1
max: 10
vertical: false
blockIncrement:16
width:1000
height:300
unitIncrement:0.05
Stage {
title: "Application title"
width: 1200
height:950
scene: Scene {
content: [rec,scroll
}
hi! I leave the code I'm doing. I want that when I drag the rectangle to the right of the screen, with the help of the scroll, making the area visible on the right. Making a scroll of the screen. The code is as follows:
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
import javafx.scene.input.MouseEvent;
import javafx.scene.control.ScrollBar;
var anchura=1200;
var startX=250.0;
var startY=250.0;
var rec:Rectangle=Rectangle {
x: bind startX, y: bind startY
width: 140, height: 90
fill: Color.GREEN
onMousePressed: function( e: MouseEvent ):Void {
startX=e.sceneX-rec.translateX;
startY=e.sceneY-rec.translateY;
onMouseDragged: function( e: MouseEvent ):Void {
var tx=e.sceneX-startX;
var ty=e.sceneY-startY;
rec.translateX=tx;
rec.translateY=ty;
if (e.sceneX>anchura){
scroll.blockIncrement;
var scroll:ScrollBar=ScrollBar {
translateX:25
translateY:100
min: 0
max: 1200
vertical: false
blockIncrement:16
width:bind anchura-50
scaleY:2.0
unitIncrement:0.05
value:bind rec.x+rec.translateX
clickToPosition:false
Stage {
title: "Application title"
width: bind anchura
height:900
scene: Scene {
content: [rec,scroll
}
Similar Messages
-
hu..
i have this JFrane that has a table which has scrollbars...
i have included in my code setResizable(false) so the user will not be able to maximize the page..
i have a function AdScroll()[that adds scrollbars] that will be called every time i add ,delete ,update a user ..
my problem is when i click on the delete and update buttons the user will not be deleted or updated from the table, but when i remove AddScroll() the user will be deleted and updated from the table but the scroll bars will not be added..
so can some one help me with this problem.
thankx
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.table.*;
import java.sql.*;
import java.io.*;
import javax.swing.JPanel;
import java.applet.*;
import sun.audio.*;
import java.net.*;
import java.text.*;
class UtilityMethods extends JFrame implements ActionListener
private boolean tabsVisible=false;
private File fileName;
private RandomAccessFile output;
AudioStream voice;
UtilityMethods utilities;
Connection conn;
Statement stat;
String dsnName, userStatus;
String appTable = "CUSTOMER";
Container c = getContentPane();
JTabbedPane tabs;
//JScrollPane scrollpane;
JTable dataTable, addataTable;
static String[][] tableData, adtableData;
JScrollPane scrollpane, adscrollpane,vscrollpane;
JTextField id, name, address, phone, sex, dob, photo,audio,template;
JTextArea comments;
JButton search, update, clear, add, delete, close,audio1,faceBrowse,voiceBrowse,voice1;
JPanel customerPanel, adminPanel;
JPanel backPanel, inputPanel, middlePanel, buttonPanel1, buttonPanel2, photoHolder;
JTextField adname, adusername, adpassword;
JPanel adbackPanel, adinputPanel, admiddlePanel, adbuttonPanel1, adbuttonPanel2, radioPanel;
JButton adsearch, adupdate, adclear, adadd, addelete, adclose;
JRadioButton userStat, adminStat, cleared;
ButtonGroup statusGroup;
//===================================================================================================
/*public UtilityMethods()
makeGUI();
//Create the GUI:
void makeGUI()
c.setLayout(new BorderLayout());
tabs = new JTabbedPane();
customerPanel = new JPanel(new BorderLayout());
adminPanel = new JPanel(new BorderLayout());
// voicePanel= new JPanel(new BorderLayout());
//1. Construct customers tab:
//The data input section:
inputPanel = new JPanel(new GridLayout(4, 4));
id = new JTextField(20);
name = new JTextField(20);
address = new JTextField(20);
phone = new JTextField(20);
sex = new JTextField(20);
dob = new JTextField(20);
photo = new JTextField(20);
audio = new JTextField(20);
template = new JTextField(20);
faceBrowse = new JButton("...");
faceBrowse.setBounds(210, 150, 25, 25);
inputPanel.add(new JLabel("CPR", JLabel.CENTER));
inputPanel.add(id);
inputPanel.add(new JLabel("Name", JLabel.CENTER));
inputPanel.add(name);
inputPanel.add(new JLabel("Address", JLabel.CENTER));
inputPanel.add(address);
inputPanel.add(new JLabel("Phone", JLabel.CENTER));
inputPanel.add(phone);
inputPanel.add(new JLabel("Sex", JLabel.CENTER));
inputPanel.add(sex);
inputPanel.add(new JLabel("Date Of Birth", JLabel.CENTER));
inputPanel.add(dob);
inputPanel.add(new JLabel("Customer Photo ", JLabel.CENTER));
inputPanel.add(photo);
inputPanel.add(new JLabel("Voice ", JLabel.CENTER));
inputPanel.add(audio);
customerPanel.add(inputPanel, BorderLayout.NORTH);
//The buttons section:
backPanel = new JPanel();
middlePanel = new JPanel(new BorderLayout());
buttonPanel1 = new JPanel();
buttonPanel2 = new JPanel();
search = new JButton("SEARCH");
update = new JButton("UPDATE");
clear = new JButton("CLEAR");
add = new JButton("ADD");
delete = new JButton("DELETE");
close = new JButton("EXIT");
audio1 =new JButton("Voice");
//faceBrowse = new JButton("...");
//voiceBrowse =new JButton("...");
search.setPreferredSize(new Dimension(102, 26));
update.setPreferredSize(new Dimension(102, 26));
clear.setPreferredSize(new Dimension(102, 26));
add.setPreferredSize(new Dimension(102, 26));
delete.setPreferredSize(new Dimension(102, 26));
close.setPreferredSize(new Dimension(102, 26));
audio1.setPreferredSize(new Dimension(102, 26));
faceBrowse.setPreferredSize(new Dimension(26, 26));
//voiceBrowse.setPreferredSize(new Dimension(26, 26));
search.addActionListener(this);
update.addActionListener(this);
clear.addActionListener(this);
add.addActionListener(this);
delete.addActionListener(this);
close.addActionListener(this);
audio1.addActionListener(this);
//faceBrowse.addActionListener(this);
//voiceBrowse.addActionListener(this);
buttonPanel1.add(search);
//buttonPanel1.add(faceBrowse);
buttonPanel1.add(update);
buttonPanel1.add(clear);
buttonPanel2.add(add);
buttonPanel2.add(delete);
buttonPanel2.add(close);
buttonPanel2.add(audio1);
//buttonPanel1.add(voiceBrowse);
middlePanel.add(buttonPanel1, BorderLayout.NORTH);
middlePanel.add(buttonPanel2, BorderLayout.CENTER);
photoHolder = new JPanel();
Icon curPhoto = new ImageIcon("");
Icon[] custPhotos = {curPhoto};
JList photosList = new JList(custPhotos);
photosList.setFixedCellHeight(100);
photosList.setFixedCellWidth(80);
photoHolder.add(photosList);
makeComments();
backPanel.add(middlePanel);
backPanel.add(photoHolder);
backPanel.add(comments);
customerPanel.add(backPanel, BorderLayout.CENTER);
pack();
setVisible(true);
setSize(500,700);
} //makeGUI
void updateTable()
ResultSet results = null;
ResultSet results1 = null;
try
//Get the number of rows in the table so we know how big to make the data array..
int rowNumbers = 0;
int columnCount = 6;
results = stat.executeQuery("SELECT COUNT(*) FROM CUSTOMER ");
if(results.next())
rowNumbers = results.getInt(1);
} //if
if(rowNumbers == 0)
rowNumbers = 1;
tableData = new String[rowNumbers][columnCount];
//Initialize the data array with "" so we avoid possibly having nulls in it later..
for(int i =0;i<tableData.length;i++)
for(int j=0;j<tableData[0].length;j++)
tableData[i][j] = "";
//Populate the data array with results of the query on the database..
int currentRow = 0;
results1 = stat.executeQuery("SELECT * FROM CUSTOMER ORDER BY ID");
while (results1.next())
for(int i = 0; i < columnCount; i++)
tableData[currentRow] = results1.getString(i + 1);
currentRow++;
} //while
//Create the table model:
final String[] colName = { "CPR", "Name", "Address", "Phone", "Sex", "Date OF Birth" };
TableModel pageModel = new AbstractTableModel()
public int getColumnCount()
return tableData[0].length;
} //getColumnCount
public int getRowCount()
return tableData.length;
} //getRowCount
public Object getValueAt(int row, int col)
return tableData[row][col];
} //getValueAt
public String getColumnName(int column)
return colName[column];
} //getcolName
public Class getColumnClass(int col)
return getValueAt(0, col).getClass();
} //getColumnClass
public boolean isCellEditable(int row, int col)
return false;
} //isCellEditable
public void setValueAt(String aValue, int row, int column)
tableData[row][column] = aValue;
} //setValueAt
//dataTable.setValue( new JScrollBar(JScrollBar.HORIZONTAL), 2,1 );
}; //pageModel
//Create the JTable from the table model:
JTable dataTable = new JTable(pageModel);
// dataTable.setModel();
/*if (scrollpane != null)
scrollpane.setVisible(false);
scrollpane = null;
} //if*/
//scrollpane = new JScrollPane(dataTable);
//scrollpane.setVisible(true);
if (inputPanel == null)
makeGUI();
JScrollPane scrollpane =new JScrollPane(dataTable, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
dataTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
// Create vertical box for second tab
Box box = Box.createVerticalBox();
// Create component for top
box.add(customerPanel);
// Place glue between components
box.add(Box.createVerticalGlue());
// Create component for middle
box.add(middlePanel);
// Place glue between components
box.add(Box.createVerticalGlue());
// Create component for middle
box.add(backPanel);
// Place glue between components
box.add(Box.createVerticalGlue());
// Create component for bottom
box.add(scrollpane);
// Add box to JTabbedPane
tabs.add(box, "Customer");
setResizable(false);
id.grabFocus();
pack();
repaint();
adupdateTable();
} //try
catch (Exception e)
System.out.println("Caught updateTable exception: " + e);
e.printStackTrace();
} //catch
} //updatetable
//===================================================================================================
//===================================================================================================
//Update the customer table from the database:
void updateTable(String userStatus)
this.userStatus = userStatus;
updateTable();
if(userStatus.equals("user"))
delete.setEnabled(false);
tabs.setEnabledAt(1, false);
public void actionPerformed(ActionEvent e)
FileInputStream fis = null;
if (e.getSource() == add) //The ADD button.
//User has not populated all the input fields.
if(name.getText().equals("")|| address.getText().equals("")|| phone.getText().equals("")|| sex.getText().equals("")|| dob.getText().equals("")|| photo.getText().equals(""))
JOptionPane.showMessageDialog(null, "Please fill in all the fields","Missing Fields",JOptionPane.INFORMATION_MESSAGE);
else
// save the new customer:
try
//1. take the customer's data and photo:
int userId = Integer.parseInt(id.getText());
String userName = name.getText();
String userAddress = address.getText();
String userPhone = phone.getText();
String userSex = sex.getText();
String userDateBirth = dob.getText();
String photoName = photo.getText();
String audioName= audio.getText();
File file = new File(photoName);
int fileLength = (int)file.length();
//2. Set the user's photo into the photoHolder:
photoHolder.setVisible(false);
photoHolder = null;
comments.setVisible(false);
comments = null;
Icon[] custPhotos = {new ImageIcon(photoName)};
JList photosList = new JList(custPhotos);
photosList.setFixedCellHeight(100);
photosList.setFixedCellWidth(80);
photoHolder = new JPanel();
photoHolder.add(photosList);
makeComments();
//3. Insert the data and photo into the database:
if(fileLength > 0)
fis = new FileInputStream(file);
String query = " INSERT INTO CUSTOMER VALUES('"+userId+"', '"+ userName+ "', '"+ userAddress+ "', " +" '"+ userPhone+ "', '"+ userSex+ "', '"+ userDateBirth+ "', ?,?,? ) ";
PreparedStatement pstmt = conn.prepareStatement(query);
pstmt.setBinaryStream(1, fis, fileLength);
pstmt.setString(2,photoName);
pstmt.setString(3,audioName);
pstmt.executeUpdate();
comments.setText(userName+", added.");
else
String query = " INSERT INTO CUSTOMER (id, name, address, phone, sex, dob) VALUES('"+userId+"', '"+userName+"', '"+userAddress+"', '"+userPhone+"', '"+userSex+"', '"+userDateBirth+"') ";
stat.executeUpdate(query);
comments.setText("Customer saved without a photo.");
backPanel.add(photoHolder);
backPanel.add(comments);
//updateTable();
AddScroll();
} //try
catch (Exception ee)
//The danger of putting creating the JOptionPane in here is that it will show the same message regardless of the error.
JOptionPane.showMessageDialog(null, "Customers CPR already exits!!Please enter another CPR","Invalid",JOptionPane.INFORMATION_MESSAGE);
System.out.println("Caught exception in add action: " + ee);
} //catch
} //if
}//add button
void AddScroll()
JScrollPane scrollpane =new JScrollPane(dataTable, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
scrollpane.getViewport().add(dataTable);hi i tryed the JTable.revalidate() but i still did't work...
i did this :
public void actionPerformed(ActionEvent e)
FileInputStream fis = null;
if (e.getSource() == add) //The ADD button.
//User has not populated all the input fields.
if(name.getText().equals("")|| address.getText().equals("")|| phone.getText().equals("")|| sex.getText().equals("")|| dob.getText().equals("")|| photo.getText().equals(""))
JOptionPane.showMessageDialog(null, "Please fill in all the fields","Missing Fields",JOptionPane.INFORMATION_MESSAGE);
else
// save the new customer:
try
//1. take the customer's data and photo:
int userId = Integer.parseInt(id.getText());
String userName = name.getText();
String userAddress = address.getText();
String userPhone = phone.getText();
String userSex = sex.getText();
String userDateBirth = dob.getText();
String photoName = photo.getText();
String audioName= audio.getText();
File file = new File(photoName);
int fileLength = (int)file.length();
//2. Set the user's photo into the photoHolder:
photoHolder.setVisible(false);
photoHolder = null;
comments.setVisible(false);
comments = null;
Icon[] custPhotos = {new ImageIcon(photoName)};
JList photosList = new JList(custPhotos);
photosList.setFixedCellHeight(100);
photosList.setFixedCellWidth(80);
photoHolder = new JPanel();
photoHolder.add(photosList);
makeComments();
//3. Insert the data and photo into the database:
if(fileLength > 0)
fis = new FileInputStream(file);
String query = " INSERT INTO CUSTOMER VALUES('"+userId+"', '"+ userName+ "', '"+ userAddress+ "', " +" '"+ userPhone+ "', '"+ userSex+ "', '"+ userDateBirth+ "', ?,?,? ) ";
PreparedStatement pstmt = conn.prepareStatement(query);
pstmt.setBinaryStream(1, fis, fileLength);
pstmt.setString(2,photoName);
pstmt.setString(3,audioName);
pstmt.executeUpdate();
comments.setText(userName+", added.");
else
String query = " INSERT INTO CUSTOMER (id, name, address, phone, sex, dob) VALUES('"+userId+"', '"+userName+"', '"+userAddress+"', '"+userPhone+"', '"+userSex+"', '"+userDateBirth+"') ";
stat.executeUpdate(query);
comments.setText("Customer saved without a photo.");
backPanel.add(photoHolder);
backPanel.add(comments);
//updateTable();
dataTable.revalidate();
AddScroll();
} //try
catch (Exception ee)
//The danger of putting creating the JOptionPane in here is that it will show the same message regardless of the error.
JOptionPane.showMessageDialog(null, "Customers CPR already exits!!Please enter another CPR","Invalid",JOptionPane.INFORMATION_MESSAGE);
System.out.println("Caught exception in add action: " + ee);
ee.printStackTrace();
} //catch
} //if
}//add buttonand i included this function AddScroll() that i will add the scroll bars :
void AddScroll()
JScrollPane scrollpane =new JScrollPane(dataTable, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
scrollpane.getViewport().add(dataTable);
// AbstractTableModel pageModel = (AbstractTableModel)dataTable.getModel();
// pageModel .fireTableDataChanged();
//dataTable.updateUI();
}thankx -
Help with Scrolling Text Item.
Hi , need help with making a text item scrollable.
i.e. A field is 30 characters and i can only display 10
characters, now what I would like is a scroll bar under the text
item.
Is this possible. I am using Forms 5.
Thanx for any help.
Pankaj Patel.
nullPetr Valouch (guest) wrote:
: Pankaj Patel (guest) wrote:
: : Hi , need help with making a text item scrollable.
: : i.e. A field is 30 characters and i can only display 10
: : characters, now what I would like is a scroll bar under the
: text
: : item.
: : Is this possible. I am using Forms 5.
: : Thanx for any help.
: : Pankaj Patel.
: Hi
: You need that scrollbar under the item? You can set length
of
: text item and its size independently, so you can have text
item
: char(30) with size of 10 characters.
An alternative is to declare the item as a multi-line text item
with wrap set on. This would give you a vertical scroll bar on
the item.
Another option is to programmaticaly pop up an Editor, each time
focus is moved to the item, or to actually change the width of
the item when focus moves to it (and shrink it back when focus
moves away.
Simon Hedges
Gloucester
UK
null -
Help with two DIVs as columns at 100% page height
I've got two DIVs side by side on my page and I want both columns to fill the page from top to bottom.
The left DIV stops about half way down the page.
There are DIVs inside of each column.
My test link is: http://faceworks.webtestingsite.net/pages/facials.html
Here's the CSS I used for the columns,
#leftSideBkgd {
position:absolute;
min-height:100%;
background-color: #f0f0f0;
width: 25%;
left: 0px;
top: 0px;
z-index: 0;
background-image: url(../img/bkgd/leftMenu.jpg);
background-repeat: repeat-y;
background-position: 100% 0px;
#rightSideBkgd {
position: absolute;
background-color: #FFFFFF;
width: 75%;
left: 25%;
top: 0px;
z-index: 0;
min-height:100%;
background-image: url(../img/bkgd/pageBkgd.jpg);
background-repeat: repeat-x;
background-position: 0px 0px;
html {
height:100%;
body {
height:100%;
background-image: url(../img/bkgd/pageBkgd.jpg);
background-repeat: repeat-x;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #FFF;
font-family: Tahoma, Geneva, sans-serif;
font-size: 14px;
font-style: normal;
line-height: 1.75em;
font-weight: normal;
color: #000;
Thanks for your help with thisYou cannot safely force the height on those divs, without also getting ugly vertical scrollbars.
Your choices are three -
1. Use Faux columns (Google it) to make it *look* like the divs are the same height.
2. Use javascript to actually dynamically determine what height to use for the columns.
3. Use CSS3 to make the adjacent columns behave as if they were two adjacent cells in a table, resulting in them being the same height.
My preference is #1 - it's easy and VERY effective. I don't like #2 as a solution, and #3 works beautifully if you are not worried about supporting IE6 or 7. -
Resizing movieclip with scrollbar text
Hi Experts,
Here I am trying to resize a movie clip which contains some dynamic text with scrollbar in a swf using mouse. I am able to resize the movie clip using "setProperty". But unable to control the behaviour of the scrollbar. when I am increasing the size of the movie clip the scrollbar should automatically disappear. But I am unable to do so. Can anyone help me??
Here is the link of the swf I am working on:
http://qs1252.pair.com/monarchm/test1/
Here is the code I have used for the resizer:
if (this._x <= 20) {
setProperty(_root.cont.frames, _width, 20);
setProperty(this, _x, 20);
} else {
setProperty(_root.cont.frames, _width, this._x);
if (this._y <=20) {
setProperty(_root.cont.frames, _height, 20);
setProperty(this, _y, 20);
} else {
setProperty(_root.cont.frames, _height, this._y);
Help me
srinivasThanks for your response. I should be more accurate here...
I am using two movie clips here. The first one is the "frames" in container and the second one is "re-sizer". "_root.cont.frames" gets the _x and_y positions according the to x, y positions of the "_root.cont.frames.re-sizer.re-sizer_btn".
The UI scrollbar I am using here is a flash component, and is a child of "_root.cont.frames"
This is my first thread ever! So I am learning the things here. Thanks for your guidance. I will be more accurate moving further..
Thank You,
Srinivas -
I'm trying to find a simple way to:
1. Take a URL I have, which points to an image (jpg, png , or whatever).
2. Download and display it as a Swing component, with scrollbars.
This is not part of an applet.
There doesn't seem to be a straightforward way to do this. Can
anyone help?
Jeffreyonce you have the image put it on a label or similiar (ImageIcon works fine for that IIRC)
Then put that Label on a JScrollPane. -
Help with if statement in cursor and for loop to get output
I have the following cursor and and want to use if else statement to get the output. The cursor is working fine. What i need help with is how to use and if else statement to only get the folderrsn that have not been updated in the last 30 days. If you look at the talbe below my select statement is showing folderrs 291631 was updated only 4 days ago and folderrsn 322160 was also updated 4 days ago.
I do not want these two to appear in my result set. So i need to use if else so that my result only shows all folderrsn that havenot been updated in the last 30 days.
Here is my cursor:
/*Cursor for Email procedure. It is working Shows userid and the string
You need to update these folders*/
DECLARE
a_user varchar2(200) := null;
v_assigneduser varchar2(20);
v_folderrsn varchar2(200);
v_emailaddress varchar2(60);
v_subject varchar2(200);
Cursor c IS
SELECT assigneduser, vu.emailaddress, f.folderrsn, trunc(f.indate) AS "IN DATE",
MAX (trunc(fpa.attemptdate)) AS "LAST UPDATE",
trunc(sysdate) - MAX (trunc(fpa.attemptdate)) AS "DAYS PAST"
--MAX (TRUNC (fpa.attemptdate)) - TRUNC (f.indate) AS "NUMBER OF DAYS"
FROM folder f, folderprocess fp, validuser vu, folderprocessattempt fpa
WHERE f.foldertype = 'HJ'
AND f.statuscode NOT IN (20, 40)
AND f.folderrsn = fp.folderrsn
AND fp.processrsn = fpa.processrsn
AND vu.userid = fp.assigneduser
AND vu.statuscode = 1
GROUP BY assigneduser, vu.emailaddress, f.folderrsn, f.indate
ORDER BY fp.assigneduser;
BEGIN
FOR c1 IN c LOOP
IF (c1.assigneduser = v_assigneduser) THEN
dbms_output.put_line(' ' || c1.folderrsn);
else
dbms_output.put(c1.assigneduser ||': ' || 'Overdue Folders:You need to update these folders: Folderrsn: '||c1.folderrsn);
END IF;
a_user := c1.assigneduser;
v_assigneduser := c1.assigneduser;
v_folderrsn := c1.folderrsn;
v_emailaddress := c1.emailaddress;
v_subject := 'Subject: Project for';
END LOOP;
END;
The reason I have included the folowing table is that I want you to see the output from the select statement. that way you can help me do the if statement in the above cursor so that the result will look like this:
emailaddress
Subject: 'Project for ' || V_email || 'not updated in the last 30 days'
v_folderrsn
v_folderrsn
etc
[email protected]......
Subject: 'Project for: ' Jim...'not updated in the last 30 days'
284087
292709
[email protected].....
Subject: 'Project for: ' Kim...'not updated in the last 30 days'
185083
190121
190132
190133
190159
190237
284109
286647
294631
322922
[email protected]....
Subject: 'Project for: Joe...'not updated in the last 30 days'
183332
183336
[email protected]......
Subject: 'Project for: Sam...'not updated in the last 30 days'
183876
183877
183879
183880
183881
183882
183883
183884
183886
183887
183888
This table is to shwo you the select statement output. I want to eliminnate the two days that that are less than 30 days since the last update in the last column.
Assigneduser....Email.........Folderrsn...........indate.............maxattemptdate...days past since last update
JIM......... jim@ aol.com.... 284087............. 9/28/2006.......10/5/2006...........690
JIM......... jim@ aol.com.... 292709............. 3/20/2007.......3/28/2007............516
KIM......... kim@ aol.com.... 185083............. 8/31/2004.......2/9/2006............. 928
KIM...........kim@ aol.com.... 190121............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190132............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190133............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190159............. 2/13/2006.......2/14/2006............923
KIM...........kim@ aol.com.... 190237............. 2/23/2006.......2/23/2006............914
KIM...........kim@ aol.com.... 284109............. 9/28/2006.......9/28/2006............697
KIM...........kim@ aol.com.... 286647............. 11/7/2006.......12/5/2006............629
KIM...........kim@ aol.com.... 294631............. 4/2/2007.........3/4/2008.............174
KIM...........kim@ aol.com.... 322922............. 7/29/2008.......7/29/2008............27
JOE...........joe@ aol.com.... 183332............. 1/28/2004.......4/23/2004............1585
JOE...........joe@ aol.com.... 183336............. 1/28/2004.......3/9/2004.............1630
SAM...........sam@ aol.com....183876.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183877.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183879.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183880.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183881.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183882.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183883.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183884.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183886.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183887.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183888.............3/5/2004.........3/8/2004............ 1631
PAT...........pat@ aol.com.....291630.............2/23/2007.......7/8/2008............ 48
PAT...........pat@ aol.com.....313990.............2/27/2008.......7/28/2008............28
NED...........ned@ aol.com.....190681.............4/4/2006........8/10/2006............746
NED...........ned@ aol.com......95467.............6/14/2006.......11/6/2006............658
NED...........ned@ aol.com......286688.............11/8/2006.......10/3/2007............327
NED...........ned@ aol.com.....291631.............2/23/2007.......8/21/2008............4
NED...........ned@ aol.com.....292111.............3/7/2007.........2/26/2008............181
NED...........ned@ aol.com.....292410.............3/15/2007.......7/22/2008............34
NED...........ned@ aol.com.....299410.............6/27/2007.......2/27/2008............180
NED...........ned@ aol.com.....303790.............9/19/2007.......9/19/2007............341
NED...........ned@ aol.com.....304268.............9/24/2007.......3/3/2008............ 175
NED...........ned@ aol.com.....308228.............12/6/2007.......12/6/2007............263
NED...........ned@ aol.com.....316689.............3/19/2008.......3/19/2008............159
NED...........ned@ aol.com.....316789.............3/20/2008.......3/20/2008............158
NED...........ned@ aol.com.....317528.............3/25/2008.......3/25/2008............153
NED...........ned@ aol.com.....321476.............6/4/2008.........6/17/2008............69
NED...........ned@ aol.com.....322160.............7/3/2008.........8/21/2008............4
MOE...........moe@ aol.com.....184169.............4/5/2004.......12/5/2006............629
[email protected]/27/2004.......3/8/2004............1631
How do I incorporate a if else statement in the above cursor so the two days less than 30 days since last update are not returned. I do not want to send email if the project have been updated within the last 30 days.
Edited by: user4653174 on Aug 25, 2008 2:40 PManalytical functions: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions2a.htm#81409
CASE
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#36899
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/04_struc.htm#5997
Incorporating either of these into your query should assist you in returning the desired results. -
I installed Sunbird in one computer and my calendar has all my infos, events, and task that i would like to see on another computer that i just downloaded Sunbird into. Also, is it possible I can access Sunbird on my iphone?
Thank you in advance,Try the forum here - http://forums.mozillazine.org/viewforum.php?f=46 - for help with Sunbird, this forum is for Firefox support.
-
Hoping for some help with a very frustrating issue!
I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud 2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel. I even uninstalled iCloud on the PC and downloaded it again (same version).
The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.” After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
Sound familiar? Any ideas on how to solve this iCloud/Outlook issue? Thanks much in advance!Hoping for some help with a very frustrating issue!
I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud 2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel. I even uninstalled iCloud on the PC and downloaded it again (same version).
The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.” After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
Sound familiar? Any ideas on how to solve this iCloud/Outlook issue? Thanks much in advance! -
Help with HP Laser Printer 1200se
HP Support Line,
Really need your assistance. I have tried both contacting HP by phone (told they no longer support our printer via phone help), the tech told me that I needed to contact HP by e-mail for assistance. I then sent an e-mail for assistance and got that reply today, the reply is as follows "Randall, unfortunately, HP does not offer support via e-mail for your product. However many resources are available on the HP web site that may provide the answer to your inquiry. Support is also available via telephone. A list of technical support numbers can be round at the following URL........." The phone numbers listed are the ones I called and the ones that told me I needed to contact the e-mail support for help.
So here I am looking for your help with my issue.
We just bought a new HP Pavillion Slimline Desk Top PC (as our 6 year old HP Pavillion PC died on us). We have 2 HP printers, one (an all-in-one type printer, used maily for copying and printing color, when needed) is connected and it is working fine with the exception of the scanning option (not supported by Windows 7). However we use our Laser Printer for all of our regular prining needs. This is the HP LaserPrinter 1200se, which is about 6 years old but works really well. For this printer we currently only have a parallel connection type cord and there is not a parallel port on the Slimline HP PC. The printer also has the option to connedt a USB cable (we do not currently have this type of cable).
We posed the following two questions:
1. Is the Laser Jet 1200se compatible with Windows 7?
and if this is the case
2. Can we purchase either a) a USC connection cord (generic or do we need a printer specific cord)? or b) is there there a printer cable converter adapater to attach to our parallel cable to convert to a USB connection?
We do not want to purchase the USB cable if Windows 7 will not accept the connection, or if doing this will harm the PC.
We really would appreciate any assitance that you might give us.
Thank you,
Randy and Leslie GibsonSorry, both cannot be enabled by design. That said, devices on a network do not care how others are connected. You can print from a wireless connection to a wired (Ethernet) printer and v/v.
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP -
Going to Australia and need help with Power converters
Facts:
US uses 110v on 60hz
Australia 220v on 50hz
Making sure I understood that correctly. Devices I plan on bringing that will use power are PS3 Slim, MacBook Pro 2008 model, and WD 1TB External HDD. My DS, and Cell are charging via USB to save trouble of other cables.
Ideas I've had or thought of:
1. Get a power converter for a US Powerstrip, and then plug in my US items into the strip and then the strip into an AUS Converter into Australian outlet. Not sure if this fixes the voltage/frequency change.
2. Get power converters for all my devices. But, not sure if my devices needs ways of lowering the voltage/increasing frequency or something to help with the adjustment.
3. Buy a universal powerstrip, which is extremely costly and I wouldn't be able to have here in time (I leave Thursday). Unless Best Buy carrys one.godzillafan868 wrote:
Facts:
US uses 110v on 60hz
Australia 220v on 50hz
Making sure I understood that correctly. Devices I plan on bringing that will use power are PS3 Slim, MacBook Pro 2008 model, and WD 1TB External HDD. My DS, and Cell are charging via USB to save trouble of other cables.
Ideas I've had or thought of:
1. Get a power converter for a US Powerstrip, and then plug in my US items into the strip and then the strip into an AUS Converter into Australian outlet. Not sure if this fixes the voltage/frequency change.
2. Get power converters for all my devices. But, not sure if my devices needs ways of lowering the voltage/increasing frequency or something to help with the adjustment.
3. Buy a universal powerstrip, which is extremely costly and I wouldn't be able to have here in time (I leave Thursday). Unless Best Buy carrys one.
Check the specs on input voltage/frequency of your power supplies.
Many laptop power supplies are "universal/global" and are specced something like 80-265 volts AC 50/60 Hz, but not all. These will just need a connector adapter.
Unsure about the PS3 Slim - if it isn't universal it could be difficult as you'll need a 110/220 transformer, one big enough (power-handling wise) for the PS3 will be very bulky.
For the external WD HDD, if it doesn't have a universal supply, you're probably best off just finding a new wallwart for it that is capable of running on 220/50.
*disclaimer* I am not now, nor have I ever been, an employee of Best Buy, Geek Squad, nor of any of their affiliate, parent, or subsidiary companies. -
Creation of context sensitive help with pure FM 12 usage doesn't work
Hi,
I hope somebody is able to help me with a good hint or tip.
I am trying to create a context-sensitive Microsoft Help with FM12 only using the abilities of FM (no RoboHelp). For some reasons, my assigned ID's are not used in the generated chm file and therefore the help does not work context-sensitively.
What did I do?
- I created my FM files and assigned topic aliases to the headers. I did this two ways: a) using the "Special" menue and assigning a CSH marker and/or b) setting a new marker of type "Topic Alias" and typing the ID. I used only numeric IDs like "2000" or "4200",
- I created a .h file (projectname.h) - based on the format of the file projectname_!Generated!.h (I read this in some instructions). So the .h file (text file) looks like this:
#define 2000 2000 /* 4 Anwendungsoberfläche */
#define 2022 2022 /* 4.1.1 Menü Datei */
#define 2030 2030 /* 4.1.3 Menü Parametersatz */
#define 2180 2180 /* 6.6.7 Objektdialog Q-Regler */
#define 2354 2354 /* 6.9.2 Objektdialog Extran Parameter */
#define 2560 2560 /* 6.9.5 Objektdialog Extran2D Parametersatz */
- I published the Microsoft HTML Help. A projectname_!Generated!.h has been created. My IDs were not used in this file:
#define 2000 1
#define 2022 2
#define 2030 3
#define 2180 4
#define 2354 5
#define 2560 6
- When I open the .chm file and look in the source code, the ID even is totally different. It is not the one, I assigned in FM, it is not the one which I assigned in the projectname.h file and it even is not the one, which was put in the projectname_!Generated!.h file. It is a generated name starting with CSH_1 ...n in a consecutive way numbered.
Example:
<p class="FM_Heading1"><a name="XREF_72066_13_Glossar"></a>Gloss<a name="CSH_1"></a>ar</p>
What goes wrong? Why does FM not take my assigned IDs? I need to use these IDs since our programmers are using those already - I had to re-create the whole online help but the programs stay untouched.
Please help!
Many thanks
MohiHi Jeff,
thanks for your note!
The text in my marker is just a number like "2000" or "4200". As said, I created manually a my.h file and used this marker there. E.g.
#define 2000 2000.
Whereby the first 2000 (in my opinion) is the marker text and the second 2000 is the context ID which the programmers are using for the context sensitive call of the help. My definitions in the my.h file were translated to #define 2000 1 (in the my_!Generated!.h file). The source code "translates" the context ID into CSH_8.
I am still confused :-/
Thanks
Mohi -
Need help with Boot Camp and Win 7
I have iMac 27" (iMac11,1) 2.8 GHz, quad core, 8MB of L3, 8GB of Memory, Boot ROM Version IM111.0034.B02 and SMC Version 1.54f36 and can't get this machine to run Windows 7 using Boot Camp. I have successfully loaded Win 7 but when it claims to be starting I only get a black screen after initial start up.
I have checked and rechecked my software updates and have read and reread the instructions, however, I can't update my Boot Camp to 3.1 (my machine says i'm running 3.0.4) and I need 3.1 but can't load 3.1 because it is an exe file that has to be loaded into Windows after I load Windows but can't open Windows because I can't load Boot Camp 3.1. That's my excuse anyway, so I'm missing something I just can't figure out what it is....this is where you come in!
Thanks.
MikeMike,
I'm not going to be much help with Boot Camp however I can direct you to the Boot Camp forum where there are more people that know how to troubleshoot it and Windoze 7. You can find it at:
https://discussions.apple.com/community/windows_software/boot_camp
Roger -
Can some help with CR2 files ,Ican`t see CR2 files in adobe bridge
can some help with CR2 files ,I can`t see CR2 files in adobe bridge when I open Adobe Photoshop cs5- help- about plugins- no camera raw plugins. When i go Edit- preference and click on camera raw shows message that Adobe camera raw plugin cannot be found
That's strage. Seems that the Camera Raw.8bi file has been moved to different location or has gone corrupt. By any chance did you try to move the camera raw plugin to a custom location?
Go To "C:\Program Files (x86)\Common Files\Adobe\Plug-Ins\CS5\File Formats" and look for Camera Raw.8bi file.
If you have that file there, try to download the updated camera raw plugin from the below location.
http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5371&fileID=5001
In case you ae not able to locate the Camera Raw.8bi file on the above location, then i think you need to re-install PS CS5.
[Moving the discussion to Photoshop General Discussions Forum] -
Be grateful for your help with Photoshop Elements which I have been using for several years.
Be grateful for your help with Photoshop Elements which I have been using for several years. Does Elements need to have access to ‘My Pictures’ on Windows as when I remove Photos from ‘My Pictures’, Elements later, when backing up, gives a message that it is unable to ‘reconnect’ to the same picture on elements. On other occasions when removing a photo from Elements catalogue I also get a similar message when backing up saying ‘unable to reconnect’. 1. Is there a relationship between Elements and My Pictures and is Elements dependant on the Windows ‘My Pictures’? 2. Why does some photos in Elements in some cases cause them to multiply e.g. double; triple; quadruple; and on occasions even more? Is there something I need to do to stop this or an easy way I can remove the multiples without spending hours doing it manually one by one? Am I doing something wrong? My O/S is Windows XP SP2 and windows Vista on my Laptop. I have been using Elements 5 and have just purchased Photoshop Elements 8.0. (Upgrade) and about to install it. Be grateful for any advice as I do enjoy using the program if only I can resolve this issue. I am not a PC wiz and mainly use Elements to catalogue photos from which I compile collections and from them slide shows with music. Any advice appreciated Sonny.t PS Have tried to post this previously but without success so hoping to see message appear and a +response
The organizer doesn't care where you send your photos when you download them via the downloader or where they happen to be when you first bring them in if you use the Get Photos command, but once your pics are in the Organizer, you *must* move them from within organizer or it can't find them. You don't have to use My Pictures at all if you don't want to, but regardless of the folder where you put your photos, if you want them someplace else, you use organizer to do it.
Maybe you are looking for
-
I need to run a browser on computers in a test lab. (For example, you often use browsers to setup routers.) The network in the test lab is NOT connected to the internet, so downloading a setup file that pulls in additional files from the internet is
-
Just updated my itunes but it wont open due to runtime error what do i do?
just updated my itunes but it wont open due to runtime error what do i do?
-
What is the difference between document class and normal class
Hi, Please let me know what is the difference between document class and normal class. And I have no idea which class should call as document class or call as an object. Thanks -Actionscript Developer
-
Help Needed Creating AppleScript for Dial Up Access and Updates
Hello, Due to my location I can only access the internet via Dial Up. I would like to create a script that wakes up my Mini early in the AM, dials my ISP and checks to see if there are any Apple Updates. I'd like to do this at night so my family does
-
Hi all Is it possible to copy the AR Invoice Project selected in Content first row to the Accounting tab BP Project automatically? Kedalene Chong