Several CRUDLs again: App from existing table Form on table with report?
Hi,
I posted a message a couple of days ago, asking if it was possible to automatically generate several CRUDL gui patterns per application. Later I answer myself discovering that the "Form on table with report" option for creating a page, make just that.
However, I can see that the option for application level CRUDL (app from existing table) has more functionality (search, export to excel, data analysis, even charts, cool ;-). It creates about 10 pages per table, contrasting with the two created by the "Form on table with report" option. I thought that "Report with form" could be the answer, but it seems just another link to the same option.
So, once again: is possible to call the functionality of "App from existing table", several times within the same application? (of course each time is likely to refer a distinct table). How do I insistently ask for this? Well, cause I can see in my horizon many applications what will entirely consist of table-maintenance services ... so, with htmldb I could generate them very fast!. In fact, once I have toasted my crudl pattern I would even like to save it and generate the applications on a non interactive basis (maybe calling something in pl/sql?, command line?) ... is that possible?
Thanks in advance,
salu2
dario estepario ..
Hi Scott,
Dario - The "create application from existing table"
functionality was available in 1.6. In 2.0, the
Create Application wizard has changed. But you can
create as many sets of pages in the same application
as you need, all on different tables, using the
patterns available in that wizard. You can also
supplement those generated pages later by creating
chart pages or whatever else you need.Mmm?, ups ... them am I running the 1.6 version? I installed it from the companion cd. Ok, I'll try the separately distributed htmldb version. Thanks.
>
At present there is no exposed API to let you do any
of this programmatically.;-(
>
ScottRegards,
dario estepario ...
Similar Messages
-
Download again apps from itunes
Hi, I own a Mac book pro and about 2 years ago i buy from itunes 2 apps (imove 11 and disk doctor) which i cant download now with my account. Can you help me .... Also i have the order numbers.
If you have the left-hand sidebar showing click Apps under Library, if you don't have the left-hand sidebar showing then click Done at the top right of the screen to go back to your library and then select Apps via the selection button top left.
You will now be able to permanently delete apps from itunes - Select app - right click - delete - send to recycle bin -
Migrating iLife apps from new iMac to G5 machine with Leopard
I bought the iMac which came with iLife and then built up a dual proc G5 to do music and video on. I don't want to have to buy a copy of iLife since I already have it but really want Garage Band, Movie Maker and iDVD on the G5. I started to migrate these with Migration Assistant but it didn't give me an option to choose just those apps. Is there a problem with me migrating all apps and then just deleting the ones I don't need on the G5? I assumed this would move the licenses for the apps from the iMac to the G5. Can someone confirm if the Migration effectively uninstalls the app on the machine it's being migrated from?
I'm not interested in making a copy of these three apps and am happy to delete them from iMac once moved over but it's not clear to me that this will work (even thought guys as the Apple store said I could do it).
ThanksThe short answer is probably no.
I have 2 imacs both Intel.
I was having a problem with iLife apps on my older imac and so I dumped the iLife apps to reinstall them.
I inserted the install disk for my newer imac and it refused to allow me to install from that disk.
I used Pacifist and it worked for all apps except iPhoto which would not work properly even after several attempts.
I located my iLife 08 disk and it installed fine.
Despite the fact that most of the iLife apps seemed to install using Pacifist, they were suspect so I installed them all afresh from the ILife 08 disk.
The last thing I need is a program that may screw up and lose some of my photos, movies or compositions, especially when the package is reasonably priced. -
Is there a way to transfer all the music and apps from an iphone to a computer with a new hard drive
I've had a new hard drive fitted in my laptop and i wanted to know if there is a way that i could tranfer my music and app from my iphone to itunes on the computer?
Yes, the Mac can read NTFS drives, but not write to them.
If you have the drive formatted FAT or exFAt then the Mac can read and write to it. But before formatting, remove the data as it's erased, and format it on the PC as it's easier. Right click on Windows and Format.
Drives, partitions, formatting w/Mac's + PC's
Moving your personal data via the external drive is likley the best option, there are other methods like Migration, but they are problematic and take a long time, a drive is simple, fast and direct. -
Hi,
I am using dynamic table concepts.I am using field symbols.I need to maintain two tables of similar structure.
when i append data it will enter into both tables.when i unassign first table and reassign it ,i am getting back that data again into first table ..how to slve this problem.i need to start first table as fresh table and second table contain copy of the first table.Hi,
maybe you should clarify your problem a bit more by pasting some code and try to explain it a bit more in detail.
Roy -
I had created a form on table with report. When the user clicks on the link image on the report, it query up the data on the form. It does all of the DML on the form behind the scenes. Now I have to do the same thing, but the form needs to be based on SQL Query instead. What do I have to do to have the link from the report automatically call of the data in the form?
The easiest way is to create a view with an INSTEAD OF trigger which does the insert/update/delete into the underlaying tables.
That will allow you to use all the processes the wizard creates for you and without having to write any code in APEX.
Patrick
My APEX Blog: http://www.inside-oracle-apex.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New! -
Frm-41213 SO: Linux 64bits,Oracle Forms 10g Integration With Reports
Oracle Forms [32 bits] Versión 10.1.2.0.2 with Reports Fails. The Report Server Is Up, the file test.rdf its executed ok. but when a button have the next code. all its wrong.... helpme...
PROCEDURE REPORT IS
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(50);
BEGIN
repid := find_report_object('mireport');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_serverias_home_middle');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
WEB.SHOW_DOCUMENT('http://miserver.dominio.com:7778/reports/rwservlet/getjobid'||
substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_serverias_home_middle');
ELSE
message('Error when running report');
END IF;
END;
REPORTS_CLASSPATH and REPORTS_PATH seting Ok.
the next ist the default.env.
ORACLE_HOME=/oracle/products/middle
FORMS_PATH=/oracle/misaplications/modu01/lib:/oracle/misaplicationes/modu02/menus:/oracle/misaplicationes/modu01/images:/oracle/misaplicationes/modu01/icons:/oracle/misaplicationes/modu01/submod01/source:/oracle/misaplicationes/modu01/submod02/source:/oracle/misaplitaciones/modu01/submod03/source:/oracle/misaplitaciones/modu01/submod04/source:/oracle/misaplicationes/modu01/submod05/source:/oracle/misaplicaciones/modu01/submod07/source:/oracle/products10g/middle/forms
WEBUTIL_CONFIG=/oracle/products10g/middle/forms/server/webutil.cfg
LD_ASSUME_KERNEL=2.4.21-4.EL
CLASSPATH=/oracle/products10g/middle/forms/java/imagenes.jar:/oracle/products10g/middle/forms/webutil/frmwebutil.jar:/oracle/products10g/middle/forms/webutil/jacob.jar:/oracle/products10g/middle/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/oracle/products10g/middle/jlib/repository.jar:/oracle/products10g/middle/jlib/ldapjclnt10.jar:/oracle/products10g/middle/jlib/debugger.jar:/oracle/products10g/middle/jlib/ewt3.jar:/oracle/products10g/middle/jlib/share.jar:/oracle/products10g/middle/jlib/utj.jar:/oracle/products10g/middle/jlib/zrclient.jar:/oracle/products10g/middle/reports/jlib/rwrun.jar:/oracle/products10g/middle/forms/java/frmwebutil.jar:/oracle/products10g/middle/forms/java/frmall.jar
REPORTS_CLASSPATH=/oracle/products10g/middle/jlib/zrclient.jar:/oracle/products10g/middle/reports/jlib/rwrun.jar
#FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>/forms/server
the next ist the reports.sh.
ORACLE_HOME=/oracle/products10g/middle; export ORACLE_HOME
PATH=$ORACLE_HOME/jdk/bin:$ORACLE_HOME/bin:${PATH}; export PATH
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
## TWO_TASK=< two task name >; export TWO_TASK
## ORACLE_SID=< ORACLE SID >; export ORACLE_SID
## setting for Reports Runtime
RW=$ORACLE_HOME/reports; export RW
REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:/oracle/aplicaciones/sioper/geo/reports:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers:${REPORTS_PATH}; export REPORTS_PATH
REPORTS_TMP=/tmp; export REPORTS_TMP
REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar; export REPORTS_CLASSPATH
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
## Icon variable for Solaris platform
TK_ICON=$ORACLE_HOME/reports/plugins/resource; export TK_ICON
#REPORTS_DEFAULT_DISPLAY=NO; export REPORTS_DEFAULT_DISPLAYI thought I did, using batch=yes option. However, when running:
$ rwserver.sh server=repsrv
the pop-up window shows "Report Server is starting up". It does not change to "Report Server is ready".
Thanks -
Passing a parameter list from a web form to a report
I am using FORMS6 and REPORTS6, with OAS 4.07 on NT4 (SP3).
In client server mode all works well - i am able to pass parameter lists from my calling form to the relevant reports and view them (using RUN_PRODUCT).
However, when i try and do the same by deploying the web Form I come up against several obstacles.
1. How do you pass a parameter list over without using "Paramform=Yes" - a waste of time seeing a html version of the reports parameter form when all the necessary parameters have been selected in the form.
2. if i use web.show_document, with paramform=no, the report runs but with it's default settings.
Any light you can shed would be greatly appreciated.Hi Tony ,
Launcher form is just a simple form(Non database form) which will be having all fields that is required for the report and button to run the report .
When button pressed trigger
Pass all the parameters which are required using Run_product tool & Call the report by Web.Show_document
Best way to see the report is in .pdf format in adobe acrobat reader
I hope it will help you
Bye
Rao guduru -
Can not install apps from appstore on my iPhone
When I download apps from iTunes, and want to synchronize with my iPhone, I keep getting and pop-up error saying something like "The Program xxx could not be installed on your iPhone because you are not authorized to play it on this computer"
I am running the latest version of iTunes on a PC with Vista, and I have tried to authorize and de-authorize my computer several times with no success.Welcome to the discussions,
did you try the suggestions in this article, especially the "remove SC folder"? http://support.apple.com/kb/TS1389 -
Extract Tag Tree from existing PDF
Hello,
We are starting a new project where a user can accessibility check their pdf. They do this by uploading the pdf file and on a new screen we are supposed to show if the tag tree of the pdf (if it has tags).
Can the tag tree from an existing pdf be extracted on the server by running some command line code in the background or by calling a method in the .NET SDK? Anyone have any ideas.
If this isn't possible does anyone know of any other software programs that I might use in order to get this information. As long as I can get the tag tree I shouldn't have any problem marking it up into HTML and rendering it to the person's browser.
Thanks,
Dustin MichaelsAre you sure you can't install it on a windows server? This links says you can.
http://www.adobe.com/products/acrobatpro/productinfo/systemreqs/Re: Extract Tag Tree from existing PDF
Microsoft® Windows® 2000 with Service Pack 4; Windows Server® 2003 (32-bit or 64-bit editions) with Service Pack 1; Windows XP Professional, Home, Tablet PC, or 64-bit Editions with Service Pack 2; or Windows Vista™ Home Basic, Home Premium, Ultimate, Business, or Enterprise (32-bit or 64-bit editions).
Anyway even if you couldn't install it on a server we could always have it installed on a Windows XP machine and have the windows server contact the Windows XP machine to get the tag tree from the pdf uploaded.
Do you have any idea how you might extract the tag tree regardless of what operating system adobe acrobat is running on using some .NET code?
Thanks,
Dustin Michaels -
I am not able to transfer apps from itune to my iphone 4 with IOS 6.1.3 and i am using itune 11.0.4.Its halt in the 4 step only. IT shows determinig the app after that it stop synching. Help me to solve this problem
Are you using the same Apple ID as when the app has been bought?
Is the app running under iOS6?
Can you download the app via WiFi onto your phone?
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
Iam not able to transfer apps from itunes to my iphone 4
iam not able to transfer apps from itunes to my iphone 4
SYNCING with iTunes
See here > http://support.apple.com/kb/HT1386
From Here > http://www.apple.com/support/iphone/syncing/ -
HT4211 With ios7 I can no longer remove apps from multitasking. How can I do this?
How do I remove apps from multitasking as I used to with earlier iOS?
You still double-click the home button to open the multitasking bar, but with iOS 7 you now swipe/drag an app from there up and off the top of the screen to close it :
-
Form can not connect report service
Dear all,
My application using fileupload utility from demo files form90 and combine with report.
If I not upload some file into IAS server using fileupload utility then I cannot execute command to print a report. It says 'Cannot connect to report server'.
But if I don't run fileupload, it can print the report.
Is it some conflict between fileupload utility and report server?
the code is :
DECLARE
report_id Report_Object := find_report_object('TRANSFER');
ReportServerJob VARCHAR2(100);
vc_rep_status VARCHAR2(100); -- status of the Report job
vjob_id VARCHAR2(100); -- job_id as number only string
BEGIN
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'iasrep');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'p_trfno='||:V_PB_REPORT.FTTRNO ||
' paramform=no');
ReportServerJob:=run_report_object(report_id);
vjob_id := substr(ReportServerJob,length('iasrep')+2,length(ReportServerJob));
vc_rep_status := REPORT_OBJECT_STATUS(ReportServerJob);
IF vc_rep_status='FINISHED' THEN
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'||vjob_id||'?server=iasrep','_blank');
ELSE
message ('Report failed with error message '||vc_rep_status);
end if;
END;
pls help me.
best regards
Jansen HutagalungHi Jansen,
The problem could be caused by incorrect PATH or CLASSPATH. Set the PATH and CLASSPATH not in Windows system environment but in default.env file like :
ORACLE_HOME=d:\806_home
PATH=d:\806_home\bin;D:\ias9i\Apache\jdk\jre\bin\classic
CLASSPATH=d:\806_home\forms60\java;d:\806_home\forms60\java\UploadServer.jar
The above ones are just example, edit to suit your environment.
Next, ensure the uploadclient.jar.sig is in the FORMS_HOME\forms60\java and you have set the
archive_jini parameter in the formsweb.cfg as follows:
archive_jini=f60all_jinit.jar,uploadclient.jar.sig
Please try and update the results.
Thanks,
Vinod. -
Hi for past 3 days i was thinking and breaking my head on how to add entire new at top table created in pdf report from c# windows forms with iTextSharp.
First: I was able to create/export sql server data in form of table in pdf report from c# windows forms. Given below is the code in c#.
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
using System.Data;
using System.IO;
using System.Data.SqlClient;
using System.Windows.Forms;
using iTextSharp.text;
using iTextSharp.text.pdf;
namespace DRRS_CSharp
public partial class frmPDFTechnician : Form
public frmPDFTechnician()
InitializeComponent();
private void btnExport_Click(object sender, EventArgs e)
Document doc = new Document(PageSize.A4.Rotate());
var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
doc.SetMargins(50, 50, 50, 50);
doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
doc.Open();
PdfPTable table = new PdfPTable(7);
table.TotalWidth=585f;
table.LockedWidth = true;
PdfPTable inner = new PdfPTable(1);
inner.WidthPercentage = 115;
PdfPCell celt=new PdfPCell(new Phrase(new Paragraph("Institute/Hospital:AIIMS,NEW DELHI",FontFactory.GetFont("Arial",14,iTextSharp.text.Font.BOLD,BaseColor.BLACK))));
inner.AddCell(celt);
Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
para.Alignment = iTextSharp.text.Element.TITLE;
iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
png.ScaleToFit(95f, 95f);
png.Alignment = Element.ALIGN_RIGHT;
SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
conn.Open();
SqlDataReader dr;
dr = cmd.ExecuteReader();
table.AddCell("ID");
table.AddCell("First Name");
table.AddCell("Middle Name");
table.AddCell("Last Name");
table.AddCell("DOB" );
table.AddCell("Gender");
table.AddCell("Designation");
while (dr.Read())
table.AddCell(dr[0].ToString());
table.AddCell(dr[1].ToString());
table.AddCell(dr[2].ToString());
table.AddCell(dr[3].ToString());
table.AddCell(dr[4].ToString());
table.AddCell(dr[5].ToString());
table.AddCell(dr[6].ToString());
dr.Close();
table.SpacingBefore = 15f;
doc.Add(para);
doc.Add(png);
doc.Add(inner);
doc.Add(table);
doc.Close();
The code executes well with no problem and get all datas from tables into table in PDF report from c# windows forms.
But here is my problem how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
As the problem i am facing is my title or Header(DCS Clinical Report-Technician wise) is at top of my image named:logo5.png and not coming to it's center position of my image.
Second the problem i am facing is how to add new entire row to top of existing table in pdf report from c# windows form using iTextSharp?.
given in below is the row and it's data . So how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
as you can see how i create my columns in table in pdf report and populate it with sql server data. Given the code below:
Document doc = new Document(PageSize.A4.Rotate());
var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
doc.SetMargins(50, 50, 50, 50);
doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
doc.Open();
PdfPTable table = new PdfPTable(7);
table.TotalWidth=585f;
table.LockedWidth = true;
Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
para.Alignment = iTextSharp.text.Element.TITLE;
iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
png.ScaleToFit(95f, 95f);
png.Alignment = Element.ALIGN_RIGHT;
SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
conn.Open();
SqlDataReader dr;
dr = cmd.ExecuteReader();
table.AddCell("ID");
table.AddCell("First Name");
table.AddCell("Middle Name");
table.AddCell("Last Name");
table.AddCell("DOB" );
table.AddCell("Gender");
table.AddCell("Designation");
while (dr.Read())
table.AddCell(dr[0].ToString());
table.AddCell(dr[1].ToString());
table.AddCell(dr[2].ToString());
table.AddCell(dr[3].ToString());
table.AddCell(dr[4].ToString());
table.AddCell(dr[5].ToString());
table.AddCell(dr[6].ToString());
dr.Close();
table.SpacingBefore = 15f;
doc.Add(para);
doc.Add(png);
doc.Add(table);
doc.Close();
So my question is how to make my column headers in bold?
So these are my questions.
1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
3.how to make my column headers in bold?
I know that i have to do some modifications to my code but i dont know how to do it. Can anyone help me please.
Any help or guidance in solving this problem would be greatly appreciated.
vishalHi,
>>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
3.how to make my column headers in bold?<<
I’m sorry for the issue that you are hitting now.
This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
http://sourceforge.net/projects/itextsharp/
Thanks for your understanding.
Regards,
Marvin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
While I may allow a customer to see their billing address, I don't want them to change it. How can I make certain fields read-only?
-
After releasing the order same screen user updating the quantity in process order in sap pp
Hi experts, After releasing the order in the same screen user updating the quantity in process order in sap pp. How to control it. can any help in this regards Thanking you, Rishit.
-
External field addition in smartforms
Hi dis is vinod.I want information regarding adding a field in smartform without disturbing actual print program as we can do in scripts using 'ITCSY' structure ie using subroutine.can we add a field like that or not.If so how can we go ahead. Thanxs
-
Records storing in FND_MENU_ENTRIES_TL Table in different Order
Hi, FND_MENU_ENTRIES_TL Table storing the records FND_MENU_ENTRIES_TL_N1(MENU_ID,PROMPT,LANGUAGE) wise in R12. But whereas in 11i, records stored in the Order of FND_MENU_ENTRIES_TL_U1(MENU_ID,ENTRY_SEQUENCE,LANGUAGE). I am confused, whether i need t
-
Country list in iPhone Contacts
The list of countries does not include all of them. Somebody knows how to add a country in contact address?