Mirica_Victor
Registered User.
- Local time
- Today, 19:13
- Joined
- Oct 24, 2008
- Messages
- 11
Hy,
I have a big table containing various informations about different erors. The info is dumped here by some append QRYs (2-3 hundred, one for each error).
In this table there in a column INFO wich contains something like:
"Name1:Value1|Name2:Value2...|Namen:Valuen"
pairs of Name:Value separated by a |
Now: the Name differs from Qry to Qry, so i can't create strict columns with every name possibly needed by all the Qrys thad put info there.
What I need is to be able to export certain report (there is a column to put a filter - so the INFO column will have the same structure) but with the info column splited.
Is there a function/module/procedure to:
Add to the export QRY instead of only one column (INFO with Name1:Value1|Name2:Value2...|Namen:Valuen ) to export n columns (the number of | found in the info +1 ), the name of the columns to be the part from the begining to the ":" (Namen) , the information in that column to be the the rest of the splitted part (Valuen)?
Somehow I found the "Text to column" option in XLS, but that means that the user might tamper the file. Also this gets the "splitter" "|" and keeps the info in that cell as "Namen:Valuen".
Has annyone dealed with something like that?
I have a big table containing various informations about different erors. The info is dumped here by some append QRYs (2-3 hundred, one for each error).
In this table there in a column INFO wich contains something like:
"Name1:Value1|Name2:Value2...|Namen:Valuen"
pairs of Name:Value separated by a |
Now: the Name differs from Qry to Qry, so i can't create strict columns with every name possibly needed by all the Qrys thad put info there.
What I need is to be able to export certain report (there is a column to put a filter - so the INFO column will have the same structure) but with the info column splited.
Is there a function/module/procedure to:
Add to the export QRY instead of only one column (INFO with Name1:Value1|Name2:Value2...|Namen:Valuen ) to export n columns (the number of | found in the info +1 ), the name of the columns to be the part from the begining to the ":" (Namen) , the information in that column to be the the rest of the splitted part (Valuen)?
Somehow I found the "Text to column" option in XLS, but that means that the user might tamper the file. Also this gets the "splitter" "|" and keeps the info in that cell as "Namen:Valuen".
Has annyone dealed with something like that?