--------------- ** A related thread FOLLOWS this message. FIDO MESSAGE AREA==> TOPIC: 119 PARADOX Ref: BE^D1525 Date: 10/31/94 From: STEVE BOOTH Time: 09:25am \/To: DAVID SHERMAN (Read 15 times) Subj: R: Object pal David, I can answer #1... currently available from Borland this is supposedly new! Regards, STeve... (Exec-PC Netmail: 1:154/280) --------------- >>>>>>>>>>>>>>>>>>>>>> LAST Message In Thread <<<<<<<<<<<<<<<<<<<<<< FIDO MESSAGE AREA==> TOPIC: 119 PARADOX Ref: BEY00003 Date: 10/27/94 From: DAVE MUTTSCHELER Time: 09:29am \/To: ANDREW MAKIEJEWSKI (Read 13 times) Subj: Thanks For Help I had similar problems with the system I am developing. What I did was save the key of the current record from the calling form via a library then when the saalled form was starting, I read the key in from the library and did a locate for the current record within the open method. If you would like to see a sample of the code or confused as to what I am doing, let me know with a note. * SPITFIRE v3.4 * Database Connections BBS * Supporting dBASE, Clipper, and More! --- Alexi/Mail 2.00 (#12) * Origin: Database Connections BBS * USR DS 16.8 * 713-980-3234 * (1:106/4196) --------------- FIDO MESSAGE AREA==> TOPIC: 119 PARADOX Ref: BEZ00000 Date: 10/24/94 From: MATTHIAS HOVESTADT Time: 01:17pm \/To: ALL (Read 13 times) Subj: Problem with the setFilter-method Hi ! I hope that someone can help me here, 'cause I've got a big problem with the setFilter-Method of an UIObject in Paradox 4.5/Win. In a table "HOURS.DB" I've got indexed the first two fields "number" and "date". In a form I created a table that I attached with the table "HOURS.DB". I planned to use the setFilter-Method of the table in the form, so that the table only displays table-entrys of the worker with a special number between to dates. Example: I want to display all entrys of worker number 10 between the 1. may and the 6. may. I used the command setFilter(10,date("5/1/94"),date("5/6/94") But there are two problems using this command: (a) If there are no entrys in the table between the two dates, Paradox displays ALL entrys. I expected, that Paradox displays NO entrys. (b) If there are entrys after the second date (e.g. an entry for the 10. ay), Paradox also displays these entrys in the table. Is there any failure in the way I use the setFilter-method of an UIObject or is there a bug in Paradox? Thanks for your answers... Greetings from Germany ! Ciao, Matthias --- GEcho 1.02+ * Origin: Pegasus BBS - Paderborn - Germany (2:243/6317.18) --------------- FIDO MESSAGE AREA==> TOPIC: 119 PARADOX Ref: BEZ00001 Date: 10/27/94 From: ROBERT GOULDY Time: 04:28pm \/To: TERRY MCGRATH (Read 13 times) Subj: Snail Mail >Snail Mail ????. That takes all the fun out of it === Hi Terry ... === Who sez??? I _still_ have a lot of fun with USPS stuffings. Besides, gives me a reason to use my word processor. And who in the world doesn't like getting a piece of mail, e or not? Also and: Printed media can have PICTURES!!!!! === Aardvark Love! === Papa Robert * WOOF! * E-Mail returned for insufficient voltage. --- --- FMail 0.98a/TAG 2.7 * Origin: Fire Point BBS Iowa Park Texas (817) 592-9414 (1:3805/4) --------------- FIDO MESSAGE AREA==> TOPIC: 119 PARADOX Ref: BEZ00002 Date: 10/28/94 From: PANN MCCUAIG Time: 03:20pm \/To: ALL (Read 13 times) Subj: Mouse HELP, please OK, we're talking Paradox v4.5 for DOS here. The little script below presents a list to the user in a dialog box and allows him to make multiple selections. I'd like to allow him to click on any item in the list with the mouse and have the same effect as if he'd pressed the while that item was highlighted (mark or unmark). HOW ? ? ? ? ? ? BTW, in my efforts to solve this on my own, I seem unable to trap a MOUSE UP event in my DialogProc. Any ideas? _ _ _ O / _ _ C_U_T_ H_E_R_E_ _ _ _ O \ ;PICKLIST.SC ;=========== ;This script presents the user with a list of items, and allows him to mark ;(and subsequently unmark, if necessary) individual items with the SpaceBar>. ;The resulting array 'PickMenu.r' will be inspected for a 'CHR(4)' in the first ;position of each item to determine if that item was selected by the user. PROC ToggleItem.a(item.a) ;======================== ;marks or unmarks current item ;----------------------------- IF SEARCH(CHR(4), item.a) <> 0 THEN item.a = CHR(32) + SUBSTR(item.a, 2, LEN(item.a) - 1) ELSE item.a = CHR(4) + SUBSTR(item.a, 2, LEN(item.a) - 1) ENDIF RETURN item.a ENDPROC PROC PickListDP.u(EventType.a, Tag.a, Event.v, cbLabel.a) ;======================================================== ;Looking for Mr. SpaceBar. ;(we know about caller's 'PickMenu.r[]' and 'item.n') ;---------------------------------------------------- IF (Event.v["TYPE"] = "KEY") AND (Event.v["KEYCODE"] = 32) THEN PickMenu.r[item.n] = ToggleItem.a(PickMenu.r[item.n]) item.n = item.n + 1 REFRESHCONTROL("pickTag") ENDIF ENDPROC PROC PickList.l() ;================ ;build a (demo) list, then show it to him and let him select items ;-------------------------- PRIVATE s, PickMenu.r, item.n, button.a ARRAY PickMenu.r[30] FOR s FROM 1 TO 30 PickMenu.r[s] = " Item Number " + STRVAL(s) ENDFOR SHOWDIALOG "PickList Demo" PROC "PickListDP.u" KEY 32 @2,20 HEIGHT 21 WIDTH 24 PICKARRAY @0,0 HEIGHT 16 WIDTH 22 PickMenu.r TAG "pickTag" TO item.n PUSHBUTTON @17,1 WIDTH 8 "~O~K" OK DEFAULT VALUE " " TAG " " TO button.a PUSHBUTTON @17,10 WIDTH 10 "~C~ancel" CANCEL VALUE " " TAG " " TO button.a ENDDIALOG RETURN RetVal ENDPROC RETURN PickList.l() _ _ _ O / _ _ C_U_T_ H_E_R_E_ _ _ _ O \ Cheers, Pann --- timEd 1.01+ * Origin: Our Man Pann's Point of Departure (1:153/733.19) --------------- FIDO MESSAGE AREA==> TOPIC: 119 PARADOX Ref: BEZ00003 Date: 10/28/94 From: ANDREW MAKIEJEWSKI Time: 09:34pm \/To: DAVE MUTTSCHELER (Read 13 times) Subj: Thanks For Help >I had similar problems with the system I am developing. What I did was save >the key of the current record from the calling form via a library then when the >saalled form was starting, I read the key in from the library and did a locate >for the current record within the open method. If you would like to see a >sample of the code or confused as to what I am doing, let me know with a note. Yeah sure would be great to see how someone else is doing things. I have lots of things to learn yet. Only been working with Paradox for about a couple of weeks. ... Trekkers work out at the He's Dead Gym. ___ Viper v2.0 [beta] [0005] --- QScan v1.12b / 01-0348 * Origin: FidoNet: CRS Online, Toronto, Ontario (1:229/15) --------------- FIDO MESSAGE AREA==> TOPIC: 119 PARADOX Ref: BEZ00004 Date: 10/27/94 From: GLORIA TUFO Time: 09:15pm \/To: ALL (Read 13 times) Subj: test only just a test making sure it's working. thanks --- FMail v0.94+/RA v1.11+ * Origin: Manila Bay BBS, Phoenix AZ, 602-995-1564, (1:114/149)