Microsoft Office Forums Set focus on a textfield on a repeating table

Go Back   Microsoft Office Forums > >

Thread Tools Display Modes
Old 11-24-2005, 04:12 AM
happydigit happydigit is offline
Set focus on a textfield on a repeating table
Join Date: Nov 2005
Posts: 1
Default Set focus on a textfield on a repeating table

Hello Friends,

I have a huge problem with Infopath SDK. Infopaths create in formcode.cs an OnAfterChange event for adding a new row on a repeating table. I want now to set the focus to a specified textfield in this row. With the following source code it doesn't works:

IXMLDOMNode xnFocus = e.Site.selectSingleNode("@ITEM_NUMBER");
thisXDocument.View.SelectText(xnFocus,Missing.Valu e);

Has anybody a suggestions for anotherway or there the failure is situated?

Thx a lot.
Reply With Quote

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add Table of Content in word document by C# ! ! ! arun singh Word Tables 0 11-12-2008 11:21 PM
Use Form Checkbox to Add Table laxonator Word Tables 0 10-23-2008 06:21 AM
Programatically open Outlook folder (set focus) using RDO? NicMic Outlook 0 01-10-2008 03:27 PM
Include headers in table of contents bwhight Word Tables 1 10-10-2006 08:59 AM
Corrupt table problem... MoniqueB Office 0 01-06-2006 08:56 PM

All times are GMT -7. The time now is 01:01 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd. is not affiliated with Microsoft