Solved

how to seperate columns in msaccess

Posted on 2015-02-02
3
62 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

762 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

17 Experts available now in Live!

Get 1:1 Help Now