Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-24-2005, 04:12 AM
happydigit happydigit is offline
Novice
Set focus on a textfield on a repeating table
 
Join Date: Nov 2005
Posts: 1
happydigit
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
Reply

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 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 1 10-10-2006 08:59 AM
Corrupt table problem... MoniqueB Office 0 01-06-2006 08:56 PM

Other Forums: Access Forums

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


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