Solved

How can I turn off word replacement in Visual Basic?

Posted on 2004-08-09
2
227 Views
Last Modified: 2013-11-25
I am working with VB6 and SQL 2000. I have two tables with column names "Latitude" and "LATITUDE". I am trying to compare the two columns using the statement:

if (rsTab1!Latitude <> rsTab2!LATITUDE).

The Visual Basic IDE is too smart in that it replaces "Latitdue" with "LATITUDE" or vice versa depending on how I am editing. How do I control this behavior?

Any help is bery much appreciated.

Kind regards

Srini
0
Comment
Question by:samble
2 Comments
 
LVL 10

Accepted Solution

by:
RichardCorrie earned 65 total points
ID: 11753270
Srini,

it is only cosmetic! the comparison will still be made.

Richard
0
 
LVL 22

Assisted Solution

by:DarkoLord
DarkoLord earned 60 total points
ID: 11753334
Well you can use rsTab1("Latitude") and rsTab2("LATITUDE")

Darko
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now