| View previous topic :: View next topic |
| Author |
Message |
kic3r Newbie
Joined: 08 Nov 2005 Posts: 16
|
Posted: Nov 11th, 2005 04:10 AM Post subject: Is there API? |
|
|
Is there an API function that atuomatically determines if a text file is delimited or not  |
|
| Back to top |
|
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Nov 12th, 2005 05:12 AM Post subject: |
|
|
What is a delimited text file?  _________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
kic3r Newbie
Joined: 08 Nov 2005 Posts: 16
|
Posted: Nov 14th, 2005 07:42 PM Post subject: |
|
|
it's used mainly for importing/linking text files for database or excel files. a delimited text file is a text file wherein the data or fields is separated from each other by a common character which is called the delimiting character. the other type is the fixed-width wherein the fields are arranged in exaclty the same width just like what you would see in a typical table. there is a text import wizard in access and excel. just try and import an external data and search for a text file and you'll see what I mean...  |
|
| Back to top |
|
DoobieKeebler Moderator

Joined: 17 Jun 2005 Posts: 254 Location: 181°15'2.003"W, 93°5'16.956"N
|
Posted: Nov 15th, 2005 11:23 AM Post subject: |
|
|
In short, no, but then, really, is this reply, well, comma delimited, or isn't it? To the best of my knowledge you just have to import and hope for the best. You can see if the expected delimiting character is there, or see if the file is evenly divisible by {record size}, but those aren't foolproof. Too many fools out there. _________________ Always take into account what a user would never ever in a million years do, because someone will.
"In theory, there's no difference between theory and practice. In practice, there is." -- Yogi Berra |
|
| Back to top |
|
kic3r Newbie
Joined: 08 Nov 2005 Posts: 16
|
Posted: Nov 15th, 2005 07:26 PM Post subject: |
|
|
| yup, it's comma delimited alright... Too many fools indeed... well, what i did was search for the character in the first line of the text file, if it's there then it is delimited and not if not found...i was really hoping there was an api for this, but thanx anyway... |
|
| Back to top |
|
|