Help with entering a date in a form

Not sure what's going on here, but its probably something simple, and me missing something obvious...
Basically I have a form to add a record to a database table.
I have two date fields in the table, of the type, Date.
This is my code for adding the record :
// Add columns
$ins_clients->setTable("clients");
$ins_clients->addColumn("name", "STRING_TYPE", "POST", "name");
$ins_clients->addColumn("company", "STRING_TYPE", "POST", "company");
$ins_clients->addColumn("website", "STRING_TYPE", "POST", "website");
$ins_clients->addColumn("tel", "STRING_TYPE", "POST", "tel");
$ins_clients->addColumn("mobile", "STRING_TYPE", "POST", "mobile");
$ins_clients->addColumn("email", "STRING_TYPE", "POST", "email");
$ins_clients->addColumn("enquirydate", "DATE_TYPE", "POST", "enquirydate");
$ins_clients->addColumn("business", "STRING_TYPE", "POST", "business");
$ins_clients->addColumn("future", "STRING_TYPE", "POST", "future");
$ins_clients->addColumn("potential", "STRING_TYPE", "POST", "potential");
$ins_clients->addColumn("callback", "DATE_TYPE", "POST", "callback");
$ins_clients->addColumn("notes", "STRING_TYPE", "POST", "notes");
$ins_clients->setPrimaryKey("ID", "NUMERIC_TYPE");
And these are the form fields for the dates :
<input type="text" name="enquirydate" id="enquirydate" value="<?php echo KT_formatDate($row_rsclients['enquirydate']); ?>" size="32" />
<input type="text" name="callback" id="callback" value="<?php echo KT_formatDate($row_rsclients['callback']); ?>" size="32" />
All of which seems about right.
But even when I enter dates in the format 2010-09-23, all that's being written back to the database is 0000-00-00.
Any ideas where I'm going wrong?
Thanks.

I've never seen the method you're using to modify a table before, so I can only add some speculation.
I'm not familiar with the commands that you're using but it looks like you're trying to create a new table instead of adding a record to a table and that would explain why the database isn't returning the values you're intending - I could be wrong though .
Are you using a MySQL database? If so, try using a different method to add information to the database and see if that leads to some successful results.
Use this method to create a table.
Use this method to insert information into a table.
Good luck!

Similar Messages

  • Help with XML, display data on swipe/click

    Hello.
    I am trying to create a moibile app that displays XML data. It's basically a phone book. I want the data to change when swiped. I can get the data in just fine. I can get it to display fine. I am not seeing the correct image first, however. I think it's a problem with my imagenum variable.
    Then, I want to change what is displayed when the user clicks/swipes on the screen. How do I do that?
    stop();
    var nameArray:Array = new Array();
    var countryArray:Array = new Array();
    var portraitArray:Array = new Array();
    var flagArray:Array = new Array();
    var jobtitleArray:Array = new Array();
    var imageNum:Number=0;
    var totalImages:Number;
    //Load XML
    var XMLURLLoader:URLLoader = new URLLoader();
    XMLURLLoader.load(new URLRequest("recbook.xml"));
    XMLURLLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(event:Event):void {
    var theXMLData:XML = new XML(XMLURLLoader.data);
    totalImages=theXMLData.name.length();
    for (var i:Number =0; i < totalImages; i++){
      //push xml data into the arrays
      nameArray.push(theXMLData.name[i]);
      countryArray.push(theXMLData.country[i]);
      portraitArray.push(theXMLData.portrait[i]);
      flagArray.push(theXMLData.flag[i]);
      jobtitleArray.push(theXMLData.jobtitle[i]);
    //data is processed
    loadData();
    function loadData():void {
    var thisPortrait:String = portraitArray[imageNum];
    var thisCountry:String = countryArray[imageNum];
    var thisName:String = nameArray[imageNum];
    var thisJobtitle:String = jobtitleArray[imageNum];
    var thisFlag:String = flagArray[imageNum];
    var dataLoader:Loader = new Loader();
    dataLoader.load(new URLRequest(portraitArray[imageNum]));
    dataLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dataLoaded);
    function dataLoaded(event:Event):void {
      //I want to start with image 0 (img1.jpg) and cycle through with a mouse click (finger swipe on iOS)
      stage.addEventListener(MouseEvent.CLICK, loadMainImage1);
      function loadMainImage1(event:MouseEvent):void {
       portraitUILoader.source=thisPortrait;
       flagUILoader.source=thisFlag;
       selectedName.text=thisName;
       selectedCountry.text=thisCountry;
       selectedJobtitle.text=thisJobtitle;
    //add to imageNum (1);
    imageNum++;
    if (imageNum < totalImages) {//stopping at img2
      trace("imageNum " + imageNum);
      trace("image name (thisPortrait) " + thisPortrait);//losing image 4 somewhere
      loadData();
      trace("Total Images " + totalImages);
    //click to move past the home screenI'd like to ditch this. don't know how.
    homeScreen_mc.addEventListener(MouseEvent.CLICK, goNext);
    function goNext(event:MouseEvent):void
    nextFrame();
    */here's the output:
    imageNum 1
    image name (thisPortrait) images/img1.jpg
    imageNum 2
    image name (thisPortrait) images/img2.jpg
    imageNum 3
    image name (thisPortrait) images/img3.jpg
    Total Images 4
    Total Images 4
    Total Images 4
    Total Images 4
    It starts the display on image 1 (the second in the series img2.jpg)*/

    Thank you.
    That helped. I get the correct images in the output, but not in the display. I also get the following error. Any chance you could help with that?
    new output after moving the increment:
    imageNum 0
    image name (thisPortrait) images/img1.jpg
    imageNum 1
    image name (thisPortrait) images/img2.jpg
    imageNum 2
    image name (thisPortrait) images/img3.jpg
    imageNum 3
    image name (thisPortrait) images/img4.jpg
    TypeError: Error #2007: Parameter url must be non-null.
    at flash.display::Loader/_load()
    at flash.display::Loader/load()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/processXML()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

  • Help with excel grouped data and sorting to keep data intact

    I have a master spreadsheet with lots of data. I am trying to grouped the data based on physical address/city, add the values and once done sort it by valuation based on descending order by valuation but my data keep messing up.
    So in Row 1/col A: Address 1; Col B City: XXX; Col C: Valuation $$$
    Row 2/col A: Address 1; Col B City: XXX; Col C: Vauation $$$
    Row 3/col A: Address 2; COl B City: YYY; Col C:  Valuation $$$
    SO I sort by city and in ROw 1/2 same city with same address, I grouped it.  THen I created a new row below Row 3 and add up the grouped data (i.e. ROw 1 and 2).  I go through the entire list to finalize the grouped locations.  
    But when I am done and I sort by Valuation, all my data messed up coz I created a new row with addition of grouped location valuation and the formula gets messed up.
    Any one with ideas please help.  My deadline for this project is just a week away and I am freaking out.
    THanks in advance.

    it seems upload a sample is more clearly about the required.
    KR

  • Need help with entering data into a table.

    I just created a table, but I can't enter information.  I don't want the data linked to a datasource.  I just want it to save to the form like all of the other fields.

    Even when I create a simple table, no ability to enter information.  Please help.  I know this must be a simple answer, but surprised that there is no response.

  • Help with an expanding table on a form

    I currently use a form as a photo log for tracking the image number and a photo description.  The form was created in MS Word.  I would like to create this form using LiveCycle Designer and have tried a few things but nothing works the way I would like it to.  The photo log is a table with two columns and a header row.  The table expands (by using the TAB key) the number of rows commensurate with the number of photos entered.  The columns are for a photo number and a photo description.  I would like to be able to create this in LIveCycle so that it works as easily as the MS word doc does (as far as expanding the rows).  I've checked on this forum and cannot find any help topics or threads that match my specific needs.  can anyone offer some insight as to how to solve the problem?  I thank you in advance for your assistance.
    Jim

    You'll need an "exit" event for the last line in your table. You'll need to check to be sure that it isn't empty, and that it's the last line. Then after you add the line (if necessary) you'l need to set the focus back to the first column in the new line.
    Bonus: You'll probably want to be able to have the code check to see if a line is empty (and not the last line) so that you don't have a bunch of empty lines.
    If you'd like some code help, PM me what you're starting with.

  • Help with calculating expiration date

    Hi Microsoft Access community.
    I am trying to automatically set the expiration date in my table each time new data is entered which is +10 months -1 Day. My field name is called 'Best Before Date:', Data Type is called Date/Time, Format is set to 'Short Date' and under the Default
    Value field property I have two expressions I am trying to input.
    =DateAdd("m",10,Date())
    =DateAdd("y",-1,Date())
    These expressions work for me only when they are input separately. My issue is that I want to combine these two expressions but I don't know how.
    If anyone has any ideas of how to accomplish this task best please do help.
    Thanks
    sNiPel2

    They'll help you over here.
    http://answers.microsoft.com/en-us/office/forum/access?sort=lastreplydate&dir=desc&tab=Threads&status=&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&tm=1426425719481
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Help with Element EMAIL is undefined in FORM

    I am having issues getting my form to work properly after
    moving my files in my repository into a trunk directory. It may not
    be the reason things are failing now but it is the only change I
    have made since yesterday when this code worked. Any help would be
    greatly appreciated.
    Element EMAIL is undefined in FORM.
    The error occurred in C:\dev\b\trunk\content\contactnew.cfm:
    line 139
    137 : <!--- Send an e-mail to the proper group with the
    form information --->
    138 : <cfmail
    139 : from="#form.email#"
    140 : to="[email protected]"
    141 : subject="Contact Us Form from"
    Resources:
    Check the
    ColdFusion documentation
    to verify that you are using the correct syntax.
    Search the
    Knowledge Base
    to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote Address 127.0.0.1
    Referrer
    Date/Time 11-Nov-08 03:51 PM
    Stack Trace (click to expand)
    at
    cfcontactnew2ecfm541056183.runPage(C:\dev\b\trunk\content\contactnew.cfm:139)
    coldfusion.runtime.UndefinedElementException: Element EMAIL
    is undefined in FORM.
    at
    coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1659)
    at
    coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1612)
    at
    coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:1747)
    at
    coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:1740)
    at
    cfcontactnew2ecfm541056183.runPage(C:\dev\b\trunk\content\contactnew.cfm:139)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
    at
    coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
    at
    coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:175)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at
    coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
    at
    coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Here is the code I am working on...

    I tried adding what you said to the document. The email is
    not given when the form opens in the browser but is passed via the
    form after it is filled out and submited. The email value should be
    whatever the person adds to the email textbox. Again this was
    working yesterday but has since stopped after I migrated my files
    into a trunk directory in SVN.
    Thanks for your reply.

  • Looking for a specific iphone app - it is supposed to help with identifying/transferring data to purchased itunes files

    I had to get my iPhone 5c fixed today because there was a problem with syncing itunes files from my laptop; I changed the names of some of the song files/artists from my laptop and attempted to sync it to my iphone, but that created a corruption in the process, which in turn ceased any kind of syncing altogether. So my iphone is restored/fixed, but I still have to deal with having itunes purchases and old CD data listed as "Various Artists" or "Unknown Artist."
    The Mac employer who helped me told me about an app that can identify those "Unknown Artist" files and interpret the data so that the iphone can recognize it. I know that's kind of a conveluted description, but he basically said that I can type in the name of an album, and the app will identify the relevent artist name/album artwork (within a database of music info, i'm guessing) and send it over to itunes.
    I can't for the life of me remember the name of the app, but I know it starts with an S, and the app icon has the color red. I searched the music apps, but I can't seem to find it, so i'm guessing it's under a different category.
    Does anybody know the app that i'm talking about?

    The outer brown outline is just the background from the website I saw this on.  Only look at the white frame.  Then you can see the black frame around the photo.  Please help!!

  • Help with httpd.conf redirect to our Forms Application

    Hello. We are running Oracle Application Server 10g Release 2 (10.1.2) Forms & Reports services on a Windows 2003 x64 server. I'm having a difficult time trying to get the default Oracle iAS homepage to redirect to our forms application installed on the same server. For example, we access our server homepage at http://db1. We access our forms app at http://db1/forms/frmservlet?form=C:\forms\execs\app.fmx. In httpd.conf I've tried the following:
    1. Redirect / http://db1/forms/frmservlet?form=C:\forms\execs\app.fmx
    When accessing http://db1, the following error is returned:
    FRM-92130: Registry is either missing, or contains invalid, entry for Dispatcher...
    The error returned in Internet Explorer 7 is:
    java.lang.ClassFormatError: oracle/forms/engine/Main (Bad magic number)
    This also breaks the form URL.
    2. I also tried this at the end of httpd.conf:
    RewriteEngine On
    RewriteRule ^/(.*)$ http://db1/forms/frmservlet?form=C:\forms\execs\app.fmx
    When accessing http://db1, the server appears to be stuck in a loop. I think the problem is that the redirect is happening on all occurrences that contain "db1". So then a user enters http://db1, the redirection happens. But after the redirection, the new URL contains "db1" and the redirection happens again and keeps looping.
    Any help resolving this issue is greatly appreciated.
    -Al

    Summary:
    I fixed the "Bad magic number" error by modifying the client's JInitiator configuration to not use Browser Settings for Proxies.
    Issue:
    JInitiator running in Internet Explorer displays the following error: "java.lang.ClassFormatError: oracle/forms/engine/Main (Bad magic number)”
    Details:
    In my case, only external users connecting via a Proxy Server were having this issue.
    Solution:
    •     Open "JInitiator Control Panel":
    Start --> Settings --> Control Panel --> JInitiator 1.3.1.22
    •     Open [Proxies] tab; Uncheck the “Use Browser Settings” checkbox.

  • Help with adding a date in ADDT

    Not sure what's going on here, but its probably something simple, and me missing something obvious...
    Basically I have a form to add a record to a database table.
    I have two date fields in the table, of the type, Date.
    This is my code for adding the record :
    // Add columns
    $ins_clients->setTable("clients");
    $ins_clients->addColumn("name", "STRING_TYPE", "POST", "name");
    $ins_clients->addColumn("company", "STRING_TYPE", "POST", "company");
    $ins_clients->addColumn("website", "STRING_TYPE", "POST", "website");
    $ins_clients->addColumn("tel", "STRING_TYPE", "POST", "tel");
    $ins_clients->addColumn("mobile", "STRING_TYPE", "POST", "mobile");
    $ins_clients->addColumn("email", "STRING_TYPE", "POST", "email");
    $ins_clients->addColumn("enquirydate", "DATE_TYPE", "POST", "enquirydate");
    $ins_clients->addColumn("business", "STRING_TYPE", "POST", "business");
    $ins_clients->addColumn("future", "STRING_TYPE", "POST", "future");
    $ins_clients->addColumn("potential", "STRING_TYPE", "POST", "potential");
    $ins_clients->addColumn("callback", "DATE_TYPE", "POST", "callback");
    $ins_clients->addColumn("notes", "STRING_TYPE", "POST", "notes");
    $ins_clients->setPrimaryKey("ID", "NUMERIC_TYPE");
    And these are the form fields for the dates :
    <input type="text" name="enquirydate" id="enquirydate" value="<?php echo KT_formatDate($row_rsclients['enquirydate']); ?>" size="32" />
    <input type="text" name="callback" id="callback" value="<?php echo KT_formatDate($row_rsclients['callback']); ?>" size="32" />
    All of which seems about right.
    But even when I enter dates in the format 2010-09-23, all that's being written back to the database is 0000-00-00.
    Any ideas where I'm going wrong?
    Thanks.

    Its OK - I just changed DATE_TYPE to STRING_TYPE and its working now.

  • Need help with calculated fields in Adobe Interactive Forms

    Hi Gurus,
    I have an Adobe Interactive form in which i have radio buttons. Upon selecting any of the radio buttons, value in text box should be changed( Calculqated filedS). How i can achieve this?
    Regards,
    Srini
    Moderator message: wrong forum, please post again in Adobe Interactive Forms, but always try yourself before asking.
    Edited by: Thomas Zloch on Jul 13, 2010 11:58 AM

    Hi Tapan
    No, it's working ,with  one remark.
    I've done a mistake, in the final formula. The logic remain the same! ;)
     The calculation values for second column ( COL2 ) are 1,2,3 and not 0,1,2 as I wrote  before and as for COL1 are so the formula is
    =3*if(COL1="ABC",0,IF(COL1="DEF",1,2)+if(COL2="RST",1,IF(COL2="YYZ",2,3)
    and not
    =3*if(COL1="ABC",0,IF(COL1="DEF",1,2)+if(COL2="RST",0,IF(COL2="YYZ",1,2)
    I created also a real example  for you, with 2 dif calculation ways . First I created 2 calc_columns for COL1 and COL2 ( CALC_COL1+CALC_COL and after I added both these 2 column , and second way is to calculate directly) .
    Check this image
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • Need help with PayPal for a conference Registration Form

    I created a conference registration page and enabled PayPal.  I tested it with no issues.
    My client distributed the URL, and two people tried to register today, one of whom was my client.  She called me to say she never got a confirmation email and that when she entered her AMEX information, and hit the pay button, the message she got back was "Done but with Errors."
    Both people show up on my view responses report, but there are no values in the last three columns, which indicates an issue with PayPal.  When I check PayPal, there is no recent activity in my account.
    I need help resolving this ASAP.  Tech support couldn't help, he promised to escalate my case (#183366842) and have someone call me back within an hour.
    Is this forum monitored by FormsCentral staff who might be able to help?
    Thanks!
    Paula

    We're following up with PayPal and the [email protected] offline.

  • Help with grabbing additional data in report

    We have today started to evaluate Crystal Reports 2008 SP3 and, using the MySQL Connector/ODBC, I'm able to generate reports based on data stored in our MySQL Server 4.0.12 database.
    However, I've been asked to provide some additional information in this report, and this is where I'm struggling. What I want to do is to take a value from each record and put that into a MySQL query to grab another value to place on that line. For example, my report shows the width of a particular item, but I want to add another field in that row detail showing how many items of that width we have in stock.
    What is the best way to do this? I can run a command using the Command interface and get a static value (i.e. a hard-coded WHERE clause), but I can't work out if you can reference a value on a particular row to put in the WHERE clause using this method.
    Thank you in advance for your help.
    Steve

    Ok bear with me here and forgive any typos. I'm stuck using an iPhone on this one.
    For what you're trying to do a SQL Commend is your best option.
    I don't have or use any MySQL databases so my syntax may be off but I'll at least try to get the point across...
    SELECT
    t1.ProductName,
    t1.Length,
    t1.Width,
    t1.Height,
    t2.ProductName AS RelatedProducts
    FROM (
         SELECT
         ProductName,
         Length,
         Width,
         Height
         FROM TableName
         WHERE records meet report criteria) t1
    LEFT OUTER JOIN TableName t2 ON t1.Length = t2.Length
    This will most likely cause a "1 to many" relationship, causing a "copy" of the t1 fields for every related product.
    No problem... Just group on t1.Product and place the related products in the details.
    HTH,
    Jason
    Edited by: Jason Long on Mar 24, 2011 12:28 PM
    Rewrote SQL to prevent the WHERE clause from filtering the related products...

  • Help with enter function

    I have a function with the name ”result”. It’s two textfields where you can input some data. I have an addEventListener with a mouse Click to that function. So when I click on my button It starts the function. But I want to call the same function when you press the enter key. So the result will be the same no matter if you click on the button or just press the enter key. How can I do that?
    This is what I have tried but It doesn't work. I guess I should write my function name "result" somewhere.
    this.stage.addEventListener(KeyboardEvent.KEY_DOWN, enterfunc);
    function enterfunc(event : KeyboardEvent) : void
        if (event.keyCode == Keyboard.ENTER)
            submit();

    Change your result code to the following...
    function result(event:MouseEvent=null):void
    and some code here
    and change your keyboard function code to...
    function enterfunc(event:KeyboardEvent) : void
        if (event.keyCode == Keyboard.ENTER)
              result();

  • Help with pnpce logic data base

    Hallow I doing a program that use logic data base pnpce(my first time) and in the program I use get peras to bring the employee num and in the loop the name of employee
    Something I doing wrong because its not working what?
    I just wont to bring to my table person_tab employee num and name.
    thankes
    Tables :pernr
    Nodes:persa
    Infotypes:0000 like t_oooo,
    00002 like t_0002.
    START-OF-SELECTION.
    GET peras.
    LOOP AT t_0000.
    MOVE t_0000-pernr TO person_tab-objid.
    APPEND person_tab.
    Endloop.
    Loop at t0002.
    MOVE t_0002-nachn TO person_tab-lastname.
    MOVE t_0002-vorna TO person_tab-firstname.
    APPEND person_tab.
    ENDLOOP.
    END-OF-SELECTION.

    Hi there. I'm not sure what version you are on, but in ERP 2005 this is an obsolete statement.  Here's an alternate way to get the information you're looking for:
    TABLES: PERNR.
    INFOTYPES: 0002.
    DATA: BEGIN OF person_tab OCCURS 0,
           objid LIKE PERNR-PERNR,
           lastname LIKE P0002-NACHN,
           firstname LIKE P0002-VORNA,
    END OF person_tab.
    START-OF-SELECTION.
    GET pernr.
    person_tab-objid = pernr-pernr.
    RP-PROVIDE-FROM-LAST P0002 space sy-datum sy-datum.
    person_tab-lastname = p0002-nachn.
    person_tab-firstname = p0002-vorna.
    APPEND person_tab.
    CLEAR person_tab.
    END-OF-SELECTION.
    Even if you don't end up using this code, you would need to change yours so that you aren't appending to your person_tab table until you have moved all of the data for the fields of your record. By appending twice like you currently are doing, you are creating two separate records (one with just the pernr and another with the first and last name).  I hope this helps.
    - April King

Maybe you are looking for

  • GF4 ti4200 TV-OUT Problem. not all colors.

    Hello, I have a GF4 Ti 4200 128MB 8X. and i have a problem with my GF4 card. when i use my tv-out. i don't get the right colors. its like using 256 colors on the output image. and i have tried diffrent cables, and drivers even diffrent tvs. anyone ha

  • Changing file name schema

    In my receiver adapter the file name schema is intern_pay%var1%.dat and in variable substitution var1 is defined as message:message_id_hex.According to this i can see the file in the target directory as intern_payb0ba03a0904711dbbb9e00000e252c96.dat

  • My Creative Zen Nano Plus bro

    my Creative Zen Nano Plus mp3 player stopped working after i dropped the mechanical part. When I checked it, I didn't see any chip marks or anything, but still it won't work. Can anyone help me? I'll post up pictures if u need me too, and I'll show h

  • Blackberry Media Sync Prob.

    I'm running my media sync on a vista home premium system.When you click on start it says " The Blackberry media sync installation failed to initialized. Please run the Blackberry desktop manager with administrative priviledges and try again." I am th

  • Replacing my base computer with a new one

    I use Airport Extreme for Windows.  I have a new computer and want to use it as the base computer.  I can't figure out how to replace the base station.  I am hoping I do not have to uninstall Airport and reinstall on the new machine.  Any ideas?