Today's Date Minus Record Date

I have a date created field and I want to know how many days
it's been since that date until now. How can I do that? Would I
calcuate that in the SQL string?

You can find the details about the DateDiff function from
this link:
http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm ?context=ColdFusion_Documentation&file=part_cfm.htm
Thanks
Sankalan
(www.mindfiresolutions.com)

Similar Messages

  • Jdbc date minus nowDate

    I am trying to rest todays date minus a date coming from mySQL data base:
    // I get no.sentDate in the format YYYY - MM - DD
    conWorkPartyID = con.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
    String sWorkOrderID = "select co.orderPartyid, no.workOrderListPartyid, wl.workOrdListDesc, no.sentDate from contractorOrders as co "+
    "left join newOrders as no on no.orderPartyid = co.orderPartyid "+
    "left join workOrderList as wl on wl.workOrderListPartyID = no.workOrderListPartyid "+
    "where co.flagSentToContractor = 0 and co.contractorPartyid =" + sCompany;
    cWorkPartyID = conWorkPartyID.executeQuery(sWorkOrderID);
    while(cWorkPartyID.next()){              
    //this is the date that i need, which comes from db
    Calendar cal = Calendar.getInstance();
    Date dateTest = cWorkPartyID.getDate("no.sentDate", cal);
    //get today's date
    Date Now = new Date();
    //rest today's date minus the date coming from db
    cal.setTime(new Date(Now.getTime() - dateTest.getTime()));
    //difference = cal.getTime();
    //stores the years difference, which probably won't be needed
    int year = cal.get(Calendar.YEAR);
    //the varible months stores the months which probably won't be needed
    int month = cal.get(Calendar.MONTH);
    //the varible day stores who many days difference are there
    int day = cal.get(Calendar.DAY_OF_MONTH);
    System.out.println("and the difference between the insertDate and the today is in days: "
    + String.valueOf(day));
    and the error is a java.lang.NullPointerException, any suggestions to change the above will be very much appreciated.
    Thank you

    Thanks for the reply, I found the problem, i was returning no.sentDate in the form YYYY-MM-DD and method getTime doesn't like so it was returning null, so what I have done was cast(no.sentDate as datetime) and also store the difference of the dates as a long variable as I need the difference between the dates not the day of the month.
    My code now looks like this:
    conWorkPartyID = con.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
    String sWorkOrderID = "select co.orderPartyid, no.workOrderListPartyid, wl.workOrdListDesc, cast(no.sentDate as datetime) as newDate from contractorOrders as co "+
    "left join newOrders as no on no.orderPartyid = co.orderPartyid "+
    "left join workOrderList as wl on wl.workOrderListPartyID = no.workOrderListPartyid "+
    "where co.flagSentToContractor = 0 and co.contractorPartyid =" + sCompany;
    cWorkPartyID = conWorkPartyID.executeQuery(sWorkOrderID);
    while(cWorkPartyID.next()){              
    Object x = cWorkPartyID.getObject("co.orderPartyid");
    Object y = cWorkPartyID.getObject("no.workOrderListPartyid");
    Object z = cWorkPartyID.getObject("wl.workOrdListDesc");
    Date dateTest = cWorkPartyID.getDate("newDate");
    Date Now = new Date();
    System.out.println("dateTest is: " + dateTest.getTime());
    long dif = ((Now.getTime() - dateTest.getTime())/86400000);// milliseconds to days
    System.out.println("Order PartyID that require your attention is : "+ x + " and workOrderPartyid: " + y +" and WorkOrderListDesc: "
    + z + " and the sent date is: "+ dateTest + "and the difference between the insertDate and the today is in days: "
    + dif);
    cWorkPartyID.close();
    Any other suggestions are welcome.
    Thanks for answering so soon.
    Good night!

  • Recording Dates in Results Recording

    Hi.
    I have an inspection with a task list.  Several samples will be tested each time an inspection lot is created.  I have a number of MICs that are quantitative / calculated to determine results of lab testing - this is all working great.  The problem is that for each of my samples I need to be able to document general information about the sample.  The types of information that needs to be documented are, for example, dates and sample numbers (not serialized using SAP). 
    Primarily these dates need to be used to generate date range specific reports of the lab results.   It is for this reason that I do not want the users documenting dates in the inspection description field in results recording.
    Does anyone know if using the QM_INPUT_PROCEDURE BAdI can the result field of a quantitative MIC be formatted as a date?  Or has anyone had a similar problem that they have been able to solve?  Is Sample Management / Physical Samples the direction to take?
    Thank you very much in advance,
    Cristin

    Ok.  Here's one way around this.
    You can read this post: 
    http://sapfans.com/forums/viewtopic.php?f=27&t=14682&p=43885&hilit=datecharacteristicinspectionlot#p43885
    But basically you use numeric MIC and the date is recorded in the form yyyymmdd. So for today it would be 2010622.  You can even set a spec range at the begining of each year.  So the range would be 20100101 to 20101231.  This could help cut down on typos as well.
    This number then gets copied to the batch record to a linked hidden numeric characteristic.  A dependency is used to convert the number to the appropriate date.  The dependency then updates a second characteristic with the date.  It is this second date characteristic then that you can use in your reports.  If you want to make sure the date formatted characteristic is changed due to additional testing or sampling you can include an  IF NULL or an IF INITIAL statement in the dependency so once the characteristic has a value, it wouldn't be updated if the dependency was called again.
    I am guessing each blood donation is being set up as a separate batch number.
    FF

  • Editing Data Grid Records

    I'm experiencing an odd problem with a "quick and dirty" test
    application I built today using the ColdFusion wizzard in the
    production release of Flex 2 Builder. The application connects to a
    single datasource, displays a data grid with two fields
    (approximately 120 records in the source table), and contains the
    wizzard provided buttons for adding, editing, and deleting the data
    grid records. When I select a record in the data grid and click the
    edit button, a second form (a detail page as defined in the
    wizzard) pops open with access to all fields in my table. The
    problem is, the data flashes (no pun intended) briefly in the form
    fields, and then dissappears so what I'm left with is an "add new
    record" form. Now here's the weird part: If I'm using a browser on
    the machine where I built the Flex app, the details page displays
    fine with all data fields filled out properly with the contents of
    the table. If I'm using a browser on the virtual server I'm using
    to host the CF server, again, everything displays fine. It's only
    when I access the application from another system on the network
    that I see the dissappearing data effect. I've verified that each
    browser instance is running the most current version of Flash
    player 9. I've also ensured that (for testing purposes) the
    crossdomain.xml file is set to "*" (thinking that it might be some
    strange cross domain issue manifesting itself).
    On a seperate note, the "master/detail" version of this
    application (where the data grid and detail editor are on the same
    form) works perfectly no matter where I'm accessing the
    application. Any ideas would be appreciated.
    Thanks - Michael McConnell

    Could be a timing issue with when the data comes back from
    CF. I would get into the debugger or add trace statements to find
    out when/why the fields are getting set/reset

  • How can I record data from 2 devices synchronously

    Hi,
    I've been working on this VI for some time now and I've already recieved some prior help from these forums, so I hope I can get this problem solved.
    I have a DAQpad 6020e, a hot wire thermo anemometer, and Labview 7.1.  I need to take voltage measurements from the DAQpad at a scan rate I specify (I have it set to 1000 in the screenshot), while simultaneously taking readings from the anemometer.  However, the anemometer only takes readings every 1.6 seconds, which it sends to the serial port in ASCII.
    I have tried many iterations of this vi to try to get the data to come out synchronously.  By synchronously, I just mean I want both measurements to START at the EXACT same time.  Obvisously the scan rates are drastically different so I will have far more measurements from the DAQpad, but that is ok so long as both measurements start at the same time.  I cannot control when the anemometer makes its reading, so what I have attempted to do is as follows:
    1.  VI starts, both reads initialize, then DAQpad scan begins.
    2.  If Scan Rate and "Scans to read" are equal, it takes one second for measurements to start being recorded from the DAQpad.
    3.  In an attempt to synchronize the measurements, I attempted to tell the anemometer WHILE loop (serial) to wait until the first measurement has been recorded from the DAQpad.  (**Note, I have also tried using the "number read" lead off of the AI read command).
    4.  Because I only get 1 reading from my anemometer per 1.6 seconds, I can't predict when the next reading will be.  But I want my measurements to be corrolated in time, so I have attempted to start the measurement file as soon as the case structure starts.  This way, even if the very first reading is invalid, the rest of the readings will be valid and will be taken at times that directly correlate with the DAQpad measurements.
    I have run this vi many times, with different results.  I have gotten it to run sucessfully many times, meaning that both measurement files started recording data at the exact same instant, even if the anemometer reading wasn't available yet (I know this because the second measurement was taken at a time earlier than 1.6 seconds, meaning that the file did not wait for a measurement to be obtained in order to assign a value at 0 time).  HOWEVER, other times, this vi does not run correctly.  Sometimes the anemometer readings begin before the DAQpad readings, sometimes after.  In every case where the vi does not work, it appears that the anemometer measurement has waited for its first measurement to be recorded at time 0 instead of starting the measurement file when the DAQpad starts.
    I need to know why this vi doesn't run consistently.  I can see it do what I want it to do over and over again, but I can't use this vi if it is not 100% consistent.
    Thank you,
    Jake
    Attachments:
    LabVIEW Synchronization Attempt.pdf ‏78 KB

    For future reference, just post the actual VI.  It is easier to troubleshoot than a print as a PDF.
    Given the software complexities of separate threads and serial bus versus PCI bus, I don't see how you can say that the measurements actually start at the same time.  The only way you can say that the measurements started together was if you were using a hardware trigger.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Using a waveform graph, how to get all recorded data graphed?

    I record data from 6 channels using DAQmx with simulated channels and write to measurement file.  Then using read from measurement file, and waveform graph, I am trying to graph the data that has been recorded.  I am only getting a small amount graphed.  The same graph appears whether I have let the measure and record program run for 1 minute or for ten minutes.  It also displays a time at the end of the graph that is in the future.  What am I doing wrong?  Please help.
    Hillis Pratt, Jr.

    I am attaching the two VIs I have been trying to use.  I started with examples from NI and didn't go far from that.  Any assistance would be appreciated. 
    Attachments:
    Measure and Record Six Voltages with Express1.vi ‏119 KB
    Graph Measurement Files1.vi ‏89 KB

  • How to get RECORD data in output parameter of stored procedure

    I would like to return some data through RECORD structure from stored procedure.
    I have defined the RECORD as below:
    type ShipmentStatus is record(
    Booked integer,
    OnWater integer,
    OnRoad integer,
    InAir integer,
    OnRail integer,
    InWarehouse integer,
    Idle integer);
    the stored procedure is defined as
    create or replace procedure SP_MC_GET_SHIPMENT_STATUS
    iCustId in nvarchar2,
    oResult out ShipmentStatus
    I can get result in Sql*plus or PL/SQL developer, but I failed in get the result in Toplink.
    How can I get the output result, and convert it to an ENTITY by Toplink?
    Could you give me some advices on how to do mapping, how to call the stored procedure etc.., or code snip?
    Your answer is deeply appreciated. :)

    I'm not sure it is possible to get the PL/SQL record type through JDBC. Please try to access this procedure through JDBC to see if it is possible.
    You may need to convert the record type, to an object-type, i.e. wrap the procedure in another procedure that converts the record type. You could also just wrap the procedure in another that expands the record values into individual output parameters.

  • There is no source data for this data record, Message FZ205

    Hi Experts,
    I am facing a problem with the DME File download. This problem happened all of sudden in our production system since last month and it was never before. Our system landscape has also not been changed but as per our basis consultant he has added two-three more new application server to the Production client. Even we do not have this problem in our testing clients.
    Please note that we have been using the output medium '1' from the day one and thus the system has been generating the DME in 'File System' which we download on the desktop and upload the same to the bank online. After running the payment run when we trying to download the DME File, the system gives the error "There is no source data for this data record, Message FZ205".
    I tried to fix this issue through many ways but not able to. So can you please let me know the reason of this error and solution to fix this.
    With best regards,
    BABA

    Hi Shailesh,
    Please share how you solved this problem.
    Many Thanks,
    Lakshmi

  • What is the best software to record DAT tape to computer?

    Hi guys,
    I have some old DAT recording of my rock band from 1971-74. I want to transfer the DAT to my Macbook Pro retina. My plan would be to hit the "play" button on the DAT and record the whole tape to the MacBook Pro...and then go back, separate the songs I want to keep and add some EQ and compression (if I can figure out how that works ). I have the setup ready to go from a Behringer UCA222 from the DAT into USB on the MacBook Pro. I also plan to send the recording to my external thunderbolt HD. And I probably want to save the recordings at a higher quality and then to mp3.
    What would you suggest would be the best software to use to transfer on a project like this?
    I don't have Logic, and don't want to spend the $ for this project. I am looking at using GarageBand, but don't know if that eats up too much HD space and computer processing. I've read that Audacity might be an option, but not sure how the quality would compare to GarageBand.
    Any other suggestions or comments would be really appreciated.
    Thanks,
    Bob

    I use to face this issue every now and then (as a freelancer) when I use to cut on FCP7.
    if the material is DV and was captured using Sony VEGAS, Premiere or Edius, the footage generally worked fine. You'll find most people will tell you to convert it regardless, however I found no issues working with them.
    A problem you'll definitely face is HDV material. Most PC editing software write HDV in their own codec, which can't be read in FCP.
    The only thing I can think of is to try converting HDV meaterial to QuickTime using something like MPEG Streamclip, or something similar.
    Good luck

  • Problem In Update Statement In Multiple Record Data Block

    Hi Friends,
    I have problem in update Statement for updating the record in multiple record data Block.
    I have two data Block the master block is single Record block and the 2nd data block is Multiple Record data Block.
    I am inserting the fields like category,and post_no for partiular job in single data block
    Now in second Multiple Record Data Block,i am inserting the multiple record for above fileds like no. of employees work in the position
    There is no problem in INSERT Statement as it is inerting all record But whenever i want to update particular Record (in Multiple Block) of employee for that category and Post_no
    then its updating all the record.
    my code is Bellow,
    IF v_count <> 0 THEN
    LOOP
    IF :SYSTEM.last_record <> 'TRUE' THEN
    UPDATE post_history
    SET idcode = :POST_HISTORY_MULTIPLE.idcode,
    joining_post_dt = :POST_HISTORY_MULTIPLE.joining_post_dt,
    leaving_post_dt = :POST_HISTORY_MULTIPLE.leaving_post_dt,
    entry_gp_stage = :POST_HISTORY_MULTIPLE.entry_gp_stage
    WHERE post_no = :POST_HISTORY_SINGLE.post_no
    AND category = :POST_HISTORY_SINGLE.category
    AND roster_no = :POST_HISTORY_SINGLE.roster_no;
    AND idcode = :POST_HISTORY_MULTIPLE.idcode;
    IF SQL%NOTFOUND THEN
    INSERT INTO post_history(post_no,roster_no,category,idcode,joining_post_dt,leaving_post_dt,entry_gp_stage)
    VALUES(g_post_no, g_roster_no, g_category, :POST_HISTORY_MULTIPLE.idcode, :POST_HISTORY_MULTIPLE.joining_post_dt,
    :POST_HISTORY_MULTIPLE.leaving_post_dt,:POST_HISTORY_MULTIPLE.entry_gp_stage);
    END IF;
    next_record;
    ELSIF :SYSTEM.last_record = 'TRUE' THEN
    UPDATE post_history
    SET idcode = :POST_HISTORY_MULTIPLE.idcode,
    joining_post_dt = :POST_HISTORY_MULTIPLE.joining_post_dt,
    leaving_post_dt = :POST_HISTORY_MULTIPLE.leaving_post_dt,
    entry_gp_stage = :POST_HISTORY_MULTIPLE.entry_gp_stage
    WHERE post_no = :POST_HISTORY_SINGLE.post_no
    AND category = :POST_HISTORY_SINGLE.category
    AND roster_no = :POST_HISTORY_SINGLE.roster_no;
    AND idcode = :POST_HISTORY_MULTIPLE.idcode;
    IF SQL%NOTFOUND THEN
    INSERT INTO post_history(post_no,roster_no,category,idcode,joining_post_dt,leaving_post_dt,entry_gp_stage)
         VALUES (g_post_no,g_roster_no,g_category,:POST_HISTORY_MULTIPLE.idcode,
              :POST_HISTORY_MULTIPLE.joining_post_dt,:POST_HISTORY_MULTIPLE.leaving_post_dt,:POST_HISTORY_MULTIPLE.entry_gp_stage);
    END IF;
    EXIT;
    END IF;
    END LOOP;
    SET_ALERT_PROPERTY('user_alert',ALERT_MESSAGE_TEXT, 'Record Updated successfuly' );
    v_button_no := SHOW_ALERT('user_alert');
    FORMS_DDL('COMMIT');
    CLEAR_FORM(no_validate);
    Please Guide me
    Thanks in advence

    UPDATE post_history
    SET idcode = :POST_HISTORY_MULTIPLE.idcode,
    joining_post_dt = :POST_HISTORY_MULTIPLE.joining_post_dt,
    leaving_post_dt = :POST_HISTORY_MULTIPLE.leaving_post_dt,
    entry_gp_stage = :POST_HISTORY_MULTIPLE.entry_gp_stage
    WHERE post_no = :POST_HISTORY_SINGLE.post_no
    AND category = :POST_HISTORY_SINGLE.category
    AND roster_no = :POST_HISTORY_SINGLE.roster_no;
    AND idcode = :POST_HISTORY_MULTIPLE.idcode;
    UPDATE post_history
    SET idcode = :POST_HISTORY_MULTIPLE.idcode,
    joining_post_dt = :POST_HISTORY_MULTIPLE.joining_post_dt,
    leaving_post_dt = :POST_HISTORY_MULTIPLE.leaving_post_dt,
    entry_gp_stage = :POST_HISTORY_MULTIPLE.entry_gp_stage
    WHERE post_no = :POST_HISTORY_SINGLE.post_no
    AND category = :POST_HISTORY_SINGLE.category
    AND roster_no = :POST_HISTORY_SINGLE.roster_no;
    AND idcode = :POST_HISTORY_MULTIPLE.idcode;These update statements are without where clause, so it will update all records.
    If it is specific to oracle forms then u may get better help at Forms section.

  • How do I check that the today's date is = a date

    I have a form on my site that is designed to only come live after a certain date to avoid people plaguing me with false claims.
    It is accessed by a link from another page.
    I want the link to only be shown after that date.
    Working in asp, of which I have not a lot of knowledge, how would I set up asp code for the following logic, the date being the one that I need to use:
    If the system date is > 26 February 2011 then write "Here is the link to the prize draw claim form"
    else write "The link to the claim form will not be available until the 27th February"
    Would this be able to be placed in line on a Dreamweaver template page and would it just fit on the page in line with the other code?
    Seems simple enough to most people but its got me totally baffled!

    No answers from anyone yet but here is my first rough attempt:
    <html>
    <head>
    <title>How to make a claim</title>
    <script language="JScript" type="text/jscript">
       function dateComp() {
    // Get today's date
        var s = new Date();
        // Create the date of the draw
    var td = new Date('2/26/2011')
    if (s > td )
      s = "The draw will take place on the 26 February 2011" ;
    else
      s= " Go to http://www.lottery/claims.asp to make a claim.";
        return (s);
    </script>
    </body>
    </html>
    <script language="JScript" type="text/jscript">
    document.write(dateComp())
    </script>
    </html>
    </body>
    >>>>>>>>>>>>>>>>>
    This works fine in that it outputs a message on the screen. However, whilst it looks like a link on this page, all it does on a live page is print the text, rather than inject the code into the page.
    What do I use instead of document.write(dateComp) to inject the code and create a link?

  • Snow Leopard - Bento 2.0v5 - Lost record data on Snow Leopard Upgrade

    Any thoughts on this one: After an update to Snow Leopard 10.6 and 10.6.1, the data entered in Bento fields associated with contact names in Address Book are no longer available (only 10 of 300 or more records are still available) In addition, the categories associated with names in Address Book have no records in the associated categories in Bento. Further, this problem exists for all of my backup copies of Bento. (i.e. it appears the only way to go recover this might be to go back to a full computer backup recovery from prior to 10.6. I hypothesis that the links between individual records in Bento and Address Book have somehow become corrupted or broken. Therefore the data may well exist in Bento but it is not retrievable. This could be because Bento might believes incorrectly that the original AddressBook record was deleted. Just to confuse things a bit, another possible source of the problem may be because AddressBook is synchronized with other computers and Google. However, post my upgrades to 10.6, all these other accounts were download from the main computer on which Bento resides. A minor Address Book - Mail bug is possibly related. That is that when I "add to Address Book" by ctl-clicking an email address in Mail, this email address apparently added but it is often not found in Address Book. At times it comes shows up later but often it just disappears entirely.

    I have gotten a little closer to the problem. It appears that the update to SnowLeopard is not the problem. Rather syncing might be the culprit. I sync AddressBook with MobileMe and Google. The latter was as addition immediately after the Snow Leopard upgrade. I did clean out the GMail address book prior to syncing. Recently, I noticed some duplicate records in AddressBook. Some at least had two middle initials with periods. It appears there is a different format for this cell in the two systems. In one record they showed with no space and in the other with a space between the first period and the second letter.
    I was able to recover my AddressBook data. All the records had an update date from my first syncing after adding GMail. The old records had a mix of dates. I just went back to the date with mixed dates. After recovering the records and turning off syncing, Bento is working just fine and all old data is displayed.
    Gary

  • Create a record based on From date and To Date in CRM 2015 Plugins

    Hi all
    in my account screen i have two date field from date and Todate and i have one child entity member when i am creating a
    new account then based on from date and to date number of child record should be created
    for example in account screen
    if from date=2/1/2015 and 
       To date=31/03/2015
    then number of child record should be created
    in this manner 
    from date      to date 
    2/1/2015       31/01/2015
    01/02/2015     28/02/2015
    1/03/2015      31/03/2015

    Hi,
    OK. It seems you want to create 3 records (custom child entity) where the first has the same From Date as the Account and goes up to the end of the month, and the other records go from there.
    This logic can be implemented via a Plugin that could run on the create and update of these fields on Accounts. From the Plugin, you can set up the logic and fill the records with the necessary information.

  • Recording data at particular iterations and writing to text file

    Hi all,
    this is my first time posting on the NI boards. I'm running into a couple problems I can't seem to figure out how to fix.
    I'm collecting data using a LabJack U3-HV daq. I've taken one of the out-of-the-box streaming functions that comes with the LabJack and modified it for my purposes. I am attempting to simply save the recorded data to a text file in columns, one for each of my 4 analog strain gauge inputs, and one for time. For some reason when the 'write to measurement file.vi' executes it is puts everything in rows, and the data is unintelligible.
    The 2nd issue I am facing, which is not currently visible in my vi, is that I am running my test for 60,000 cycles, which generates a ton of data. I'm measuring creep/fatigue with my strain gages so I don't need data for every cycle, probably for the first 1000, then the 2k, 4k, 6k, 8k, 10k, 20k, etc. More of an exponential curve. I tried using some max/min functions and then matching the 'write to measurement file.vi' with a case structure that only permitted it to write for particular iterations, but can't seem to get it to work.
    Thanks in advance for any help!
    Attachments:
    3.5LCP strain gages v2.vi ‏66 KB

    Hey carfreak,
    I've attached a screenshot that shows three different ways of trying to keep track of incrementing data and/or time in a while loop. The top loop just shows a program that demonstrates how shift registers can be used to transfer data between loops. This code just writes the iteration value to the array using the Build Array function.
    The first loop counts iterations in an extremely round-about way... the second shows that really you can just build the array directly using the iteration count (the blue "i" in the while loop is just an iteration counter).
    The final loop shows how you can use a time stamp to actually keep track of the relative time when a loop executes.
    Please note that these three should not actually be implemented together in one VI. I just built them in one BD for simplicity's sake for the screenshot. As described above, the producer-consumer architecture should be used when running parallel loops.
    Does that answer your question?
    Chris G
    Applications Engineer
    National Instruments
    Attachments:
    While Loops and Iterations.JPG ‏83 KB

  • What is the smallest data structure record in a .TXT file record to be recognized as an Apple Address Book "Data Card"?

    Hello! This is my first time in this discussion group. The question posed is the subject line itself:
    What is the smallest data structure record in a .TXT file record to be recognized as an Apple Address Book "Data Card"?
    I'm lazy! As a math instructor with 40+ students per class per semester (pCpS), I would rather not have to create 40 data cards pCpS by hand, only to expunge that info at semester's end. My college's IS department can easily supply me with First name, Last name, and eMail address info, along with a myriad of other fields. I can manipulate those data on my end to create the necessary .TXT file, but I don't know the essential structure of that file.
    Can you help me?
    Thank you in advance.
    Bill

    Hello Bill, & welcome aboard!
    No idea what  pCpS is, sorry.
    To import a text file into Address Book, it needs to be a comma delimited .csv file, like...
    Customer Name,Company,Address1,Address2,City,State,Zip
    Customer 1,Company 1,2233 W Seventh Street,Unit 543,Seattle,WA,99099
    Customer 2,Company 2,1 Park Avenue,,New York,NY,10001
    Customer 3,Company 3,65 Loma Linda Parkway,,San Jose,CA,94321
    Customer 4,Company 4,89988 E 23rd Street,B720,Oakland,CA,99899
    Customer 5,Company 5,432 1st Avenue,,Seattle,WA,99876
    Customer 6,Company 6,76765 NE 92nd Street,,Seattle,WA,98009
    Customer 7,Company 7,8976 Poplar Street,,Coupeville,WA,98976
    Customer 8,Company 8,7677 4th Ave North,,Seattle,WA ,89876
    Customer 9,Company 9,4556 Fauntleroy Avenue,,West Seattle,WA,98987
    Customer 10,Company 10,4 Bell Street,,Cincinnati,OH,89987
    Customer 11,Company 11,4001 Beacon Ave North,,Seattle,WA,90887
    Customer 12,Company 12,63 Dehli Street,,Noida,India,898877-8879
    Customer 13,Company 13,63 Dehli Street,,Noida,India,898877-8879
    Customer 14,Company 14,63 Dehli Street,,Noida,India,898877-8879
    Customer 15,Company 15,4847 Spirit Lake Drive,,Bellevue,WA,98006
    Customer 16,Company 16,444 Clark Avenue,,West Seattle,WA,88989
    Customer 17,Company 17,6601 E Stallion,,Scottsdale,AZ,85254
    Customer 18,Company 18,801 N 34th Street,,Seattle,WA,98103
    Customer 19,Company 19,15925 SE 92nd,,Newcastle,WA,99898
    Customer 20,Company 20,3335 NW 220th,2nd Floor,Edmonds,WA,99890
    Customer 21,Company 21,444 E Greenway,,Scottsdale,AZ,85654
    Customer 22,Company 22,4 Railroad Drive,,Moclips,WA,98988
    Customer 23,Company 23,89887 E 64th,,Scottsdale,AZ,87877
    Customer 24,Company 24,15620 SE 43rd Street,,Bellevue,WA,98006
    Customer 25,Company 25,123 Smalltown,,Redmond,WA,98998
    Try Address Book Importer...
    http://www.sillybit.com/abee/

Maybe you are looking for

  • ERRORS WITH PRINTING TO AN XP NETWORK

    Hi, I am sharing a network with a win xp computer using a wireless network from my mac book pro running os 10.5.1 It works great except for one problem: I am unable to print to the HP Officejet 4315 That is a printer attached to the XP machine with p

  • Incremental backups on DVD+/-RW

    I have just got my first DVD writer (woo hoo!) and want to be able to use it to make incremental backups of completed work for each client I have (ie. 'Client 1' has a DVD of completed work, which I can add to when i do more work. 'Client 2' would ha

  • "No Camera Found" Message when iTunes Loads

    I have a new iPhone 3Gs and when I connect to my Macbook and iTunes loads, this message always pops up. "No Camera Found" When I load iPhoto, however, the images on the phone appear and can be imported with no problem. Doesn't present a problem, but

  • No sound coming from October 2013 macbook pro

    I have the newest macbook pro, and on top of the infamous keyboard/trackpad freezing problem, the sound is starting to not come out now.  Anyone know a solution to this problem? Or should I just give up and return it...? (I have 2 days until the 14 d

  • Abap and crystal reports

    Hi, I am working as a ABAP developer and i want to know is there is realtionship of Crystal Repors and SAP and ABAP?