I.T. Discussion Community!
-Collapse +Expand
Paradox
Search Paradox Group:

Advanced
-Collapse +Expand Paradox To/From
To/FromCODEGuides
-Collapse +Expand Paradox Store
PRESTWOODSTORE

Prestwood eMagazine

November Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyCorel Paradox / ObjectPAL Coding Board   Print This     

Paradox Forms Topic RecentCreated Threads

Including form usage, form coding issues, calculated fields, and the data model.
 Show:
New Activity New Threads Oldest Unanswered Most Active Most Read
  


25 Threads:

Add New ThreadRandom Thread

Thread 25 of 25
Thread Starter  

EnigmaVariation
Error Msg : error occured when setting ..proerty
{Too Long!}
18 days ago
3 replies. Last post:

Steven.G
let me see if I understand the context, first.. you're using a form to display a lookup table, instead of using the built-in lookup help, and move to the appropriate lookup record, as you move thru the main table.. yes?
17 days ago
Nothing New Since Your Last Visit
40
Hits

Thread 24 of 25
Thread Starter  

PS_3060
Setting Upper Case in a search field
I have a search firld on a form which works fine except I need to change all characters to upper case. This is the code. It used to work but something has changed. var, pn string, endvar doDefault pn = self.value, pn = pn.upper() PTMPTNO.setRange( pn, pn+"z" ) Cheers
57 days ago
10 replies. Last post:

Steven.G
ok, an undefined field.. first, that little bit of code should work.. but second, you can still use real fields from dummy tables, in situations liek this, if pictures, lookup tables, etc. can help
52 days ago
Nothing New Since Your Last Visit
65
Hits

Thread 23 of 25
Thread Starter  

GaryG
Print form without user interaction
I would like to print the current form from a button. This can be done in objectPal by performing postaction(DataPrint) or action(DataPrint) When the postaction(or action) is performed, the printer dialog box pops up. I would like to perform this print action without the user having to click the Print button on the printer dialog box. I have tried using sendKeys with different options. Do you know of a way to print a form without any further using interaction other than clicking the button I have added on the form? Thanks
75 days ago
1 Reply:

Steven.G
action(DataPrint) is the app equivalent for "File/Print" or hitting Ctrl-P I'm pretty sure there's a "current record capture" option buried in there somewhere, but can't think of it offhand
73 days ago
Nothing New Since Your Last Visit
51
Hits

Thread 22 of 25
Thread Starter  

GaryG
printerSetCurrent is hanging
Our entire user base is running 11.0.0.676 on Windows 10. I believe this is the latest version of Paradox. Today, there is 1 user whose Paradox app is hanging when executing  the command printerSetCurrent. Rebooting does not correct the issue. code snippet: stPrnName = "Win2PDF" if printerSetCurrent(stPrnInfo) then ; THIS LINE HANGS,      setRegistryValue("Software\\Dane Prairie Systems\\Win2PDF", "PDFFileName", pathstring , regKeyCurrentUser),      setRegistryValue("Software\\Dane Prairie Systems\\Win2PDF", "file options", 2, regKeyCurrentUser),      setRegistryValue("Software\\Dane Prairie Systems\\Win2PDF", "persistent", "0", regKeyCurrentUser), else,      errorShow("Failed to make Win2PDF the current printer"), endIf Has anyone run into similar issues with printerSetCurrent? Thanks, Gary
4 months ago
7 replies. Last post:

josephpnorris
We've had this problem "forever" and haven't figured it out.  Windows 7.    It seems to come and go, but could be related to unusual status of one of your printers.   Try rebooting, etc.  Try removing unneeded printers.
119 days ago
Nothing New Since Your Last Visit
145
Hits

Thread 21 of 25
Thread Starter  

PS_2762
Opening A Form
I am absolutely brand new to programming in Paradox. I want to make a Main form. For ease of discussion, I just want to create a form which I have done that has one button. I want it to opne a form I already have linked to a table. I get a syntax error. I cannot find any build as you go coder. I have this and it gives me a syntax error: method action(var eventInfo ActionEvent), open("TestReview Form"), endMethod The form is in the same working folder as this Main form. Does anyone know what the syntax is to simply open a form? No parms passed, just open the form in data entry mode.
7 months ago
9 replies. Last post:

Steven.G
first, that code should be on the pushbutton event.. I should have noticed that you put it somplace else second, what is your intended interaction with WP and or QP? third, any modern database platform will usually be SQL-based.. can't make any specific recommendations beyond that
7 months ago
Nothing New Since Your Last Visit
82
Hits

Thread 20 of 25
Thread Starter  

rum
Order of Events
{Too Long!}
8 months ago
Nothing New Since Your Last Visit
58
Hits

Thread 19 of 25
Thread Starter  

PS_1093
Error occurred while reading graphic file
Hi guys, In my form i inserted a graphic object. But when i right click and use the paste from graphic file and selected any graphic file it say, "Disk error occurred while reading file." "Error occurred while reading graphic file." Have you encountered the same error ? Any idea how to resolve this?, , Thank you in advance for your help., , -yuz
9 months ago
1 Reply:

Steven.G
I have not used that funtion in many years.. my first guess is that it doesn't understand the file type.. remember, this is 25 year old technology, based on simple bmp logic
9 months ago
Nothing New Since Your Last Visit
66
Hits

Thread 18 of 25
Thread Starter  

Ash.B2
Populating drop down from a table
{Too Long!}
10 months ago
5 replies. Last post:

Ash.B2
Thanks so much, Rum! I took your code and refined it to my purposed.  No arrays for me, so I was able to simplify it, and in the end it wound up working better than I actually had planned!  (Was able to sort just by selecting the drop-down menu item, didn't need a separate button, like I thought I would) This worked very well, and I thank you. Ash
9 months ago
Nothing New Since Your Last Visit
419
Hits

Thread 17 of 25
Thread Starter  

Ash.B2
Hiding the desktop
I read a short article that says in order to not see the desktop, and only my forms, I need to use app.hide() The problem is that when I try it, I get syntax errors.  I've searched through the boards and through the ObjectPal guide that I have, but I have not been able to find out exactly how to do this (what code and where) I also cannot seem to find where in the Object Explorer it is indicated whether a form is a child or a dialog.  I know this seems simple, but its very frustrating.  Thank you for your help.
10 months ago
Nothing New Since Your Last Visit
166
Hits

Thread 16 of 25
Thread Starter  

Ash.B2
Bringing the Active record to a new form
{Too Long!}
13 months ago
2 replies. Last post:

Ash.B2
Never mind. Tried for a few days, couldn't get libraries to work (maybe a windows 10 issue?), but I figured it out using a query to a temp table, and pulled the value from the temp table into the second form. Maybe not the most elegant, but it works.
13 months ago
Nothing New Since Your Last Visit
170
Hits

Thread 15 of 25
Thread Starter  

Ash.B2
Form won't open
Inexperienced user here.  Self-taught, and smart enough to know that I don't know much. Paradox 10 running on Windows 10 I spent weeks developing a paradox form and application for a project I'm doing, then the form simply stopped loading. So I did it all again, spending weeks again. Then it stopped loading again. I can open all other forms in the same project, all tables, and all datamodels.  The form in question worked fine when I had it open last, designing and testing it.  Now it won't load.  All I get is the timer circle spinning, and it won't stop until I go to Task Manager and shut Paradox down.  No error message at all.
13 months ago
15 replies. Last post:

Steven.G
{Too Long!}
13 months ago
Nothing New Since Your Last Visit
207
Hits

Thread 14 of 25
Thread Starter  

rum
Forms Event Model Confusion
I have never found just the right combination of events for the following situation. In the following argument..... "C:\Program Files (x86)\Paradox\Programs\pdxwin32.exe" -c -q -pE:\OutsourceWork\V11\priv -wE:\OutsourceWork\V11 _stub.fsl Paradox will launch and display the _stub.fsl   form (no problem) When the form opens I want specific code to run AFTER the form is fully displayed. Two question 1.  How do I WAIT until the form is fully displayed 2. What event should I put the code in? My current problem is that there are 5-10 function calls that take place, each displaying results in a list on the screen.  And regardless of how many SLEEP() I put in the thing it will not display the form until about  halfway through the code execution. Sometimes only flickering onto the screen briefly before closing. Many thanks!
15 months ago
5 replies. Last post:

Steven.G
geez, that was a long-shot.. no wonder it took so long to figure it out.. wow !!
15 months ago
Nothing New Since Your Last Visit
179
Hits

Thread 13 of 25
Thread Starter  

PS_1600
Set Range/Pattern Match
I am working with a PDX8 program which uses Wahl2Wahl's table lookups which work very well. The table lookups do not function correctly on PDX10, the up/down arrows and tab do not work. I am trying to create something similar and combining  set range and locate pattern. I can get either to work but not together. Is there a way to code in such a way that the setRange is the default but the user can also type .. to enable the locate pattern logic? method keyPhysical(var eventInfo KeyEvent), , Var,   s  string, endVar,     doDefault,  ,      s = self.value,      ,      ;PART.setRange( self.value, self.value+"zzz" ),    ,       ignoreCaseInStringCompares(yes),       advancedWildcardsInLocate(Yes) ,       PART.locatePattern("DESC",s),   , endmethod Thanks. Steve
19 months ago
19 replies. Last post:

Jeff.R3
I will take a stab at it, Unfortunately,I am on vacation this week. , send a a few sample records, as well as a rough count on how many records you will be searching. I will use that info to create something. Keep in mind, I have never done this, I only presume that I can do it, AND since I have a similar issue will give it a shot. , Jeff
19 months ago
Nothing New Since Your Last Visit
446
Hits

Thread 12 of 25
Thread Starter  

GaryG
Navigation buttons disabled
I recently upgraded from Paradox 7 to Paradox 11.0.0.676. On one of the forms, the navigation buttons are disabled, yet I am able to scroll through the records using the wheel mouse. Any ideas on what may cause the navigation buttons to be disabled? P.S. I am new to Paradox. Thanks, Gary
24 months ago
3 replies. Last post:

Steven.G
interesting.. two unrelated processes the last full version of paradox was v9 in 2000.. v10 in 2002 had a few minor additions.. v11 is v10 with the service packs added, and hasn't changed in 15 years
24 months ago
Nothing New Since Your Last Visit
390
Hits

Thread 11 of 25
Thread Starter  

rum
Mouse WHEEL Movement
In PDOX 8,  the mouse wheel had no impact on the paradox environment,  It just didn't work. Now in PDOX 11,  the mouse wheel is allowing users to scroll off of the record they should be Adding/Editing.  The user is then focused on a blank screen. Is there a way to trap that event?  I dont see any clues in the help doicument when it comes to scrolling mouse wheels. Currently I use the KeyPhysical event to prevent users from using the arrow keys to move from record to record,  but does not prevent the MOUSE action
32 months ago
10 replies. Last post:

Jeff.R3
Your situation will be different than mine,  On my form,  I have a parent child situation,  and it is the PARENT i am concerned with.   So  I haven't gone any deeper.
32 months ago
Nothing New Since Your Last Visit
830
Hits

Thread 10 of 25
Thread Starter  

rum
Mouse WHEEL Movement
In PDOX 8,  the mouse wheel had no impact on the paradox environment,  It just didn't work. Now in PDOX 11,  the mouse wheel is allowing users to scroll off of the record they should be Adding/Editing.  The user is then focused on a blank screen. Is there a way to trap that event?  I dont see any clues in the help doicument when it comes to scrolling mouse wheels. Currently I use the KeyPhysical event to prevent users from using the arrow keys to move from record to record,  but does not prevent the MOUSE action
32 months ago
Nothing New Since Your Last Visit
473
Hits

Thread 9 of 25
Thread Starter  

philiptdotcom
howto display on form if rec exists in child table
{Too Long!}
34 months ago
4 replies. Last post:

Steven.G
in many situations, an empty table can cause an error when you try to address it's field values, especially if you're in View mode and there isn't actually a record there.. it's more obvious when you scan an empty or filtered table
34 months ago
Nothing New Since Your Last Visit
877
Hits

Thread 8 of 25
Thread Starter  

Lothar.K
Corrupt Form... Now what?
Hello, I run Paradox 9 SP4 with Win 10. After some diagnostic errors that had me deeply concerned, I just discovered that problems I am having occur only when I try to modify a particular form. (Whew...) That form has nothing on it other than about a dozen buttons, and I have to occasionally tweak some of the button code. Starting earlier today, I found that whenever I clicked to save, or check syntax, for code on any of the buttons, Paradox would crash. Saving code on objects on other forms works just fine. So, that would seem to indicate that the form in question is somehow corrupted. I guess that I could create a new form, draw in those buttons, and cut & paste in their code. But is there a better approach to correcting the problem I am describing? Sincere thanks, Lothar
39 months ago
9 replies. Last post:

Lothar.K
Hi Steve, I had thought that the error might be spurious, but just discovered that it was not... In one of the Var-EndVar blocks, I had selectPrinter as a string. Removing that eliminated the error. As always, many thanks, Lothar
39 months ago
Nothing New Since Your Last Visit
1095
Hits

Thread 7 of 25
Thread Starter  

rum
Application Control bar
Does anyone know which event(s) I would use to trap or capture a users mousclick on the applicaion menu. Specifically,  I want to know when the user clicks the X on the application window(not the open form).  I need to run some shutdown code before the active form starts the CLOSE event. Thanks Rum
40 months ago
2 replies. Last post:

Steven.G
add stuff to the CLOSE event on the form.. or, disable it completely with this on the MenuAction event on the form if eventinfo.id() = MenuControlClose then disabledefault return endif if you disable it completely, then they have to push your button, or select from your menu, etc
40 months ago
Nothing New Since Your Last Visit
734
Hits

Thread 6 of 25
Thread Starter  

Pete.D2
Editing on a form without keying F9
Is it possible not to have to press F9 to start editing fields on a form? The form I am working on ties the fields to a Paradox db table.
40 months ago
Nothing New Since Your Last Visit
967
Hits

Thread 5 of 25
Thread Starter  

PeteD
Form opening a form and changing working directory
Is this tough to do? Presently we are launching forms from one form but then the orginal form closes. Also we are manually having to set the working directory for each form. Obviously we would like control to return to the menu after the launched form closes and the working directory set back to what it was before. I'm using Paradox 8.00.174.
43 months ago
13 replies. Last post:

Steven.G
no.. don't run paradox from within paradox
42 months ago
Nothing New Since Your Last Visit
1264
Hits

Thread 4 of 25
Thread Starter  

Allan.P
Form not saving
First time post here.  I have a form with a main table "contact", it works fine.  Has run fine for years. I recently added in another linked table "school", one to one.  I can make changes and edit, but none of the edits to any "school" fields will be saved.  Edits to the "contact" table are saved.  I have the same "contact" and "school" tables working on other forms just fine.  I have verified the tables as well. What do ya'll suggest I look at?
58 months ago
Nothing New Since Your Last Visit
1124
Hits

Thread 3 of 25
Thread Starter  

Lynda.S
pick list and field info based on formula
{Too Long!}
59 months ago
18 replies. Last post:

stevecaple
{Too Long!}
59 months ago
Nothing New Since Your Last Visit
2657
Hits

Thread 2 of 25
Thread Starter  

Rabih.C
Customer-retail display screen communication
Hi. I wonder if anyone could help me write a code that allows control from Paradox onto the display screen that shows the price of the item entered throughyou. the bar code reader. Thank 
6 years ago
1 Reply:

mprestwood
Bar code readers are usually just keyboard wedges. Meaning, they emulate keyboard presses so no extra coding is needed. Let me know if you're doing something special; otherwise, no special coding needed.
6 years ago
Nothing New Since Your Last Visit
2328
Hits

Thread 1 of 25
Thread Starter  

Sam.S
Convert a V11 form back to 7.5????
Has anybody found a way to save a V11 form back to a version 7.5 form? I work in both platforms and inadvertantly saved something important as 11 that I need as 7.5. If anyone has an idea, I am all ears. Thanks
6 years ago
1 Reply:

Sam.S
I didn't have any luck converting back To 7.5 I ended up cutting and pasting from the v11 to an old copy of the v7.5, which worked ok. But, I had to copy each object separately. If I tried multiples, they would loose all the text labels.
6 years ago
Nothing New Since Your Last Visit
1710
Hits

New Thread

Follow PrestwoodBoards on: 


©1995-2020 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech