473,837 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to move focus to another field

I have a VS.NET 2003 Visual Basic form which keeps hanging. It does not
appear to matter what textbox I am on. When trying to edit the field I
cannot move focus from this field to another. Clicking buttons etc. does
nothing and the focus remains with the field I had been editing. The text
boxes are bound to a record in a SQL database.
Nov 21 '05 #1
1 1644


August 9, 2004

I sounds to me like you have an error in your databinding code.
When you send the information back to the SQL server, it might
be causing an error. It will hang until it gets a response back
from the server, or times out. If you have set validation code
for the fields, you might be getting the focus put back to the
textbox because your information is not passing validation.
I suggest reviewing your code and trying to find out if an error
occurred. You might try stepping through your code and finding
out where the form hangs. Good luck!
Joseph MCP
"Heather Crow" wrote:
I have a VS.NET 2003 Visual Basic form which keeps hanging. It does not
appear to matter what textbox I am on. When trying to edit the field I
cannot move focus from this field to another. Clicking buttons etc. does
nothing and the focus remains with the field I had been editing. The text
boxes are bound to a record in a SQL database.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
16619
by: Barry Svee | last post by:
I'm struggling with the JavaScript blur event. I have an activex control that I need to interact with when a window loses focus, namely to instruct it to give up control of a barcode scanner so that the application being brought foreward can take control. It has been my observation that when I set the window.onblur function, the window will gain focus and then immediately lose focus (blur) to the first field, button, or whatever that is...
3
2629
by: Dai Ba Wong | last post by:
Hi: Currently I am having a problem with my webpage. My page consist of two frames, one consist of input text field and the other contains link for different pop-up windows. The problem follows: 1. At the beginning, focus is placed on an input text field of the first frame (so there's a blinking cursor on such field). 2. Then users click on a link of the second frame (thus focus is set
2
4372
by: Jay Villa | last post by:
I have a SSN Field which include 3 text boxes. How do I move the focus from one box to another as soon as user enter the max characters in the text box. For example: when users enter 123 in the first text box of ssn control should move to next text box ..... -Thanks Jay
2
7011
by: PeterW | last post by:
This is a re-post of a problem I have been struggling with for some time now. I'm sure I'm doing something silly! I have a data entry form with text boxes bound to a query. The user can enter data into the text boxes using a barcode scanner. The data is checked against an underlying table to see if the barcode is valid. If the user scans the correct data everything is fine. If the user scans data that is not contained in the...
6
1867
by: (Pete Cresswell) | last post by:
I *know* I've seen this before but can't remember where. Got a subform - pretty simple, actually. It's lined to a work table that contains comments related to a mutual fund. No problem loading it, shows all the comments. But once I edit a comment - say type "x" after the last word - I cannot move to the next record. I can click on another field in the same record, and focus moves... but when I click on a field in the next record,...
1
18227
by: patskinny | last post by:
I have a combo box in which a user can select a number of "1" or "0". if the user selects "1" it changes the visible property on other controls that were initial set to "Flase" to "True" . the code works until i added the set focus. why do i get this the runtime error? it says it cannot move the focus to the control. the cboVehicleLog IS enabled and NOT locked
7
6121
Andrew Thackray
by: Andrew Thackray | last post by:
Has anyone seen this problem before ? I have this code that displays a hidden combo box and sets the focus to it cmbActivityType.Visible = True cmbActivityType.SetFocus When the code executes it breaks with the message "Unable to move focus to cmbActivityType.
7
8083
by: kiwipedia | last post by:
Hi all I have a combo-box control which I've set as a required field. It's a date and uses a calendar as coded below. All works fine unless the user deletes a pre-existing value (leaving a 0-length string I guess) and then clicks in the Insertion control. This results in Runtime error '2110' with the message that "can't move the focus to the control Calendar0" I think this is because I've made Insertion a required field - certainly the...
53
8440
by: souporpower | last post by:
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script language="javascript" type="text/javascript">
0
9851
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
9695
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10902
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10642
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10286
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7013
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5680
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3128
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.