Wildmantribe
New member
- Local time
- Today, 10:37
- Joined
- Oct 6, 2009
- Messages
- 3
I am new to Access 2007, but not new to programming. Yet, I still run across simple twists that seem to baffle me. So I need some advice.
I have a large exsisting database that contains alot of inventory items and along with the items particulars it lists each items price.
I have to run a query and pull out certain data elements on chosen items and dump it all into a text document so it can be cut and pasted into a new military database. So, I have encountered two problems in the doing...
First, I need to convert the Currency data type into a 7 digit Text data type and I am not sure how to accomplish this. From the tests I have run, Access rounds up the data. Also I am not sure how to convert it to text strings of any length, let alone in the 7 digit format I need.
Second, if I can convert the Currency into Text strings, then I need to dump 7 elements of each record into a text file, jamming all the data together, with no separators of any type, except a strategic space or two in certain positions within the long string of characters.
I am able to dump the data down to a text file easy enough, but how to get it to look the way I need without alot of editing on the text file after the dump? Is there a simple way to get Access to dump the data from the elements to Text and jam it all together into one long string and then insert a few strategic spaces into that string?
Whew! ....To anyone that can set me on the path to a simple, automated way to do these two things....I THANK YOU SO MUCH!
I have a large exsisting database that contains alot of inventory items and along with the items particulars it lists each items price.
I have to run a query and pull out certain data elements on chosen items and dump it all into a text document so it can be cut and pasted into a new military database. So, I have encountered two problems in the doing...
First, I need to convert the Currency data type into a 7 digit Text data type and I am not sure how to accomplish this. From the tests I have run, Access rounds up the data. Also I am not sure how to convert it to text strings of any length, let alone in the 7 digit format I need.
Second, if I can convert the Currency into Text strings, then I need to dump 7 elements of each record into a text file, jamming all the data together, with no separators of any type, except a strategic space or two in certain positions within the long string of characters.
I am able to dump the data down to a text file easy enough, but how to get it to look the way I need without alot of editing on the text file after the dump? Is there a simple way to get Access to dump the data from the elements to Text and jam it all together into one long string and then insert a few strategic spaces into that string?
Whew! ....To anyone that can set me on the path to a simple, automated way to do these two things....I THANK YOU SO MUCH!