H horstuff Guest Aug 13, 2003 #1 How do I use a form name with a space in the name in the following command? Forms!Purchase Orders!txtShippingMethod = 2 Thanks much.
How do I use a form name with a space in the name in the following command? Forms!Purchase Orders!txtShippingMethod = 2 Thanks much.
fuzzygeek Energy Ebbing Local time Today, 23:39 Joined Mar 28, 2003 Messages 989 Aug 13, 2003 #2 Forms![Purchase Orders]!txtShippingMethod = 2 From the vba help screen on Form Object: Syntax Example Forms!formname Forms!OrderForm Forms![form name] Forms![Order Form] Forms("formname") Forms("OrderForm") Forms(index) Forms(0)
Forms![Purchase Orders]!txtShippingMethod = 2 From the vba help screen on Form Object: Syntax Example Forms!formname Forms!OrderForm Forms![form name] Forms![Order Form] Forms("formname") Forms("OrderForm") Forms(index) Forms(0)
N namliam The Mailman - AWF VIP Local time Tomorrow, 00:39 Joined Aug 11, 2003 Messages 11,695 Aug 14, 2003 #3 To prevent problems like this its good practice to simply NOT use spaces and special characters in your names anywhere in the DB. In the long run it will save you a ton of headaches Regards
To prevent problems like this its good practice to simply NOT use spaces and special characters in your names anywhere in the DB. In the long run it will save you a ton of headaches Regards