![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Someone came up with the bright idea that we should list all variables and values and labels from a database into excel. If we are asking something like race and storing a value or a label in the table they want it so that it is put into excel in a format like this. name Value label ethorig 1 caucasian 2 black 3 asian 4 natives 5 others or officespace 1 no problem 2 cramped 3 can't move (they found a program online that would read this type of thing into sas) shortening their work time AND making mine a whole lot longer. At first I was going to read the varname value and label from a from but I quickly found out I was dealing with looking at the parent of a control and not a child of the main control. (that would have been a lot better I think) well any way I can't see how to do it. is there some problem or code that would read this in and store it in a format like this?? thanks for any ideas on this |
#3
| |||
| |||
|
|
the examples you gave look like the records in supporting tables (tables used to supply values to combobox controls in forms). you can export table data to Excel, or write a query to alias fieldnames, if you wish, and export the query to Excel. my question would be Why? what are you going to do with the data in Excel that you can't do in Access? hth "sparks" <sparks (AT) comcast (DOT) net> wrote in message news:3ktu35dhgauf25bcp7366geqg4knb7ef15 (AT) 4ax (DOT) com... Someone came up with the bright idea that we should list all variables and values and labels from a database into excel. If we are asking something like race and storing a value or a label in the table they want it so that it is put into excel in a format like this. name Value label ethorig 1 caucasian 2 black 3 asian 4 natives 5 others or officespace 1 no problem 2 cramped 3 can't move (they found a program online that would read this type of thing into sas) shortening their work time AND making mine a whole lot longer. At first I was going to read the varname value and label from a from but I quickly found out I was dealing with looking at the parent of a control and not a child of the main control. (that would have been a lot better I think) well any way I can't see how to do it. is there some problem or code that would read this in and store it in a format like this?? thanks for any ideas on this |
#4
| |||
| |||
|
| (they found a program online that would read this type of thing into |
|
, commas, dashes). |
#5
| |||
| |||
|
|
No the values stored in the table migh come from an option group with 8 buttons or check boxes. 0-7 is stored in the table but they are wanting a listing of what they stand for. 0 missing 1 slow etc so in an excel spreadsheet it would have leader 0 missing 1 slow this way that in their new program it would read the excel spreadsheet and auto convert 0 to missing 1 to slow. On Mon, 22 Jun 2009 13:55:32 GMT, "tina" <nospam (AT) address (DOT) com> wrote: the examples you gave look like the records in supporting tables (tables used to supply values to combobox controls in forms). you can export table data to Excel, or write a query to alias fieldnames, if you wish, and export the query to Excel. my question would be Why? what are you going to do with the data in Excel that you can't do in Access? hth "sparks" <sparks (AT) comcast (DOT) net> wrote in message news:3ktu35dhgauf25bcp7366geqg4knb7ef15 (AT) 4ax (DOT) com... Someone came up with the bright idea that we should list all variables and values and labels from a database into excel. If we are asking something like race and storing a value or a label in the table they want it so that it is put into excel in a format like this. name Value label ethorig 1 caucasian 2 black 3 asian 4 natives 5 others or officespace 1 no problem 2 cramped 3 can't move (they found a program online that would read this type of thing into sas) shortening their work time AND making mine a whole lot longer. At first I was going to read the varname value and label from a from but I quickly found out I was dealing with looking at the parent of a control and not a child of the main control. (that would have been a lot better I think) well any way I can't see how to do it. is there some problem or code that would read this in and store it in a format like this?? thanks for any ideas on this |
#6
| |||
| |||
|
| No the values stored in the table migh come from an option group with |
#7
| |||
| |||
|
|
you just type this stuff into excel and it auto creates forms and tables for you. YEA RIGHT LOL |
#8
| |||
| |||
|
|
Well it seems I am getting info from 2 people about 2 different things. This is done with a script they are trying to use that will take formatted data in an excel sheet and convert this data into variables with the values they can have. like this example name Value label ethorig 1 caucasian 2 black 3 asian 4 natives 5 others so in sas when it is imported they can have the 1 2 3 converted to the label so they work with the name instead of the value. ====================================== the other person is talking about a program called redcap. That uses something similar to this to build a form and database. It seems he saw the excel reference and decided that is what we were talking about. PS has anyone used redcap....they are saying they are going to phase out all databases and go to this within the next year. Red Cap is a thoroughly evil creature. He is a short, stocky old man |
#9
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |