473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

referencing charachter sets

I have a data set that looks similar to the following when cut and
pasted into excel or referenced into access:

1000:24:00
987:24:00
87:24:00
7:24:00

The only data I need is in the first four charachter spaces noted
above. I would like the values to return as follows:

1000
987
87
7

or

1000
0987
0087
0007

Please give this a try. Excel and access want to see it as a TIME
reference.

Thanks...Mike
Nov 12 '05 #1
1 1450
Left([NameOfDataField],Instr([NameOfDataField],":")-1)

Steve
PC Datasheet
"Mike" <mi********@yahoo.com> wrote in message
news:c5**************************@posting.google.c om...
I have a data set that looks similar to the following when cut and
pasted into excel or referenced into access:

1000:24:00
987:24:00
87:24:00
7:24:00

The only data I need is in the first four charachter spaces noted
above. I would like the values to return as follows:

1000
987
87
7

or

1000
0987
0087
0007

Please give this a try. Excel and access want to see it as a TIME
reference.

Thanks...Mike

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Asfand Yar Qazi | last post by:
Hi, I've got this class, you see: class Vec4 { Vec4(); ... float data; float& x;
7
by: VK | last post by:
.... or my script, or my mind, or both? <html> <head> <title>Test</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script> function init() { var arr =...
1
by: Mike | last post by:
I have a data set that looks similar to the following when cut and pasted into excel or referenced into access: 1000:24:00 987:24:00 87:24:00 7:24:00 The only data I need is in the first...
1
by: KavvY | last post by:
Hi, Considering the code posted below can anyone explain to me why the following behaviour occurs? On page load the testFillDataGrid() function gets called and the variable sel is...
1
by: James Glover | last post by:
I need to be able to reference a variable that is set in the code behind of an aspx page in a user control embedded on the page. An example: The code behind sets a position number; say ,1...
6
by: Mikey_Doc | last post by:
Hi We are running cms 2002, Framework 1.0 with Visual studio 2002. We have just upgraded to Framework 1.1 and visual studio 2003. All of our database connection strings are stored within the...
3
by: ManningFan | last post by:
Here's a fun one, mein froinds! I have a form. The form (call it MainForm) has a subform control (call it SubForm). The actual subform that SubForm displays can change based on choices made on...
1
by: Dave Anson | last post by:
What is the recommended practice for referencing assemblies in a project from other solutions? I am using Visual Studio 2005 Team System. I have several assemblies in another solution which will...
4
by: ljsmith91 | last post by:
I am reading in a file that has a list that of items. The items I place into a scalar for print but when i do, there is an extra unwanted charachter that shows up at the end of each item. It looks to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.