Hi GoDawgs:
My boss wants the raw data files to have certain processes. First I import the raw data into tables in MSA2000, then I am manipulating and formatting using queries to load to SQL. He wants this as automated as possible, and wants them in a query.
I have just noticed that the...
Hi Golom:
Thanks for the response. I can't use sql as I am creating an upload query from a raw txt file. I'm getting close, but having trouble keeping the format of 9 digits to stick on the fields with 2 spaces. I will remember the advise for the Replace when I am writing SQL as I do have...
Thanks Golom and BB.
BB: Access doesn't like the replace command in design view.
Golom: Your formatting code worked great except for cases that I had 2 spaces, so I tried to alter the one space with 2, but can't quite seem to get it to work. Here's what I used.Test...
I have attempted to format an imported text field to be a fixed length of 9 for some fields that contain spaces.
ex:
sub-id
56892
000056 78
0000A 123
I thought the Format(Trim([sub-id],"000000000")) was great and have used it sucessfully in the past-or so I thought.
The format...
I have been successful in creating an ODBC connection and linking to SAS dat files using MSACCESS2000.
When I attempt to link to a sas view, I get the following error.
"The Microsoft Jet database engine could not find the following file (SAS View File Name.) Make sure the object file...
I have been successful in creating an ODBC connection and linking to SAS dat files using MSACCESS2000.
When I attempt to link to a sas view, I get the following error.
"The Microsoft Jet database engine could not find the following file (SAS View File Name.) Make sure the object file...
Fred:
If you must include the company name in the query too, and this is where the duplicate spelling is occuring, you will need to use a min on the company field and the totals. The totals should be the same, so if it takes the min total, it should work. Give it a shot.
Cheryl
I have had this happen a few times years ago when I was using Access97. Sometimes a field would show nothing but #Error# or just a pound sign in the table. If you can find that record(s) and delete it, that may be the problem.
Did you try to compact and repair the old database? Try using...
Hi Jim.
Are you formatting it in a query or in the table design format box on the general tab in desing view for the table?
The query works for me, but I was looking for a format to hold the import field so I wouldn't have to create an additional formatting query for linking purposes.
Any...
I am importing a txt file with a field into a table that could be less than the desired 10 character length. I would like the field to import as 10 character with leading zeros if it is less than 10. I want to keep it as a text field instead of numeric.
I am able to format the field in a query...
robgoose
If I read your desired result correctly. 1a, 1a and 4c, Could you not do a delete query in each table using
num field having criteria in ("2","3")?
Cheryl [idea]
Micheal:
Thanks for the info above. I could use that on something I've been working on for a while.
Field3: Mid([Test],InStr(1,[Test],"|")+3,InStr(InStr(1,[Test],"|")+3,[Test],"|")-InStr(1,[Test],"|")-3)
I've got the first 2 for you, the third will be a continuuance of the InStr commands looking for the 3rd |.
Field1: IIf(InStr([Test],"|"),Left([Test],InStr([Test],"|")-1))
Field2...
Try importing the table into another access database using a spec with the |(pipe), creating a table. You can then import/export the new table into your original database.
Just a suggestion.
Maria:
I just tried using a form using the query with the parameter prompt. In the properties of the field, you can set the input mask to 00/00/00. Not sure if you are running off a form or not. Even with the input mask above, the date still displays as 00/00/0000, but the user would only has...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.