Hi Joyce:

 

Check the justification in those Dictionary items. They should both be 
Right-justified.

 

 

From: [email protected] <[email protected]> On Behalf Of Joyce White
Sent: Thursday, January 9, 2020 10:43 AM
To: jBASE <[email protected]>
Subject: Query doing string math instead of numeric with LT

 

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] <mailto:[email protected]> 
To unsubscribe, send email to [email protected] 
<mailto:[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] 
<mailto:[email protected]> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/d5c0e42d-28a9-4774-af4d-7ddbbf5dd2fd%40googlegroups.com
 
<https://groups.google.com/d/msgid/jbase/d5c0e42d-28a9-4774-af4d-7ddbbf5dd2fd%40googlegroups.com?utm_medium=email&utm_source=footer>
 .

-- 
-- 
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/00da01d5c742%24fe51a470%24faf4ed50%24%40comcast.net.

Reply via email to