Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Field Comparision

Status
Not open for further replies.

gcw1

Programmer
Jan 12, 2002
204
CA
Hi, I'm trying to figure out away to compare 2 variables... if they are the same do one thing... if they are different do another thing. The problem is that if the fields are the same for the first 4 characters in the string it doesn't recognize any differences after that for some reason. Is there a way to get around this?

Also how do I set a specific character size in a field on a screen? I'm positive it can be done, can't remember what the format was.

Thanks

Glenn
 
Ok i've figured out the first part. when the screen opens I use SET EXACT ON.
 
I had the same problem and SET EXACT ON was the answer. There is, however, another possible solution and that is to use the == operator.
Best Regards,
Yours sincerely,
Udai.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top