I am reposting this question again, I cant seem to find anyone who can fix this problem..... and i really dont want to have to buy a 5k$ program *a special analyzer* to do what i can do in crystal -
I am pulling data from a txt file that is comma delimited, it is a log file in the format of
---
Date/time, Port Number, Ip Address, DNS Address, Direction, Ip Address, DNS Address, User, Auth Code
---
all on one line, one line per transaction - tens of thousands of lines
so, an example example might be as follows
1/4/2003 15:02:10, 80/www, 14.123.232.98, machine-15.somehost.com, Outgoing, 85.42.195.23, Usr236592, 44kfjel6
now crystal sees this whole file perfectly, and it is working as desired from this file, with the exception of it sees the ip addresses, in the form of *for instance* 14.123.232.98 (although those numbers can be anywhere between 1 and 255), for some reason its calling this field a currency, and it will only show the first and second number set out of the 4, so for instance, it sees that as 14.123 - and its ignoring the data following it, and i need a way to tell crystal to stop treating the field as a currency and display it as a string, whether theres a trick to do it, or if i have to run the whole field through a formula, there is only one ip address per field, and let me stress that crystal is reading this whole file correctly and is treating all the other different fields correctly.
Karl P
I am pulling data from a txt file that is comma delimited, it is a log file in the format of
---
Date/time, Port Number, Ip Address, DNS Address, Direction, Ip Address, DNS Address, User, Auth Code
---
all on one line, one line per transaction - tens of thousands of lines
so, an example example might be as follows
1/4/2003 15:02:10, 80/www, 14.123.232.98, machine-15.somehost.com, Outgoing, 85.42.195.23, Usr236592, 44kfjel6
now crystal sees this whole file perfectly, and it is working as desired from this file, with the exception of it sees the ip addresses, in the form of *for instance* 14.123.232.98 (although those numbers can be anywhere between 1 and 255), for some reason its calling this field a currency, and it will only show the first and second number set out of the 4, so for instance, it sees that as 14.123 - and its ignoring the data following it, and i need a way to tell crystal to stop treating the field as a currency and display it as a string, whether theres a trick to do it, or if i have to run the whole field through a formula, there is only one ip address per field, and let me stress that crystal is reading this whole file correctly and is treating all the other different fields correctly.
Karl P