Sub quries
I've two tables
new_system
system_id current_status
1001 D
1002 D
1003 D
system_device
system_id device_id current_status
1001 3002 R
1003 2003 R
1004 2332 R
I want to insert the values into the system_device table with this condition new_system.system_id = system_device.system_id. I want to insert row with current_status of new_system.
This could the required output.
system_device
system_id device_id current_status
1001 3002 R
1003 2003 R
1004 2332 R
1001 3002 D
1003 2003 D
This is the query I had written. But I got 'invalid expression' error.
insert into system_device (system_id, device_id, current_status) values
(select new_system.system_id, device_id, new_system.current_status
from new_system, system_device
where new_system.system_id = system_device.system_id);
would anyone please let me konw what is wrong in the query.
Thanks in advance. Regards
This?
SQL> create table new_system(system_id number(10),current_status varchar2(1));
Table created.
SQL> Insert into new_system values(1001,'D');
1 row created.
SQL> Insert into new_system values(1002,'D');
1 row created.
SQL> Insert into new_system values(1003,'D');
1 row created.
SQL> create table system_device(system_id number(10),device_id number(10),current_status varchar2(1)
Table created.
SQL> Insert into system_device values(1001, 3002,'R');
1 row created.
SQL> Insert into system_device values(1003, 2003,'R');
1 row created.
SQL> Insert into system_device values(1004, 2332,'R');
1 row created.
SQL> Insert into system_device select a.system_id,b.device_id,a.current_status from
2 new_system a,system_device b where a.system_id=b.system_id;
2 rows created.
SQL> select * from system_device;
SYSTEM_ID DEVICE_ID C
1001 3002 R
1003 2003 R
1004 2332 R
1001 3002 D
1003 2003 D
SQL>
Similar Messages
-
Hi
I am using EJBQL to extract the employee records from database with EJB3 using toplink
query is as follows
"SELECT e FROM Employee e WHERE e.empId not in (Select a.empId.empId FROM Attendancerecord a WHERE a.date = :date)"
where each employee has many attendance record and in reverse each attendance record tuple has one employee relation
what I want to do is to 'select all those employees for which there is no record in Attendance record for specific date '
when executing the exception caught is that
java.sql.SQLException: Subquery returns more than 1 row
e.empId is an integer
kindly help
rgards
HinaThink about how the e-mail will look to the person reading it. There will be some links, of course. And how should those links look? They should look like something that somebody could use from anywhere on the Internet. So obviously "C:\data\wombat.gif" isn't going to work. Your best bet is for the link to look something like "http://www.animallovers.org/wombat.gif", and that means you need a web server that can serve out those files.
-
Open file in Sub VI and close in Main VI
Hi,
Question:
I am opening a file using a Sub-VI, but i am unable to close it in my main VI. Is there a way of passing the refnum between Sub-VI's ?
Or is there a cleaner way of doing this ?
Thanks
GMAlthough this can be done, it is not good programming practice to do so. You should open files in one vi, read/write to them in the same vi or in subvi's, and close the file at the level where it was opened. This is proper modular programming. Then you would not need references. You could just wire the file refnum into your subvi. Of course this is a general statement. You could have a very good reason why you are doing it your way.
- tbob
Inventor of the WORM Global -
Crystal report(Can i link sub report and main report Compulsorily) - invalid path
hi.
i need small clarification.
i am developing one Crystal report
main report i took it from rdr1 one table...
report is working fine..
Sub report i took it from inv1 one table.
i have not linked any fields from these tables.
May be it is having links in b1..
but in my other report both the tables.... from main report and sub report does not have any relation.
My Questions is..
Can i Compulsorily link fields to main report...
if both does not have any relation what should i do...
i took two tables.
main report rdr1
sub report inv1...
if i run the report it is asking two parameters one is for sub report and other one for main report working find in crystal report.
but...i want to run the report in b1.
while importing i am getting the error (Plz have a look on below image)
if i choose any other report it is importing fine...
Clearly i am mentioning i dont want to link both tables there is no links between two reports...
in this scenario can develop a report..
I need your Valuable suggestions.
here below u can find my developed sample report...
http://www.megafileupload.com/en/file/544758/NewReport-rpt.htmlhi.
If i try only i am getting the error..
out side if i run i am able to run the crystal report but
in b1 i am not able to import the report.
you can also try my report
from below link u can get my simple report.
if u find any mistake what i have done plz inform me..
http://megafileupload.com/en/file/544806/NewReport85-rpt.html -
How to use sub folder paths for external table location parameter?
is it possible to use one Oracle directory and address multiple files under some OS sub-directories beside that Oracle directory? Like;
host mkdir /tmp/orcl_dir
host mkdir /tmp/orcl_dir/fold1
host mkdir /tmp/orcl_dir/fold2
CREATE DIRECTORY ext_tab_dir AS '/tmp/orcl_dir';
CREATE TABLE ext_all_source
ORGANIZATION EXTERNAL (
TYPE ORACLE_DATAPUMP
DEFAULT DIRECTORY ext_tab_dir
LOCATION ( 'fold1/all_source1.dmp', 'fold2/all_source2.dmp' ) ) PARALLEL 4
AS SELECT * FROM all_source;
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04076: file name cannot contain a path specification: fold1/all_source1.dmp
ORA-06512: at "SYS.ORACLE_DATAPUMP", line 19Thank you.
Message was edited by:
antuJustin is there a way you are aware of at operating system level to teach oracle that it has to access for example 16 different piece of files over a meta file. I saw some definition file like this but I am searching if this is the tools own mapping format;
$ cat ./CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat
(object mfile_c_type
(path "file:OBSOLETE")
(fs "file://amanos/s01/abinitio/data/prod/mfs/mfs_16way")
(local_paths 16
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_001/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_002/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_003/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_004/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_005/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_006/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_007/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_008/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_009/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_010/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_011/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_012/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_013/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_014/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_015/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
"file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_016/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"))or at least a symbolic linking strategy may handle this, but I couldn't figure out how and of course this will have its own costs of course to manage. -
How to add a sub report at the end of the main report whilst grouped
Hi!
I have a main report that is grouped by the Customers name and then details of transactions they did with the company.
I need to add a letter at the end of each group for each customer (With their name displayed in the letter). I tried adding a sub report in the report footer, but it only appears once at the end of the report, rather than at the end of each group for each customer.
How can I achieve the desired result?
Regards
VikVik,
You are on the right track with the sub-report.
1. Create your letter in a separate report.
2. Add the Letter Report to your original report as a sub report in the group footer.
3. Set the report links on the "Group By" field.
This will give you a letter record for each report record with the same grouping as the main report.
Hope this helps,
Jason -
There are some databases/sites that I have access to when having an IP number on university campus or with a proxy. This worked well in firefox until today. When trying to visit those pages the addresses automatically change a second or two after pressing enter to something like: http://www04.sub.su.se:###/ combined with showing random webpages in the window. This seems to be something associated with firefox since I still have access to the pages in internet explorer.
For example:
If I write http://www.isiknowledge.com/ the address changes to http://www04.sub.su.se:2133/cgi-bin/[email protected].
If I want to get to scholar.google.se I get redirected to http://www04.sub.su.se:2087/
When wanting to visit http://pubs.acs.org/about.html I will end up here: http://www04.sub.su.se:2110/about.html
This problem only occurs on services where I in normal case can get access to articles in scientific journals. I have not encountered this problem in other cases/websites.
I have tried to scan my laptop for viruses with Symantec Endpoint Protection and SuperAntiSpyware 4.45.1000. But nothing suspicious was found.Hi Magsrobby,
Welcome to the forum and thanks for posting. I'm really sorry to hear you've had so many problems. I can look into this for you if you wish. Drop me an email with the details. You'll find the "contact us" form in the about me section of my profile. Once I have the details we'll take it from there.
Cheers
David
BTCare Community Mod
If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-) -
Creation of Sub-Totals within Groups
Hi - hope this is me just being a plank but I've hit a brick wall whilst trying to recreate a set of management accounts. So far the report has just two Groups - call them A & B for ease. Group B summarizes the detail and Group A neatly collects the results from Group B.
Group A comprises 6 parts all doing their bit and all the standard Crystal Sub-Totals (Summaries) work just fine. The problem I encounter is when I need to insert another Sub-Total into Group A which summarizes multiple parts of Group A e.g. Part 1 is Sales, Part 2 is Cost of sales, Part 3 is Labour, Part 4 is Expenses, Part 5 is Other and Part 6 is Depreciation. I need to insert a Sub-Total between Parts 3 and 4 which basically gives a total of Sales minus Cost of Sales minus Labour and to then continue with Parts 4 to 6. This is obviously a huge simplification of the issue but an answer to this would let me proceed with everything else.
I've tried creating an line so I can add a formula for this by giving it a name of its own in Group A but it fails to appear on the report. I've also tried the 'Insert Section Below' option and whilst I can suppress it where necessary the formula just picks up values from the last entry on the Detail Section.
Any ideas where I am making some elementary mistakes and is there an easy solution? Many thanksHi,
Try to create a manual running total formula for summing the fields with a condition.
Create a @reset formula and place it report header:
formula:
whileprintingrecords;
numbervar i:=0;
Create a @eval formula and place it in group header A:
formula:
whileprintingrecords;
numbervar i;
if {groupname.field} = 'Labour' or {groupname.field} = 'Expenses' then
i:= i + {summary.field};
Create a @display formula and place it in report footer;
formula:
whileprintingrecords;
numbervar i;
Hope this helps!
Regards,
Vinay -
Creation of Sub Contracting PO through Maintenance Order
Dear All,
I am aware of the sub contracting indicator to be cliked in the maintenance order in order for the system to generate a Sub Contracting PO through Maintenance Order. However I am unable to see this indicator in maintenance order fields.
Is there anything that I am missing in customising settings or is this related to activation of any business function sets.
I am working in ECC 6.0 EhP 5.0.
Need your help / inputs so as to resolve my issue.
Thanks in advance.
JKHi Tehsin,
Thanks for ur response.
However this is something I am aware of. The settings suggested by you will automatically generate a PR with Account Assignemnt Category as 'Order' (F) & Item Category as 'Service' (D) combination.
I am looking for the auto generation of PR through the maintenance order with Account Assignemnt Category as 'Order' (F) & Item Category as 'Sub Contracting' (L) combination.
Looking forward to hear from all.
Thanks in advance
JK. -
Logical Database PNPCE and inherited Sub Area
Hi,
I have asked this in the HR forum but no response......
I have a report using Logical Database PNPCE to find some values from a couple of info types. When I select a unit (from the 'OrgStructure' button at the top of the screen), say 111, and all its sub-units with no selections in the selection screen, I get one person displayed. This is correct and this person is in a sub-unit 3 levels down (unit 333).
I then added a selection to only display people in units with Personnel SubArea 'OTEC'. Now I get no results output. When I look in PPOME, I can see that unit 333 has Personnel SubArea 'OTEC' but it is inherited from '111'.
In PP01, unit 111 has an Account Assignment entry (Info Type 1008) but 333 does not.
Does anyone know how to report on this?
Is there a flag somewhere that tells the LDB to check for inherited units?
If not, any ideas if there is a function out there to find the superior unit for these sub-units?
Thanks.Thanks,
I am aware of that FM but how do I find the parent unit in a clever fashion?
The structure could have multiple levels e.g.
Unit 1 - Unit 2a - Unit3a......
- Unit 2b
- Unit 2c
Unit 1 is the parent and all the below units inherit from it.
The LDB is looping through an internal table with a list of the units. It finds Unit 1 but not the rest.
So, when the LDB is looking for Unit 3a, how does it know that Unit 1 is the parent?
If I use that FM, I think I would have to look for all units above it and see if there is an Info Type 1008 exists. Seems like a lot of processing for something that should be simple?
Kroc. -
In adobe bridge cs6 i would like to pre build the thumb nails on an entire drive inc sub folders
in adobe bridge i would like to build all the thumbnails for the drive so when i go to a sub folder all the iamges are ready to go. i have tried select all and then build hq thumbnail but it only did the images in the root folder i was in. not the sub folders. what am i doing wrong?
thanks,
michaelThey're both wrong
In your dreams…
Maybe I did not understand the OP correctly but using build and export cache usually creates less free space (certainly) and more problems (very likely…) hence I never advice this route. On a Mac this means double cacheing, first in Central Cache (same as our answer before) and also extra cache in folders. -
Can not update tab if its not the default sub-tab.
Can not update tab if its not the default sub-tab.
JDeveloper Version 10.1.2.1.0 (Build 1913)
Hi. I have a problem with a lovOpenWindowAction
The UIX is created with a master UIX and have several sub-tab that is included as UIX-pages.
The lovOpenWindowAction lies in the included UIX-page
The sub-tab I have a problem with has a table with users. Then I have a Create New button than I want to click on and select a new user that should be included in the table in the sub-tab.
When I click on the button I open a LOV-window. Here I select the user that I want to add.
In the LOV Action-class I save my new value in the database. Then in the method onLovUpdate I update the iterator with the new values from the database.
But in my GUI the subtab is not updated until I click on it.
But if I make the subtab the default subtab then it all works just fine and the GUI is updated directly.
Here is the code for the tableAction in the subtab. This code lies in an included UIX-page. Target is the table id.
<tableActions>
<button text="Create New" id=" createNewRollperson" accessKey="N">
<primaryClientAction>
<lovOpenWindowAction destination="FiskeRollpersonerLOV.do"
source=" createNewRollperson "
targets="joinedRollpersfiskeer message"/>
</primaryClientAction>
</button>
</tableActions>
Here is some code from the master UIX-page
<subTabLayout id="flikar">
<subTabs>
<subTabBar selectedIndex="${ui:defaulting(param.index,0)}">
<contents>
<link id="resorFlik" text="Resor"
disabled="${sessionScope.fiske.id == null}"
selected="${(param.source == 'resorFlik') or empty param.source}">
<primaryClientAction>
<firePartialAction event="changeTab" targets="flikar globalHeader">
<parameters>
<parameter key="source" value="resorFlik"/>
</parameters>
</firePartialAction>
</primaryClientAction>
</link>
<link id="rollpersonerFlik" text="Rollpersoner"
disabled="${sessionScope.fiske.id == null}"
selected="${param.source == 'rollpersonerFlik'}">
<primaryClientAction>
<firePartialAction event="changeTab" targets="flikar globalHeader">
<parameters>
<parameter key="source" value="rollpersonerFlik"/>
</parameters>
</firePartialAction>
</primaryClientAction>
</link>
</contents>
</subTabBar>
</subTabs>
<contents>
<switcher childName="${param.source}"
defaultCase=ResorFlik">
<case name="resorFlik">
<include node="${ctrl:parsePage(uix, 'includes/ResorFlik')}"/>
</case>
<case name="rollpersonerFlik">
<include node="${ctrl:parsePage(uix, 'includes/FiskeRollpersonerFlik')}"/>
</case>
</switcher>
</contents>
</subTabLayout>
What am I missing?? I cant have this subtab as the default subtab! Please help me with a solution!hi,
Change the condition type to manual entry.
or
for example delivery costs will be different at the time of PO and actual delivery costs then at the time of invoice we select planned delivery costs and settle them first with the actual delivery cost.
Thanks & Regards,
Kiran -
IPSec tunnel on sub-interface on ASA 5510
Hello All,
I working on a security solution using ASA firewall and need some technical advice on ASA. Is it possible to setup a IPSec tunnels on each subinterface of a physical interface on ASA 5510?
I would be greatul if someone please reply post this with some details.
Regards,
MudsHi Jennifer,
Thanks very much for your reply. I understand where you coming from, but the reason of using sub-interfaces is that, we have only one physical interface on the firewall connected to the MPLS cloud, and we need to setup a seperate IPSec tunnels for each client for security and integrity. In the current scenario, I have static peers and we can easily setup a static route to peer address.
Many thanks for your assistance, please feel free to to advise if you have any other suggestion.
Regards,
Muds -
Sub-account cannot send email from Apple Mail
I've tried setting up two sub-accounts to send/receive email but no matter what I try, these accounts error out on sending email. Looks like they aren't recognized by smtp server. Is there a different setting for sub-accounts?
I fixed my problem - I deleted my email account on my iPhone, then tried to setup a new account. I had a few problems setting it up. It wouldn't recognize the incoming or outgoing servers and I lost my email altogether for a few hours. Then I changed every setting possible and finally figured out that I had 2-3 "Other SMTP Servers" as well as my "Primary Server". Once I deleted the Other SMTP Servers, my email worked and i'm able to send emails now!
I also think changing the "Server Port" number helped solve my problem also, and making sure "Use SSL" was turned off. -
The difference between IEEE802.1Q Native VLAN sub-interface and Physical interface?
Hello
I think the following topologies are supported for Cisco Routers
And the Physical interface also can be using as Native VLAN interface right?
Topology 1.
R1 Gi0.1 ------ IEEE802.1Q Tunneling L2SW ------ Gi0 R2
R1 - configuration
interface GigabitEthernet0.1
encapsulation dot1Q 1 native
ip address 10.0.0.1 255.255.255.0
Topology 2.
R1 Gi0 ------ IEEE802.1Q Tunneling L2SW ------ Gi0 R2
interface GigabitEthernet0
ip address 10.0.0.1 255.255.255.0
And is it ok to use the physical interface and sub-interface with dynamic routing such as EIGRP or OSPF etc?
R1 Gi 0 ---- Point to Multipoint EIGRP or OSPF ---- Gi0 R2 / R3
Gi 0.20--- Point to Point EIGRP or OSPF --- Gi0.10 R4 (same VLAN-ID)
R1 - configuration
interface GigabitEthernet0
ip address 10.0.0.1 255.255.255.0
interface GigabitEthernet8.20
encapsulation dot1Q 20
ip address 20.0.0.1 255.255.255.0
Any information is very appreciated. but if there is any CCO document please let me know.
Thank you very much and regards,
Masanobu HiyoshiHello,
The diagram is helpful.
If I am getting you correctly, you have three routers interconnected by a switch, and you want them to operate in a hub-and-spoke fashion even though the switch is capable of allowing direct communication between any of these routers.
Your first scenario is concerned with all three routers being in the same VLAN, and by using neighbor commands, you force these routers to establish targeted EIGRP adjacencies R1-R2 and R1-R3, with R1 being the hub.
Your second scenario is concerned with creating one VLAN per spoke, having subinterfaces for each spoke VLAN created on R1 as the router, and putting each spoke just in its own VLAN.
Your scenarios are not really concerned with the concept of native VLAN or the way it is configured, to be honest. Whether you use a native VLAN in either of your scenarios, or whether you configure the native VLAN on a subinterface or on the physical interface makes no difference. There is simply no difference to using or not using a native VLAN in any of your scenarios, and there is no difference to the native VLAN configuration being placed on a physical interface or a subinterface. It's as plain as that. Both your scenarios will work.
My personal opinion, though, is that forcing routers on a broadcast multi-access segment such as Ethernet to operate in a hub-and-spoke fashion is somewhat artificial. Why would you want to do this? Both scenarios have drawbacks: in the first scenario, you need to add a neighbor statement for each spoke to the hub, limiting the scalability. In the second scenario, you waste VLANs and IP subnets if there are many spokes. The primary question is, though: why would you want an Ethernet segment to operate as a hub-and-spoke network? Sure, these things are done but they are motivated by specific needs so I would like to know if you have any.
Even if you needed your network to operate in a hub-and-spoke mode, there are more efficient means of achieving that: Cisco switches support so-called protected ports that are prevented from talking to each other. By configuring the switch ports to spokes as protected, you will prevent the spokes from seeing each other. You would not need, then, to configure static neighbors in EIGRP, or to waste VLANs for individual spokes. What you would need to do would be deactivating the split horizon on R1's interface, and using the ip next-hop-self eigrp command on R1 to tweak the next hop information to point to R1 so that the spokes do not attempt to route packets to each other directly but rather route them over R1.
I do not believe I have seen any special CCO documents regarding the use of physical interfaces or subinterfaces for native VLAN or for your scenarios.
Best regards,
Peter
Maybe you are looking for
-
"Mini DVI to HDMI" or "Mini DVI to VGA" to go to Samsung LN32B460 HDTV?
I recently purchased a "DOA"/defective "Mini DVI to HDMI" converter off of ebay, and the company is making me spend the $10 to return it to China - which I'm not doing (I only paid $10 for it in the first place). I am wondering if I should buy anothe
-
How to calculate the 'real data of arrival' in PO item
Hi, Confirmation control keys with control type u201CDAu201D are MRP relevant 1. = New field time of transportation in calendar days 2. = Confirmation control type u201CABu201D (order confirmation) 3. = Confirmation control type u201CLAu2
-
How do I set priority of a While Loop in RT in a FP2010?
Sorry about a duplicate post. I could not find my post from last night. I want to run a vi with 2 while loops in my FP-2010 with different priorities. One is time critical running a PID, the other is low priority for communications with a PC host. Ho
-
Lot size in BOM as well as for alternate material
how can we define the Lot size and validity period for a BOM means we want to define that 1 to 100 qty are to be produced with alternate 1 and 101 to 1000 for alternate 2. How the same can be defined in the master BOM. There is one component in the B
-
TS4268 facetime doesnt find other ipad users with email address
Just setting up a new ipad mini air and the facetime will not find email contacts