TIP: Click on subject to list as thread! ANSI
echo: paradox
to: ALL
from: KENNETH ULLMAN
date: 1994-12-11 10:49:00
subject: GETTING ZERO TO BE ZERO

sometimes when I sum two columns and then take the difference between the 
two, the answer should be zero is not! I shows up and prints as zero (0.00) 
but when I do a query and ask for all records that have <0 in this field I 
get these records.  How do I make sure that zero is zero.
 
 thanking you in advance, kenneth Ullman
--- FLAME v1.1
---------------
** A related thread FOLLOWS this message.

FIDO MESSAGE AREA==> TOPIC: 119 PARADOX       Ref: BGKB2876 Date: 12/16/94
From: STEVE BOOTH                                           Time: 07:47am
\/To: KENNETH ULLMAN                                      (Read 12 times)
Subj: R: GETTING ZERO TO BE ZERO

Re: getting quick answers to a variety of records in a script in
Paradox for DOS...
 
I'd use a Query and the Calc Count option to get the number of records...
 
Regards, STeve... (Exec-PC Netmail: 1:154/280)
---------------
>>>>>>>>>>>>>>>>>>>>>> LAST Message In Thread <<<<<<<<<<<<<<<<<<<<<<

FIDO MESSAGE AREA==> TOPIC: 119 PARADOX       Ref: BGI00012 Date: 12/12/94
From: LANCE LEONARD                                         Time: 09:59pm
\/To: DAVID SHERMAN                                       (Read 14 times)
Subj: Pdox win question

David,
 
A couple of days ago, I promised to see if I couldn't put together a code 
sample for calling the messageBox() function from the Windows API.  Well,
I've managed to do so and here's the results, which I'm going to post in two 
messages (just in case some of our collegues are calling from BBS's with 
limited message sizes.)
 
The posts are broken down into the two methods that I've devised.  The sample 
is implemented from the point of view of a button (and should go into 
corresponding methods, or similar ones within the scope of the button).
First, you'll want to declare some constants for calling the function.  What 
follows is my declaration, which include the constants from the WINDOWS.H 
include file distributed with Borland C++ v4.02:
 
;|BeginMethod|#Page2.#Button3|Const|
Const
; Constant definitions adapted from the WINDOWS.H provided with
; Borland C++ v4.02.
;
; int     WINAPI MessageBox(HWND, LPCSTR, LPCSTR, UINT);
; void    WINAPI MessageBeep(UINT);
MB_OK               = 0
MB_OKCANCEL         = 1
MB_ABORTRETRYIGNORE = 2
MB_YESNOCANCEL      = 3
MB_YESNO            = 4
MB_RETRYCANCEL      = 5
MB_TYPEMASK         = 15
MB_ICONHAND         = 16
MB_ICONQUESTION     = 32
MB_ICONEXCLAMATION  = 48
MB_ICONASTERISK     = 64
MB_ICONMASK         = 240
MB_ICONINFORMATION  = 64 ; MB_ICONASTERISK
MB_ICONSTOP         = 16 ; MB_ICONHAND
MB_DEFBUTTON1       = 0
MB_DEFBUTTON2       = 256
MB_DEFBUTTON3       = 512
MB_DEFMASK          = 3840
MB_APPLMODAL        = 0
MB_SYSTEMMODAL      = 4096
MB_TASKMODAL        = 8192
MB_NOFOCUS          = 32768
; End of constants declared for the messageBox Windows API function.
; Declare the return values, again based on the WINDOWS.H file
; provided with Borland C++, v4.02.
; 
; /* Standard dialog button IDs */
IDOK                = 1
IDCANCEL            = 2
IDABORT             = 3
IDRETRY             = 4
IDIGNORE            = 5
IDYES               = 6
IDNO                = 7
endConst
;|EndMethod|#Page2.#Button3|Const|
; End of listing 1; message continues in the next posting...
--- Maximus 2.02
---------------
* Origin: HAL-PC - The New Generation - (713)963-4100 (1:106/4100)
* Origin: Mountain Retreat (1:216/506)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.