Solved

How can I turn off word replacement in Visual Basic?

Posted on 2004-08-09
2
226 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 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

11 Experts available now in Live!

Get 1:1 Help Now