15a95 Data Conversion Manual Line Break
Sign Up |  Live StatsLive Stats    Articles 37,468| Comments 178,615| Members 19,494, Newest Kartarsingh| Online 453
Home Contact
 (Forgotten?): 
    10 years of Excellence
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

Data Conversion Manual Line Break

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 0 USD (0%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Sri Guru Granth Sahib Ji Line by Line Katha.. Taranjeet singh Sikh Sikhi Sikhism 1 27-Feb-2012 16:50 PM
Kirtan Sohila Video - Line By Line Translation Astroboy Discourses in English 1 12-Nov-2007 15:52 PM
Shabad Hazaare Video (Line by Line) Transliteration Astroboy Discourses in English 0 30-Sep-2007 14:21 PM
Anand Sahib - Audio & Video (Line by Line) Astroboy Anand Sahib 0 29-Sep-2007 18:09 PM
count line in memo(multi line text) yousef Information Technology 2 28-Jul-2006 08:16 AM


Tags
data, conversion, manual, line, break
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:28 AM
JimMurray's Avatar JimMurray
Guest
 
Posts: n/a
   
   
Data Conversion Manual Line Break

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I'm converting data from an old SQL back-end that has the Address field
containing the street, city, state and zip AND Fields that contain the city,
the State and the ZipCodes. I would like to parse out the citystatezip and
just have the street address. There is a manual line break between the street
and the CityStateZip in the Address field, but I cannot use it effectively. I
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/12410-data-conversion-manual-line-break.html
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12410
have been using Edit - Replace to remove the information based on "city,*"
but there are a lot of different citys and they are not accurately spelled.
Any suggestions?



Do you agree or disagree with the writer above? Why not share your immediate thoughts with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:28 AM
strive4peace's Avatar strive4peace
Guest
 
Posts: n/a
   
   
Re: Data Conversion Manual Line Break

Hi Jim,

first try creating a select query with the info you would
like to keep

on the grid, put

field --> Address
criteria --> Like "*" & Chr(13) & "*"

field --> JustAddress:
Left([address],InStr([address],Chr(13))-1)


if this gets what you want, then you can make it an update query

from the menu --> Query, Update

in the UpdateTo cell under Addresses -->
Left([address],InStr([address],Chr(13))-1)

if you want the city, state, and zip, move them to another
field before you strip them off

Warm Regards,
Crystal
Microsoft Access MVP 2006

*
Have an awesome day
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12410

remote programming and training
strive4peace2006 at yahoo.com

*

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12410
JimMurray wrote:
> I'm converting data from an old SQL back-end that has the Address field
> containing the street, city, state and zip AND Fields that contain the city,
> the State and the ZipCodes. I would like to parse out the citystatezip and
> just have the street address. There is a manual line break between the street
> and the CityStateZip in the Address field, but I cannot use it effectively. I
> have been using Edit - Replace to remove the information based on "city,*"
> but there are a lot of different citys and they are not accurately spelled.
> Any suggestions?
>

Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:28 AM
KARL DEWEY's Avatar KARL DEWEY
Guest
 
Posts: n/a
   
   
RE: Data Conversion Manual Line Break

Try using InStr the ASCII code for the manual line break to parse the data.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12410

"JimMurray" wrote:

> I'm converting data from an old SQL back-end that has the Address field
> containing the street, city, state and zip AND Fields that contain the city,
> the State and the ZipCodes. I would like to parse out the citystatezip and
> just have the street address. There is a manual line break between the street
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12410
> and the CityStateZip in the Address field, but I cannot use it effectively. I
> have been using Edit - Replace to remove the information based on "city,*"
> but there are a lot of different citys and they are not accurately spelled.
> Any suggestions?
>

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:28 AM
strive4peace's Avatar strive4peace
Guest
 
Posts: n/a
   
   
Re: Data Conversion Manual Line Break

  Donate Today!  
ps

if chr(13) doesn't get anything, try chr(10)


Warm Regards,
Crystal
Microsoft Access MVP 2006

*
Have an awesome day

remote programming and training
strive4peace2006 at yahoo.com

*

strive4peace wrote:
> Hi Jim,
>
> first try creating a select query with the info you would like to keep
>
> on the grid, put
>
> field --> Address
> criteria --> Like "*" & Chr(13) & "*"
>
> field --> JustAddress: Left([address],InStr([address],Chr(13))-1)
>
>
> if this gets what you want, then you can make it an update query
>
> from the menu --> Query, Update
>
> in the UpdateTo cell under Addresses -->
> Left([address],InStr([address],Chr(13))-1)
>
> if you want the city, state, and zip, move them to another field before
> you strip them off
>
> Warm Regards,
> Crystal
> Microsoft Access MVP 2006
>
> *
> Have an awesome day
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12410
>
> remote programming and training
> strive4peace2006 at yahoo.com
>
> *
>
> JimMurray wrote:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12410
>
>> I'm converting data from an old SQL back-end that has the Address
>> field containing the street, city, state and zip AND Fields that
>> contain the city, the State and the ZipCodes. I would like to parse
>> out the citystatezip and just have the street address. There is a
>> manual line break between the street and the CityStateZip in the
>> Address field, but I cannot use it effectively. I have been using Edit
>> - Replace to remove the information based on "city,*" but there are a
>> lot of different citys and they are not accurately spelled. Any
>> suggestions?
>>

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
English Sri Guru Granth Sahib Ji Translations
By Ishna
Today 05:51 AM
1 Replies, 34 Views
What Really Happened on...
Today 05:36 AM
10 Replies, 141 Views
Free Online Gurbani...
Today 03:56 AM
13 Replies, 4,305 Views
English Sri Guru Granth...
Today 03:51 AM
5 Replies, 147 Views
Edward Snowden: the...
Today 03:34 AM
3 Replies, 121 Views
Difference in Bowing...
Today 03:31 AM
10 Replies, 224 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 03:23 AM
407 Replies, 9,396 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Yesterday 17:57 PM
255 Replies, 6,033 Views
What Is Difference...
Yesterday 09:18 AM
6 Replies, 174 Views
First There is Water by...
By Ishna
Yesterday 05:03 AM
3 Replies, 190 Views
Cooking Without Alcohol
Yesterday 02:12 AM
12 Replies, 192 Views
Learning from Baba...
Yesterday 01:38 AM
0 Replies, 310 Views
Eckhart Tolle
17-Jun-2013 18:08 PM
2 Replies, 119 Views
Thought of the Moment!
17-Jun-2013 16:35 PM
115 Replies, 6,080 Views
New Quantum Dot...
17-Jun-2013 09:38 AM
0 Replies, 63 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 08:32 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.38012 seconds with 32 queries
0