Solved

How can I turn off word replacement in Visual Basic?

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

713 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