Breaking Out Text In Fields

Feb 5, 2008

Hi All,

I have a field with a bunch of records. All is formatted the following:

CAN-2007-US-00001
CAN-2007-US-00002
CAN-2007-US-00003
CAN-2008-US-00001
CAN-2008-US-00002
CAN-2008-US-00003

and so on and so forth. Is there a way Acess can break the fields out? I want 1 field with CAN, 1 field with the year, 1 field with US, and 1 field with the number (4 different fields broken by the hyphen).

I can do text to column in excel before I import, but just wondering if it can be done in Access. Thanks in advance, guys...

Caliboi

View Replies


ADVERTISEMENT

Breaking Down A Field Into Multiple Fields

Dec 19, 2007

I am attempting to create a report that breaks down a field of 'ClaimID' numbers into groups of x. In the sample report below x = 12 and the report will apportion the first 12 'ClaimID's to the first page and textboxes with extra large fonts will signify the start and end of 'ClaimID' numbers for that page. These sheets are used for sorting and pulling guides at our local Xmas project and x will vary depending on the size of the facility we're using.
http://i35.photobucket.com/albums/d186/HoodRiverDude/SortReport.gif
I believe I can attain my goal if I were able to create a query which broke down the field 'ClaimID' into multiple fields based on x. The sample below represents this breakdown creating multiple records with x, 4 and 5, amount of fields.
http://i35.photobucket.com/albums/d186/HoodRiverDude/SortReport2.gif
Does anyone know how I can create this query, or perhaps suggest another way to create this report using the existing 'ClaimID' data.

Thanks in advance,
Aldo

View 2 Replies View Related

Breaking Down An Email

Jan 18, 2007

I want to take a report which covers sales figures and e-mail to those people that have had sales in the period. I only want each person to get just their records, not the whole report. Any ideas how I can do it automatically, starting with a query of records or a report ? ?

I know how mto e-mail a standard report using a macro !!

View 1 Replies View Related

This One Really Breaking My Head!

Mar 23, 2006

Hello all,
I need your help! Iam breaking my head for a day almost to solve this problem.

This is a timesheet application in MS Access in which I have a MS Access table with the following columns:

1. PersonID
2. SkillID
3. EntryDate
4. MON
5. TUE
6. WED
7. THU
8. FRI

The work hours for a person is entered once a week, at the end of the week. The person's SkillID can change but not in the same week. For ex a person scheduled as a Welder has to work as Welder for that week.

So, I need to find now all the PersonIDs with more than one SkillID in a week and flag them as errors.

Pls check the attached image. The first entry with EntryDate as "06-May-05" and Person_Code as "MK0259" repeating with 3 different Skill Codes. Then this is a problem which I want to hight light. Hope I explained clearly.

Can someone help please? Desparate!

Thanks in adv.
sgmuser!

View 2 Replies View Related

Breaking The Rules

Nov 3, 2006

Ok I have heard many times that you should never save a calculated field in a table. I know this is breaking the rules but can someone tell me how to save a specific combo value change to a table? and avoid all the rest?

Here is my problem, I was asked to have a combo box that has 5 choices and when the default is changed to another choice, I must have the date saved for reference. But the date is only supposed to be saved when a specific option in the box is choosen. Such as

Default: basketball
was changed to football

I can do a timestamp but don't know how to change it when a specific option is selected. It just changes when it is updated , even when I change it to baseball

Im actually saving it but can't annoy the other options...

Can someone help me out here PLEASE

View 1 Replies View Related

Report - Breaking After Header

Apr 26, 2007

I have a report - I have a agent header and code header.

It should look like this:

Jeff Moenning Agent Header
1-Active Code Header
Report Details

For some reason the first page just has Jeff Moenning and nothing else - after that the pages are correct. They are breaking when the agent changes and also when the codes change within the agents.

View 3 Replies View Related

Breaking A Table Into Two Tables, Joining Them With A Query

Feb 17, 2006

Let's say that a table has been broken in two and I'd like to rejoin them with a query. Let's say 100 records in table1, 20 records in table 2. Here's a random example, I just made the names up off the top of my head:

PersonTable (100 records)
Person # (unique key)
Name
Address

SpouseTable (20 records)
Person # (lookup wizard to Table1, cascading edit/delete relationship, 1 to 1)
WeightOfSpouse
HeightOfSpouse

Many people aren't "married" and so have no corresponding value in the Spouse table. If I do an inner join on the two tables, on Person#, then it will cut the total # or returned records in the query to 20, to match the total in SpouseTable. Essentially, I want to append the results of SpouseTable to the end of the corresponding rows in PersonTable.

View 1 Replies View Related

Reports :: Page Breaking Between Records In A Subreport

Nov 13, 2013

I have a report in which there is a subreport that prints towards the bottom of the page. I know that I can use grouping to have the subreport print on the next page if the entire subreport cannot print on the current page. However, I want to have the break occur not for the section as a whole but between records. Let me illustrate this.

All sorts of other stuff prints at the top. At the bottom, I have a subreport which today prints the following on the first page and breaks the last record in two printing the second line on the next page.

First Page of the Report:
__________________________________________________ _______________
Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Doctor's Location: XXXXXXXXXXXX

Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Doctor's Location: XXXXXXXXXXXX

Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
__________________________________________________ _______________
Second Page of the Report:
__________________________________________________ _______________
Doctor's Location: XXXXXXXXXXXX
__________________________________________________ _______________

What I would like to do is the following:

First Page of the Report:
__________________________________________________ _______________
Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Doctor's Location: XXXXXXXXXXXX

Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Doctor's Location: XXXXXXXXXXXX
__________________________________________________ _______________
Second Page of the Report:
__________________________________________________ _______________
Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Doctor's Location: XXXXXXXXXXXX
__________________________________________________ _______________

Is it possible to specify that if a complete record within a subreport cannot be printed on the same page to break to the next page without having the whole subreport break to the next page?

View 4 Replies View Related

Minor Access Version Upgrade Is Breaking My Form

May 9, 2007

I have a date field on one of my forms that gets populated automatically when a new record is created. I also have a subform on the form that lists the tasks that still need to be accomplished this month.
Some problems have popped up as people got new computers with new versions of Access:

Access 2002(10.6501.6825) SP3 - No problems.
Access 2002(10.6771.6817) SP3 - The Date field isn't recognised on a new record (#Name?), but it's fine on the old records (displays date).
Access 2002(10.6771.6825) SP3 - The reminder subform is blank (white), as if it doesn't exist, but the date field works fine.

Any ideas why this might be/how to fix?

Thanks! This is really frustrating. If it didn't work for anyone, I would find a way to fix it, but because it works for some people, I don't know what to fix...

View 2 Replies View Related

General :: Breaking Up Table In ER Keeping Relation Of FK And PK Intact

Nov 30, 2013

I have a situation where i need to import a table in Access which is in Excel, After importing i need to know how can i break it up differently keeping relation of FK and PK intact: E.g.

Excel Sheet:

Name Biz ID Biz Name Address1 Address 2 Address 3 OrderNo Order Date

Person Record
ID(PK) Name Biz ID Biz Name Address 1 ....

Order Record
OrdIDPK ID FK OrderNo Order Date

How can i distribute it?

View 1 Replies View Related

Queries :: Breaking Out (Timestamp And Total Duration) Into 15 Minute Interval?

Dec 20, 2013

I am trying to figure out how to take a table of timestamps and activity duration and break it into intervals, where it groups the duration into the time spent in each 15 minute interval. I have included a sample of the data and output. Is there any way to pull this in Access (or SQL)?

Raw Data
EmployeeActivityTimeStampStartTimeStampEndTotalDuration
Doe,JohnSomeActivity12/16/13 9:06:02 AM12/16/13 9:57:14 AM0:51:12
Smith,JaneOtherActivity12/16/13 9:22:15 AM12/16/13 10:06:55 AM0:44:40

Query to break out the total duration time in to the 15 minute interval it fell into

EmployeeActivityIntervalIntervalDuration
Doe,JohnSomeActivity12/16/13 9:00:00 AM0:08:58
Doe,JohnSomeActivity12/16/13 9:15:00 AM0:15:00
Doe,JohnSomeActivity12/16/13 9:30:00 AM0:15:00
Doe,JohnSomeActivity12/16/13 9:45:00 AM0:12:14
Smith,JaneOtherActivity12/16/13 9:15:00 AM0:07:45
Smith,JaneOtherActivity12/16/13 9:30:00 AM0:15:00
Smith,JaneOtherActivity12/16/13 9:45:00 AM0:15:00
Smith,JaneOtherActivity12/16/13 10:00:00 AM0:06:55

View 2 Replies View Related

Forms :: Gray-out / Disable Text Fields By Checking A Text Box

Nov 21, 2013

how can i disable a textfield or two in a form when the textbox is unchecked also how do i add a default value for it while the textbox itself is disabled, can i get away with it by adding a default value on the textbox?

View 14 Replies View Related

Reports :: Breaking To New Page If Subreport Cannot Fully Print On Current Page

Nov 12, 2013

I have a report which includes several subreports. There will be times when a subreport prints partially on one page and completes on the next. I don't always want to break to a new page with this subreport. However, I would want to break to a new page if the subreport cannot fully print on the current page.

View 3 Replies View Related

Breaking Up "IF" Statements

Jun 30, 2006

How would I break up "IF" statements? As you can see below, I'm trying to pull several IF statements in a formula, but it's giving me a "Undefined function 'IF' in expression" error.

I can't quite get it working to view the SQL code, so I'm having to paste the straight forumla from the Design code. This is very close to the code I was using in excel.

Accrual Days: IF([Ifs Inv To Date]="1/1/1900",0,IF([Ifs Inv From Date]>[Aging Date],0,IF([Ifs Inv To Date]<[Performance Date],[Period of Performance Days],([Performance Date]-[Ifs Inv To Date]))))

View 3 Replies View Related

Text Fields

Mar 28, 2006

I have imported a link table into access.

The Year field I wish to search on is Text.

I have entered a wildcard before the year i.e *2003 within the criteria, but still cannot read the number.

Can anyone suggest anything?

View 1 Replies View Related

Text Fields

Mar 12, 2005

what code do I need to put behind my txt fields on my form so that it automatically writes to the relevant table?

Also, how do i program an unbound txt field on a form to link to a field in a table?

many thanks in advance, Steve

View 4 Replies View Related

Predictive Text In Fields

Aug 16, 2005

I have many rows of information i am entering in access. I want to setup this spreadsheet to look at previous rows of information so when I fill one field it will automatically fill some of the other fields in the same row with the information from the rows above.

if this is not possible then I want to create a dictionary of information so if information is typed in one of the fields it will automatically populate some of the other fields on the same row.

View 2 Replies View Related

Combine 3 Text Fields Into 1

Jul 7, 2006

Hi all,

I have been given the task of cleaning up an old db. One thing I'd like to do is combine 3 text fields into 1 new field.
In the old db there was a form that included 3 memo text boxes, when the first one was full the user then started using the second and then the third. The relating Table fields are message, overflow message & overflow message extended.

I'd like to combine the fields into 1 and then design a new form to suit so that the memo text in the new db goes into 1 field only.

View 2 Replies View Related

Predictive Text In Fields

Aug 16, 2005

I have many rows of information i am entering in access.
I want to setup this spreadsheet to look at previous rows of information so when I fill one field it will automatically fill some of the other fields in the same row with the information from the rows above.

sorry cannot explain very well

if this is not possible then I want to create a dictionary of information so if information is typed in one of the fields it will automatically populate some of the other fields on the same row

View 1 Replies View Related

Text Fields On A Report

Jun 5, 2006

Hi people,

I have a report that is linked to a data entry form. Is there a way to not show certain labels and text boxes if a text box on the form has the value "N/A"?

Something like:

Private Sub Report_Open(Cancel As Integer)
If txtFireType = "N/A" Then
txtFireType.Visable = False
End If
End Sub

This doesn't seem to work by the way!

Really appreciate all of your help.

View 2 Replies View Related

Summarising Fields In A Text Box

Nov 23, 2004

Just say I want to summarise in a text box the options given in three option groups.
For instance I have chosen A then B and then C and then in a text box I want to put ABC.
Do I need to set up a query to do this? or do I need to write some code?

View 1 Replies View Related

Counting Text Fields

Mar 6, 2005

Can anyone tell me how to count (sum) text fields. My current query will search for:

1) Name

2) Ticket Number (ww*, beginning of one type of ticket)


And it works fine except that after running the query I have to manually add up how many of the ww tickets each person wrote. Is there a way to make it change the ww* tickets to a number, like 1, so that it can be added up or to add up by the persons name how many tickets they wrote. I'm using Access 2000.
Thanks

View 1 Replies View Related

Text Fields On A Report

Jun 5, 2006

Hi people,

I have a report that is linked to a data entry form. Is there a way to not show certain labels and text boxes if a text box on the form has the value "N/A"?

Something like:

Private Sub Report_Open(Cancel As Integer)
If txtFireType = "N/A" Then
txtFireType.Visable = False
End If
End Sub

This doesn't seem to work by the way!

Really appreciate all of your help.

View 2 Replies View Related

Conditional Text Box For Two Fields

Aug 12, 2011

I have text boxes that combine two fields into one, for example the control source is =IIf(IsNull([BuckC])=True And IsNull([BoostC])=True,"",[BuckC] & " , " & [BoostC]) . For simple its just =[Buckc] + ": "+[BoostC]. I am trying to set a condition that if one of them exceeds a certain number the background color will change to yellow. I know how to do this if its only for one field but I am wondering if it is possible to do it with multiple fields?

View 9 Replies View Related

Use &lt;enter&gt; In Text Or Char Fields

Oct 17, 2005

Is it possible to use <enters> in text or varchar fields??
In this way users can easily switch to the next line instead of typing everything all together

View 5 Replies View Related

How Do I Handle " In Text Fields

Aug 16, 2006

How do I handle " in text fields - I have a few customers names like "Zoom" - who insist the name is with " in it.

This buggers up queries and filters etc - becuase of the confusion the " creates.

How do i solve this?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved