Wow, thank you so much! You are absolutely correct, both of my dictionary definitions were Left-justified. I changed them to Right-justified and now they are treated numerically! Yay! Thanks, all! You're lifesavers!
On Thursday, January 9, 2020 at 4:24:51 PM UTC-5, Joyce White wrote: > > I have a jBASE program that does record selection using a query such as > this: SELECT X WITH BALANCE LT QUANTITY > BALANCE and QUANTITY are data dictionary-defined fields for fields 1 & 2. > My issue is this - the query is doing string math instead of number math. > For instance, 2 LT 9 evaluates as true, 2 LT 10 does NOT evaluate as true. > > How can I define my fields OR change the query so my query selection > compares these values numerically instead of as strings? > > Thanks! > Joyce > -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/b89d8d37-5470-4433-b193-1f4e5683a2f8%40googlegroups.com.
