Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to seperate columns in msaccess

Posted on 2015-02-02
3
Medium Priority
?
76 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 58
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 49

Accepted Solution

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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
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.
Suggested Courses

971 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