SEARCH (only returns one record?)
When I run my search, it only returns the first record it finds. Can sombody give me a clue to why it won't return multipule records?
try{
//Connect to the Database
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con =
DriverManager.getConnection("jdbc:odbc:ComfortZoneDB");
Statement s = con.createStatement();
String sql = "SELECT * from Hydronics WHERE Keyword LIKE '%"+field+"%' order by Keyword";
//Contains results from the SQL Query
ResultSet rs = s.executeQuery(sql);
// Displays it all out in a table
while (rs.next()) {
txt_search1.setText(""+rs.getString(1)+ "|" rs.getString(2) "|"+rs.getString(3)+ "|"+rs.getString(4)+ "|"+rs.getString(5)+ "|"+rs.getString(6)+ "|"+rs.getString(7));
rs.close();
s.close();
con.close();
catch(SQLException e){
catch(Exception e){
}
Sir,
Slappy presents Table Models 101.
import java.sql.*;
import javax.swing.*;
import javax.swing.table.*;
import java.util.*;
public class SlappyReadOnlyTableModel{
private LinkedList rows;
private String[] colnames;
private int[] coltypes;
public SlappyReadOnlyTableModel(ResultSet rs)throws Exception{
ResultSetMetaData rsmd = rs.getMetaData();
colnames = new String[rsmd.getColumnCount()];
coltypes = new int[rsmd.getColumnCount()];
for(int i=0;i<colnames.length;i++){
colnames[i] = rsmd.getColumnLabel(i+1);
coltypes[i] = rsmd.getColumnType(i+1);
rows = new LinkedList();
// this bit checks the cursor position. if not at the start we move it there IF we can
if(!rs.isBeforeFirst()){
if(rs.getType()!=ResultSet.TYPE_FORWARD_ONLY){
rs.beforeFirst();
while(rs.next()){
Object[] arow = new Object[colnames.length];
for(int i=0;i<arow.length;i++){
switch(coltypes){
case Types.BOOLEAN:
arow[i] = new Boolean(rs.getBoolean(i+1));
break;
case Types.DATE:
arow[i] = rs.getDate(i+1);
break;
case Types.INTEGER:
arow[i] = new Integer(rs.getInt(i+1));
break;
case Types.DOUBLE:
arow[i] = new Double(rs.getDouble(i+1));
break;
// I have left out many cases. Adjust as required.
default:
arow[i] = rs.getString(i+1);
rows.add(arow);
public int getRowCount(){
return rows.size();
public int getColumnCount(){
return colnames.length;
public Object getValueAt(int row, int column){
Object[] arow = (Object[]) rows.get(row);
return arow[column];
public boolean isCellEditable(int row, int column){
return false;
public String getColumnName(int column){
return colnames[column];
Save that as SlappyReadOnlyTableModel.
Then invoke in your code like this...
ResulSet rs = // whereever you get result set from.
SlappyReadOnlyTableModel tm = new SlappyReadOnlyTableModel(rs);
rs.close();
JTable display = new JTable(tm);
// now add your table where you likeToday was your lucky day. Please use the API and look at the tutorial for more. http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
Sincerely,
Slappy
Similar Messages
-
Search query returning ALL records
DW CS3 - MS Access - ASP/VBScript
I have a search form for records to display on the same page with keywords highlighted. The search is returning ALL records and highlighting keywords throughout rather than returning specific records with the searched word. What am I missing? I'm sure it's something terribly simple.....
<input name="search" type="text" id="search" value="<%= Request.QueryString("search") %>" />
SELECT item, item, item, item
FROM tbl_name
WHERE item OR item OR item LIKE %MMColParam%
ORDER BY sql_orderby, Date DESC
Name: MMColParam
Type: Text
Value: Request.Querystring("search")
Default Value: %I was using the word "item" as an example for multiple columns without actually naming them - they are not the same. I should've used this example:
SELECT shoes, socks, hats, gloves
FROM tbl_apparel
WHERE shoes OR socks OR hats LIKE %MMColParam%
ORDER BY sql_orderby, Date DESC
In the past, I had four duplicate query parameters for four columns which worked fine. But since I only have one search term, I thought I could eliminate three of the duplicate parameters and use just one with the OR statement.
In the past, you questioned me on this. You stated, "You only have one search term and so all of the parameters have the same value, but DW still wants to creates 4 parameters. If you were coding this by hand you wouldn't do it that way, but DW's one-size-fits-all code generates four seperate parms. It's nothing to worry about." -
Executing VO only returns 1 record
Hi,
I am using Jdev 11.1.1.4.0.
I have a Read only VO and have a methond in AMImpl class that reads
ViewObjectImpl componentLOV;
componentLOV= getComponentsNameOnly();
componentLOV.setNamedWhereClauseParam("bndComponentName", componentName);
componentLOV.executeQuery();
return componentLOV.getAllRowsInRange();This only returns 1 record althought there are more than 1 record.
If I change the code to componentLOV = getUpdatableVO();, then it returns all the records that meets the condition.
Any idea?
Thanks
Bones Jones
Edited by: Bones Jones on Jul 13, 2011 10:53 AM
Edited by: Bones Jones on Jul 13, 2011 10:54 AMplz paste the complete method. You need List if you want to work with multiple rows
here what i copied from the docs
public class AppModuleImpl extends ApplicationModuleImpl
public List<ViewRowImpl> findProducts(String location)
List<ViewRowImpl> result = new ArrayList<ViewRowImpl>();
ViewObjectImpl vo = getProductsView1();
vo.setNamedWhereClauseParam("TheLocation", location);
vo.setForwardOnly(true);
vo.executeQuery();
while (vo.hasNext()) {
result.add((ViewRowImpl)vo.next());
return result;
} -
How come Java methods can only return one variable?
Hi,
I am just curious, how come C/C++/Java methods/functions can only return one argument but can accept many parameters.
I know that the workaround is to return an object, but sometimes creating a class is just too much overhead.
Thank you in advance.Hello,
It's an interesting discussion. To get the full answer to your question, you'd have to consult the library and find books on programming language design and implementation.
I believe the tradition goes all the way back to the first programming languages having subroutines/procedures/functions/methods in them: you can return nothing at all (void i Java) or a single value. The need for returning a single value, I guess, comes from the wish to embed calls in arithmetic expressions:
res = 2 * someObject.foo(x) - anotherObj.bar(a,b);To my knowledge, few languages allow you to return more values. One that does is BETA (see www.daimi.au.dk/~beta/). Though not indispensable, it's convenient sometimes. I don't know why it's not more widespread.
Yours,
Ole -
Cfloop query only finding one record
I can't figure this out. My query is only finding one record
(in certain instances), but there are more records in the table. It
seems to the the problem when I use "LIKE". Everything prints fine
if I use equals.
Here's my code:
<cfparam name="form.kword" default="">
<cfparam name="form.fyear" default="2008">
<cfparam name="form.fnum" default="">
<cfparam name="form.titlew" default="">
<cfparam name="form.doctrak" default="">
<cfparam name="url.sterm" default="">
<cfparam name="url.fyear" default="">
<cfparam name="url.qtype" default="">
<!---Queries--->
<!---From FORM Query the forms table--->
<cfquery name="displayformresults"
datasource="#mydatasource#">
SELECT fstrkeywords, fstrdoctrak, fstrformnum, fstryear,
fstrtitle, fstrfilesize, fstrfiletype, fdtmrevdt, fblnfillin,
fstraddendum
FROM tblext_forms
WHERE fstrkeywords LIKE '%#form.kword#%' AND fstryear =
'#form.fyear#' AND fstrformnum LIKE '%#form.fnum#%' AND fstrtitle
LIKE '%#form.titlew#%' AND fstrdoctrak LIKE '%#form.doctrak#%'
ORDER BY fstrtitle, fstryear ASC
</cfquery>
<cfdump VAR="#displayformresults#"><!---Variable anyyeardisplay has been declared within a
<cfif> tag so where the necessary condition is not met it
means it would not been declared yet before you ask ColdFusion to
output it on the table... trouble!
So amend as below. If for any reason you need to put variable
nicefdtmrevdt within a conditional statement as well, just do the
same (as shown) --->
<cfloop query="displayformresults">
<cfif "#displayformresults.fstryear#" IS "">
<cfset #displayformsesults.fstryear# = "2008">
<cfelse>
<cfset anyyeardisplay = #displayformresults.fstryear#>
</cfif>
<cfset nicefdtmrevdt =
#DateFormat(#displayformresults.fdtmrevdt#, "mm-dd-yyyy")#>
<cfoutput>
<tr>
<td
class="fifteen">#displayformresults.fstrformnum#</td>
<td class="fifteen"><cfif isDefined
("anyyeardisplay")>
#anyyeardisplay#
</cfif></td>
<td class="fortyfive"><a href=""
title="#displayformresults.fstrdoctrak#">#displayformresults.fstrtitle#</a></td>
<td class="twentyfive"><cfif isDefined
("nicefdtmrevdt")>
#nicefdtmrevdt#
</cfif>
<br />
(#displayformresults.fstrfiletype#,
#displayformresults.fstrfilesize#)</td>
</tr>
</cfoutput> -
Mac mail search function is not working. Any search term returns all records.
Mac mail search function is not working. Any search term returns all records.
hi eric. many thanks.
i will have to read these links closer but what i meant to say is that the hard drive space that was being taken up seemed like it suddenly jumped way up because i had just gotten through a process in the last month where i am storing all my My Documents data on my Mac Pro. i am doing this in order to decide whether i should just keep it ALL on my Mac Pro and use ChronoSync to sync /some/ of it to my MBP.
so if i look in the Documents folder on my Mac Pro i have a ton of folders that i have created with a ton of data. if i look in the Documents folder on my MBP there are NO folders that have data in them that i created. there are other folders such as folders that various software created but what i mean to point out is that there was a LOT of available space on my HD until recently.
i am wondering if there is some way that running the Mail re-index (it then ran some kind of "Importing" routine) or by syncing my Photostream to the MBP caused a huge jump in data on this drive. if it is the photostream sync i can just take this off or see if it will sync more selectively. if it is something to do with mac mail jumping in size i am not sure why this would happen or what to do about it.
does that question make sense?
i mean, before i did these two operations my recollection is that i would have had 130 GB on the hard drive (really just guessing here) and now there is like 218 GB on the hard drive and i don't know where all this came from... -
Use DISTINCT with two fields to return one record
I am using OleDB with a SELECT DISTINCT query that is used in C# code to populate a DataGridViewComboBox. The queried table has two fields: ID and Description. The ID field values are unique. Descriptions may be duplicated. The DataSource of my DataGridViewComboBox
is ListBoxItems which is a ListBox that is populated from a table. The ValueMember is ID and the DisplayMember is Description. A sample table might look like this:
ID Description
1 Blue
2 Blue
3 Red
4 Blue
I want my query to return two records; one for the Red description and only one for the Blue description. I don't care which Blue description it returns, but I do need the corresponding ID for the selected Blue record and the ID value for the Red record.
Using SELECT DISTINCT ID, Description FROM... would give me four records instead of two. How can I return only two records in this scenario?
Rob E.Using window function:
create table #temp
ID int,
description varchar(20),
insert into #temp Values(1,'blue')
insert into #temp Values(2,'blue')
insert into #temp Values(3,'red')
insert into #temp Values(4,'blue')
;WITH CTE AS (select RN=ROW_NUMBER() OVER (PARTITION BY description ORDER BY newid() ),
ID,description from #temp)
SELECT ID, description from CTE
WHERE RN = 1;
ID description
4 blue
3 red
Kalman Toth Database & OLAP Architect
SQL Server 2014 Database Design
New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014 -
XML import only creates one record at a time
Hi All,
I have an XML import map that automatically imports data into main product table. It's working fine when the XML file has only one main record. When it has more than one record, the import manager and import server can only import the last record in the file and skip the rest.
I already checked the record matching tab. It correctly shows that all records will be created and 0 will be skipped. Even the log file indicates all records are created after I execute the map. Yet, when I try to look for them in the data manager, I can only find the last one. If I execute the map with the exact same file again, it will create one more record again and skip the rest.
Someone else posted the same question a while back: Import map issue one record at a time. But it was never answered. Does anyone else have this issue? Is this a MDM bug?
Thanks,
KennyHi Kenny,
Please refer to the note below:
Note 1575981
Regards,
Neethu Joy -
CS_WHERE_USED_MAT only returns one level
Hi all,
I need to get the results that CS15 (where-used) gives me when multi-level is checked.
I need to write a program and was hoping to use FM CS_WHERE_USED_MAT. However, this FM only returns the materials that are one level down. I'm on 4.5b.
Does anyone know what FM I can use that will give me the materials at all levels (like CS15 does). I can use CS_WHERE_USED_MAT and feed back in each material until I reach the end of the levels. But I was wondering if anyone has found a better way.
Thanks,
Mikeyou can refer link:[http://wiki.sdn.sap.com/wiki/display/Snippets/InverseBOMExplosion-ABAP]
or use fm CS_BOM_EXPL_MAT_V2 pass X to field MEHRS -
ChartRendererer only show one record
I tried to reduce the "view object" without any luck!. the chartren... shows the result on every record, but I only want to show graphs with data from one record. Help please.
nullI'd like to add that another critical item of information to include in the detail section of your note is the version of JDeveloper that you are using.
Since not everyone has upgraded to 3.2 yet, we have a lot of users out there who are still using 3.1. Due to the changes between releases, the answer to a question sometimes depends on the version you have.
If your question is database-related, it is also helpful to know what version of the database you are using, and whether it is Oracle Lite, Oracle Enterprise, etc.
The more detail you provide about your environment, the problem you are having, any errors you are getting, etc. The more likely we will be able to help you right off.
Thanks everyone! -
Result Set only returning one row...
When I run the following query in my program, I only get one row.
SELECT * FROM (SELECT * FROM ul_common_log_event WHERE application_name = 'Configuration' ORDER BY cle_id DESC) WHERE ROWNUM <= 500;
However when I run it in TOAD, I get all the rows I am looking for.
Here's my java
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(query);
My record set only contain one row. I am using Oracle 9 OCI driver BTW.
Any ideas? Thanks!Good thinking. That was the first thing I tried. That was not the problem. It turns out that I was stomping my rs object in another method. Problem resolved!
Thanks for the reply! -
Record Store only reads one record problem
I have a problem where I can read and write a record to a records store, but i can not do this for multiple records as i am trying with below code. Any help is very welcomes thank you, I am very new to J2ME.
I have a J2ME midlet that calls the startRecordStore() method which create a record 1.
It uses a static int records and it increments it every time a new recordstore is created, well I am not entirely sure if i need to do this. Because I want to go through all the records created.
public void startRecordStore() {
// Incremenets records count
// Temporary example for this workshop only
records+=1;
try { rs = RecordStore.openRecordStore("StudentStore"+records+"", true);
catch (Exception err) {
Alert alr = new Alert("Error Creating", err.toString(), null, AlertType.WARNING);
alr.setTimeout(Alert.FOREVER);
display.setCurrent(alr);
}Then it calls the readData() method which reads the data from the 3 fields, something like this
for(int i=0;i<count;i++) {
ods.writeUTF(ReadDataString);
ods.writeUTF(ReadDataString[i+1]);
ods.writeInt(ReadDataInt[i]);
ods.flush();
// Put the whole write stream to a byte
ReadDataByte = os.toByteArray();
// finally add the fetchDataType to to a record store
rs.addRecord(ReadDataByte, 0, ReadDataByte.length);
os.reset();
os.close();
ods.close();
Then the WriteData() method is called displaying the records
PROBLEM it only displays the last record, instead of more then one record.
eg. StudentStore1, StudentStore2 etc etc ..
// create record enumerator referrence to the instance
re = rs.enumerateRecords(null,null,false);
// go through each records using enumerator
while(re.hasNextElement()) {
rs.getRecord(re.nextRecordId(), ReadInputData, 0);
buffer.append(ids.readUTF());
buffer.append("\n");
buffer.append(ids.readUTF());
buffer.append("\n");
buffer.append(ids.readInt());
buffer.append("\n");
Alert alr = new Alert("Currently Reading", buffer.toString(), null, AlertType.WARNING);
alr.setTimeout(Alert.FOREVER);
display.setCurrent(alr);
// CLOSE INPUT STREAM
is.close();Any idea thanks guyspublic void startRecordStore() {
records+=1;
try {
rs = RecordStore.openRecordStore("StudentStore"+records+"", true);
}Are you sure this is what you want to do?
I don't know where you're calling startRecordStore(), but you're creating a new record store for each "records".
Shouldn't you be just opening the record store "StudentStore", and them adding records to that store?
jc -
Database is only returns one result
I'm trying to count the number of calls & low priorty call from my account table in my databate. There is only one call so far in it. Call = 1 but its priorty is Low so Low should also be 1. I have check my sql in the Database and it return 1 result but in my program Low still = 0.
Connection conn;
String theNoCallsSQL = "Select call_no From Call ";
String thePLowSQL = "Select call_no From Call where priorty = 'Low' ";
int NoCalls = 0;
int Low = 0;
ResultSet rsetNoCall;
ResultSet rsetLow;
rsetNoCall = stmt.executeQuery(theNoCallsSQL);
while(rsetNoCall.next() == true)
NoCalls ++;
rsetLow = stmt.executeQuery(thePLowSQL);
while(rsetLow.next() == true)
Low ++;
conn.close();
ArrayList myStatsList = new ArrayList();
CallsStats myStats = new CallsStats();
myStats.setNoCall(NoCalls);
myStats.setNoLow(Low);
return myStatsList;Haven't you heard about debugging? The simplest forum of debugging to answer your question would be to insert a line like this:System.out.println("Low++ executed");immediately before the line that saysLow++;Or you could use System.out to display the value of Low immediately beforemyStats.setNoLow(Low);The possibilities are endless.
-
11g HS ODBC database link only returning one column
Hi,
We having a problem with a HS ODBC database link to a SQLServer database - only one column is being returned (when we do a simple 'select * from remote_table@SQLServer_dblink'). We recently set up another HS database link to a MySQL database and that's works okay, even though the init*.ora files have the same settings configured.
Any ideas what might cause this?
This is the trace file:
Oracle Corporation --- FRIDAY OCT 28 2011 14:26:33.827
Heterogeneous Agent Release
11.2.0.2.0
Oracle Corporation --- FRIDAY OCT 28 2011 14:26:33.827
Version 11.2.0.2.0
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/libodbc.so"
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using MySQL_CSSUser as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
hgocont, line 2754: calling SqlDriverConnect got sqlstate IThe characterset on our Oracle DB is AL16UTF16, but we have already tried several language settings without success (see commented out sections in the *.ora file below) - but interestingly not a UTF16. Is that the problem, do you think?
The collation on the SQLServer DB is 'SQL_Latin1_General_CP1_CI_AS', if that makes any difference. The db server is Linux (5.6), Oracle db is 11.0.2.0 and the SQLServer db is v.8.
We don't get an error when using the dblink...it's just that only the last column is returned. If we explicitly select any other columns, we get the 'invalid identifier' error. It's the same with whatever table we dblink to...the columns are just standard chars and numerics, nothing large or custom, etc.
I'll try and dig up the full trace file....
HS_FDS_CONNECT_INFO=CSS_ST
set ODBCINI=/etc/odbc.ini
HS_FDS_TRACE_LEVEL = DEBUG
HS_FDS_SHAREABLE_NAME = /usr/lib/libodbc.so
HS_FDS_SQLLEN_INTERPRETATION=32
#HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
#HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252
#HS_LANGUAGE=AMERICAN_AMERICA.UTF8
set ODBCINSTINI=/etc/odbcinst.ini
set LD_LIBRARY_PATH=/usr/local/easysoft/lib:/usr/local/easysoft/sqlserver/lib:/usr/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib
------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -
Jdbc:odbc bridge only returning one result when a count show 148 !
Hello,
Am sure i have done something stupid, but i have an issue with jdbc:odbc ....
It is a simple sceanrio that i have coded umpteen times before ...
I have the following ....
1. Connection to DB2 on an IBM i5 (I apologise for not using native drivers from jt400.jar, but i had an ODBC code example and was in a rush - no excuse i know)
2. Statement object created from connection above
3. A string with my SQL in it
4. A result set for the results.
These are created as follows:
Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection(ODBCSource, userID, password);
if (con == null) {
// error handling not relevant here
} else {
Statement s = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
String SQL = "select * from table";
ResultSet rs = s.executeQuery(SQL);
i then try to loop ....
while (rs.next() )
// stuff
however, i only ever get one result .... if i stick in the check for isLast, the first loop hits this check, i get my little status message, and the loop ends.
while (rs.next() )
if (rs.isLast() )
System.out.println("I am on last record");
BUT if i run the SQL
"select count(*) from table" ... i get a count of 148 !!
I tried setting the FetchSize through setFetchSize(), but made no difference.
This is running on a JBoss server 4.2.1GA, JDK is "jdk1.6.0_02" .... i have a suspicion that this may be a JBoss specfic issue, as this exact code runs just fine on the Domino platform that it was originally on, if this is the case, i apologise for wasting everyones time .... but would still appreciate any pointers you can give me.
Cheerssorry .... just relaised this is in the wrong forum ... reposted in the Database connectivity forum !!
Maybe you are looking for
-
I found iOS7 working so bad on my iphone 4s. Whow can a I downgrade to ios 6?
After a huge resistence, finaly I upgrated to IOS7, and I´m really sad about how my iphone looks and behave, also I feel like I´m using a samsung Galaxy. I will like to downgrade. Thanks
-
Why will my iphone 4s not accept my credit card
Why is my iphone 4s not accepting my credit card always comes back with declined no matter how much money i have in my account
-
Query result set...
I'm having trouble determining a good way to word my question. So, I believe my pseudo code below will be sufficient in doing so. Oracle version: 11.2g Data set WITH temp AS SELECT 1 col1, 1 day FROM dual UNION ALL SELECT 2 col1, 1 day FROM dual UNIO
-
LCDS web service call throwing error for valid XSD URL
Hi, I am trying to call a web service which is deployed on a J2EE application[ Project name : WebServiceApplication ] through a different LCDS application [ Project name : lcdsTestWebService] But while loading of mxml following error comming into con
-
Cannot add pictures from windows to ipad
In the past I have been able to add pictures from windows onto my Ipad. I cannot do that now. When I tried, picture albums that I had on are no longer there. I have tried everything I can think of to add these photos. I need help. Thanks!