devinh Posted July 1, 2005 Posted July 1, 2005 I've got an old datbase that has one field that has the customer number and name in one field. The new database I want them to have thier each field. One for their Number and one for their name. How should I go about doing this. I thought I should import the data twice. Have every thing in both and then create a script just to delete what I don't need. The field looks like this now. 123 company_xyz 15 company_dfy 2345 ccompany_xyt
LaRetta Posted July 1, 2005 Posted July 1, 2005 Hi Devin, You can't import part of a field and you're correct in your thinking. I suggest you import into Company Name. Back up first. Then (with your found imported set) put your cursor in the CompanyID field and select Records > Replace Field Contents by calculation and enter: LeftWords(CompanyName; 1) Then place your cursor in the CompanyName field and again Replace Field Contents via calculation with: Trim(Substitute (CompanyName ; LeftWords(CompanyName ; 1) ; "")) LaRetta
devinh Posted July 1, 2005 Author Posted July 1, 2005 Wow....I never saw that replace field Contents. Here I was trying to make a script. Thanks, I got something to work and it was simple. Devin
Recommended Posts
This topic is 7083 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now