Solved

how to seperate columns in msaccess

Posted on 2015-02-02
3
63 Views
Last Modified: 2015-02-02
i have columns
like
trend setter 15
tredn setter 30
trend setter 40
trendsetter super 20

i need to seperate colmuns based on last space like
columna   columnb
trend setter     15
trend setter      30
tend setter        40
trendsetter super      20
0
Comment
Question by:romeiovasu
3 Comments
 
LVL 57
ID: 40584319
Not sure I understand the question... could you give a little more detail please.

Is this on a form or report?

 What is the resulting format you want?

Jim.
0
 

Author Comment

by:romeiovasu
ID: 40584330
i am trying to seperate the columns

example
trend setter 20
under columna
i want trend setter
columnb
i want 20
0
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 500 total points
ID: 40584347
SELECT Left([yourField], instrrev([yourField], " ")-1) as ColumnA
, Mid([yourField], instrrev([yourField], " ") + 1) as ColumnB
FROM yourTable
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help writing a query 6 71
Open CSV, modify and save as xls from Access 12 19
Query design issue 2 21
Access database form in matrix view 14 0
This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now