Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assigning the previous value in Access2K

Status
Not open for further replies.

Raptor136

Computer
Oct 6, 2002
2

Hi, I am trying to figure out how to assign a value to a table field once the text file import is complete.

Here's how the table looks once the import is complete.

ERO_No Job_Status Job_date
XP001 INSHOP 8/1/02
BACKORDER 7/1/02
RECVD SHOP 6/30/02

XP002 RECVD SHOP 8/1/02
XP003 INSHOP 8/1/02
RECVD SHOP 7/29/02

I want it to look like this:
ERO_No Job_Status Job_date
XP001 INSHOP 8/1/02
XP001 BACKORDER 7/1/02
XP001 RECVD SHOP 6/30/02
XP002 RECVD SHOP 8/1/02
XP003 INSHOP 8/1/02
XP003 RECVD SHOP 7/29/02

What happens is that every status is now corresponding with the appropriate ERO_No, and the blank line goes away.

All help appreciated. TIA
raptor136@adelphia.net
 
Replies continue below

Recommended for you

Use a series of if statement to parse the values.

If col1 = Null then
/set value here
End if
 
I get the idea, I just don't know the language to tell it to set the value of the previous record.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor