Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How can I turn off word replacement in Visual Basic?

Posted on 2004-08-09
2
Medium Priority
?
234 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 195 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 180 total points
ID: 11753334
Well you can use rsTab1("Latitude") and rsTab2("LATITUDE")

Darko
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

783 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