Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Office > Misc

LinkBack Thread Tools Display Modes
Old 11-24-2005, 04:12 AM
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 03:56 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc. is not affiliated with Microsoft