Inserting 2 lines into address contact book

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mike Margerum (thisisjunk_at_margerum.com)
Date: 06/16/04

  • Next message: Pretolesi Riccardo: "User ID and Password as Parameter"
    Date: Wed, 16 Jun 2004 18:38:35 -0400
    
    

    I have an application that I wrote to import contacts into a PocketPC
    2002 phone edition contact database. It works great except for one
    problem. If I have two address lines to import into the address
    field, I seperate them with a "\n" linefeed. It displays the address
    lines correctly but if you try to edit the record, there is a square
    in the place of the "\n". I have tried inserting just 0x0d and 0x0a
    as well but I get the same problem. If I edit the record on the phone
    and hit CR om the phone it works fine. So my question is, what should
    i be inserting between my two address lines to make them wrap
    correctly?

    Thx,
    Mike


  • Next message: Pretolesi Riccardo: "User ID and Password as Parameter"

    Relevant Pages

    • Re: Saving Database records
      ... If the database is present in the solution, ... Form1 --Buttons that take me to the data grid form ... Form 3 -- Data Edit View form ... All editing and inserting is done by the forms that VS2005 created ...
      (microsoft.public.dotnet.framework.windowsforms)
    • Re: One more (maybe stupid) database question
      ... AlwaysShowEditor just automatically enables Edit when a record is selected, ... This makes sense for a database with a single file, ... database that you can run queries against. ... of TechIDs, for instance, but I write updates directly to the tables. ...
      (comp.lang.pascal.delphi.misc)
    • Re: Requery "Too Soon"?
      ... "The database has been placed in a state by user ... then the Requery will return the just ... MsgBox appears, I get an empty subform, i.e., I do ... I'll try inserting a DoEvents or two. ...
      (microsoft.public.access.formscoding)
    • Re: SQLCE performance from .NET CF v2.0
      ... Please remember when bulk inserting is being executed against SQL CE, ... > local database functionality. ... > database technology and I am considering switching to SQLCE at the same ... > execute the prepared statement again. ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: Formatting an inserted database field
      ... stop inserting unnecessary and unwanted Carriage Returns. ... DATABASE fields at some point which does cause an unhelpful extra ... When viewing the document without Show/Hide formatting selected (and ...
      (microsoft.public.word.mailmerge.fields)