Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 17th, 2004, 08:19 AM
beeing beeing is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 beeing User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question fixed width file import

hi. i'm new here so... hallo to all URL

i've got a question concerning fixed width file import.
i've a three types of rows in a file. A - header row, C - data rows, and E - not used. my question is: how to update each C row with some data from A row during import? i'm attaching a source file
with one A record and two E records, and an example of required result table with the date taken from A record placed in each row of additional column. would be great if somebody can help me with vba code or any query solution.

THX.
Attached Images
File Type: gif example.gif (6.8 KB, 285 views)
Attached Files
File Type: txt gerling.txt (10.4 KB, 235 views)

Reply With Quote
  #2  
Old February 17th, 2004, 10:04 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
The only way to you to do this is to open the text file using VBA and go line by line through your data and do what you want and then add it to you table.

S-

Reply With Quote
  #3  
Old February 17th, 2004, 10:14 AM
beeing beeing is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 beeing User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up

thanks for reply
could u give me some example? unfortunatelly i'm a lame with vba...
only little piece of advice...

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > fixed width file import


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway