[dba-Tech] One more thing on Word dropdown field

Susan Harkins ssharkins at gmail.com
Sun Aug 19 14:13:16 CDT 2007


.Result works, but I was using the wrong syntax -- need ThisDocument instead
of ActiveDocument. 

Susan H. 

On 8/19/07, Susan Harkins <ssharkins at gmail.com> wrote:
> I'm not seeing any way to actually compare the selected value -- only 
> the position of the selected value. For instance, if the user selects 
> the first item, which is "blue" -- the
>
> ActiveDocument.FormFields("field").DropDown.Value
>
> Returns 1
>
> If the user selects the second item, which is red, it returns 2.
>
> I can't find a statement to return "blue" and "red."
>
> Can you do that?

Off the top of my head, try .Result instead of .Value

--
Bryan Carbonnell - carbonnb at gmail.com
Life's journey is not to arrive at the grave safely in a well preserved
body, but rather to skid in sideways, totally worn out, shouting "What a
great ride!"
_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.484 / Virus Database: 269.12.0/961 - Release Date: 8/19/2007
7:27 AM
 




More information about the dba-Tech mailing list