cristal
11-05-2003, 08:53 AM
Hello everybody,
this is my first mail on this forum, I hope I can explain with my not perfect english, so sorry for mistakes in advance
I have this problem with a Word 2000 document with module fields:
I have created a survey for some customer with word and this survey
contains both text module fields and checkbox fields.
I have given them a specific name in order to recover the values of
customers'choices as they come back to me in an easy way.
Therefore, I have created on the document an hidden table and in
each fields I have put this field code {REF fieldname}.
This method works when the module field is a textbox (it shows the text
filled in the field) but as regards checkbox it shows nothing (I
expected a True/False Yes/No Checked/Unchecked Or -1/0/1, I mean
something that let me know whether checkbox was checked or not.)
I Have looked in help but I found nothing. But I think there must be
something. If not, how do I use checkbox modules for? Only for "layout"?
If there is someone that can help me I thank you in advance.
Bye
Cristina
deus_ex
11-06-2003, 03:58 PM
Hello everybody,
this is my first mail on this forum, I hope I can explain with my not perfect english, so sorry for mistakes in advance
I have this problem with a Word 2000 document with module fields:
I have created a survey for some customer with word and this survey
contains both text module fields and checkbox fields.
I have given them a specific name in order to recover the values of
customers'choices as they come back to me in an easy way.
Therefore, I have created on the document an hidden table and in
each fields I have put this field code {REF fieldname}.
This method works when the module field is a textbox (it shows the text
filled in the field) but as regards checkbox it shows nothing (I
expected a True/False Yes/No Checked/Unchecked Or -1/0/1, I mean
something that let me know whether checkbox was checked or not.)
I Have looked in help but I found nothing. But I think there must be
something. If not, how do I use checkbox modules for? Only for "layout"?
If there is someone that can help me I thank you in advance.
Bye
Cristina
By "module fields" are you referring to form fields or the fields on the control tool box? It makes a difference.
aforencich
11-06-2003, 09:34 PM
Do you actually need the table? Couldn't you just look to see what was in the check box and text box fields? You could write a VBScript and write the results to a text file.
cristal
11-07-2003, 01:33 AM
...I have this problem with a Word 2000 document with module fields:
I have created a survey for some customer with word and this survey
contains both text module fields and checkbox fields.
I have given them a specific name in order to recover the values of
customers'choices as they come back to me in an easy way.
Therefore, I have created on the document an hidden table and in
each fields I have put this field code {REF fieldname}.
This method works when the module field is a textbox (it shows the text
filled in the field) but as regards checkbox it shows nothing (I
expected a True/False Yes/No Checked/Unchecked Or -1/0/1, I mean
something that let me know whether checkbox was checked or not.)
I..
Bye
Cristina
By "module fields" are you referring to form fields or the fields on the control tool box? It makes a difference.
Hi, for module fields I intend controls that are not VB controls but on another toolbox that in italian is MODULI. There are few controls in this toolbox then in VBControls (textbox, checkbox, dropdown, table) and to use them you have to lock the document.
I can just set few properties for these checkboxes that are Dimension/DefaulValue, macro for in and out, and a bookmark. No other chances. I have to use this kind of controls because in my document there are 100 of these and I have to send it by email.
If I use VB controls this mail is too big!
I hope I can explain, I have no an English version of Winword so I do not know the exact name of this control.
Can I refer to their name in any macro or routine? I cannot find how. Could you post me a code example?
Thank you very much.
Ciao
cristal
11-07-2003, 01:38 AM
Do you actually need the table? Couldn't you just look to see what was in the check box and text box fields? You could write a VBScript and write the results to a text file.
Hi,
I need to recover values when they come back, no matter how.
Table seemed a nice way so that then I can make a copy paste on an Excel sheet to put in database the answers.
But any method is welcomed. I do not know how to refer to them with VB and VBScript. It seems that these controls are not recognized by code.
Could you post me an example? thank you in advance
Ciao