Microsoft
Software
Hardware
Network
Question : Access 2003 spell checker msg.
Hey, kinda related to a previous question. I have an access 2003 db with a form. i am runing the following code on CreateNew record to spell check. Problem is, I have fields such as date a number fields and each time i run the spell checker i get an error msg first saying the i am trying to check fields that are not text or memo and that it cannot check these fields. But then it performs the rest of the check fine. How can i avoid this message or have it not check those fields. We'll call the controls: txt1, txt2, txt3. Also my question is it says "fields" does that mean i need to reference the control source and not the control name? if so, we'll say the control sources are "txt1" = "field1" etc for the purpose of this example. Thanks.
For Each ctlSpell In Me.Controls
If TypeOf ctlSpell Is TextBox Then
If ctlSpell.Name <> "Document_Date" Then
If Len(ctlSpell) > 0 Then
With ctlSpell
.SetFocus
.SelStart = 0
.SelLength = Len(ctlSpell)
End With
DoCmd.RunCommand acCmdSpelling
End If
End If
End If
Next
DoCmd.SetWarnings True
Answer : Access 2003 spell checker msg.
try changing this line:
If TypeOf ctlSpell Is TextBox Then
to:
If ctlSpell Not IsNumeric Then
Random Solutions
where parameters aspx .net page
Error received - "Access to the path 'C:\System Volume Information' is denied." - when trying to search for a file
Server activesync event ID 3005
data transfer cable vista
Can't get the Excel ado connection to work with .xls version 2.1
reset server node -WSUS3 -SP2
JQuery is disabled by partial postbacks
How do I manually code a Generic Pull Down Menu in VB Express 2008
MS Excel 2007 Opens 2 Windows Every Time I Open File From Shortcut. How do I Fix?
Can i use XSD.exe or XSDObjectGen to generate a class library from a DTD? And if so which is best?