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

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

   ► MB LobbyCorel Paradox / ObjectPAL Coding Board   Print This     

ObjectPAL Topic

Programming in Paradox / ObjectPAL.
 Show:
New Activity New Threads Oldest Unanswered Most Active Most Read
  


25 Threads:

Add New ThreadRandom Thread

Thread 25 of 25
Thread Starter  

rum
OPAL to DISPLAY QB Tool
hello,   This must be an oversight(or Alzhiemers) on my part. How do I open a query using ObjectPAL  and display it in the query editor so that I can modify? For a table I do the following var,    t string, endvar t = editTableList ; (THIS IS A NAME FROM LIST OF TABLE NAMES) dlgRestructure (t)
38 days ago
6 replies. Last post:

Jeff.R3
Thanks Jay,  but you misunderstood the question.  I dont need the text,  I need the designer to open and display for a query that was pre-designed and saved. In OPAL, var Q Query endvar q.readfromfile("c:\\temp\\somequery.qbe") ; now, i want q.displaydesigner() or q.restructure(), or menuaction.newquery(q) or any other of things I haven't found thanks, Jeff
37 days ago
Nothing New Since Your Last Visit
43
Hits

Thread 24 of 25
Thread Starter  

Klepsis
formatted memo question
I have a form field which I would like to use to modify a formatted memo table field without giving the user direct access to the underlying table.  I can get the table field to display in the form field, but when I try to update it the formatting doesn't seem to work.  (tab and enter keys take me out of the form field).  I have tried both undefined and defined field creation and the only difference is that I have to press F9 when entering text into the defined field version.  How do I enter formatted text into this field?
65 days ago
7 replies. Last post:

Eugene.W
OK.  The Shift F2 makes it work like I thought it should.  I'm sure that that is somewhere in the reference manual and I've been glossing over it.  I'll need to include a text reminder on the screen above the field in order to have the users update the field properly, :-)  but that's no biggie.  Thanks for the help.  
64 days ago
Nothing New Since Your Last Visit
45
Hits

Thread 23 of 25
Thread Starter  

afhynes2
ObjectPal msgQuestion
I have not done any script writing for many years and my memory isn't what it used to be. In one of my scripts I have a msgQuestion that brings up a dialogue box. The default answer in the box is "Yes". Can I change it to "No" because that is the prevailing answer. Rarely do I need to select "Yes"
89 days ago
2 replies. Last post:

jochen.h
Why don;t you just change the text of the msgQuestion so that the defaulty answer is Yes ???
87 days ago
Nothing New Since Your Last Visit
44
Hits

Thread 22 of 25
Thread Starter  

Cottage Builder
Passing a variable in an export process
HI folks, I have the following code with a form;             exportASCIIVar(":RSA:Mailing Emails.db",":RSA:Reports\\Temporary Mail List.csv", "\t","\"",False,True), ,             MsgInfo("Well Done","The E Mail List for "+s+" has been updated.") S has been populated before this point, but I would like to replace "Temporary Mail List.csv" with a file name made up of the value of s, plus ".csv" Does anyone have any suggestion?
99 days ago
1 Reply:

Steven.G
s = ":RSA:Reports\\Temporary Mail List.csv" exportASCIIVar(":RSA:Mailing Emails.db",s, "\t","\"",False,True) if that's not what you meant, you'll have to explain differently
96 days ago
Nothing New Since Your Last Visit
60
Hits

Thread 21 of 25
Thread Starter  

ForestCat
Export All Custom ObjectPal Code?
Hi, It's probably asking a lot, but is there some way to get a nicely formated (indented) document  listing all the ObjectPAL attached to a form?  Thanks for reading
5 months ago
2 replies. Last post:

Neil.N
 Thank you, Steven, that's awesome.  Of course I feel stupid that the capability is built in to the language itself and I didn't find it.  I was looking for it in the ui, but alas, it was burried in the 1000+ pages of paper manuals I got (and still have) w/ Borland Paradox For Windows in '93.  Ah those were the days ;-)
5 months ago
Nothing New Since Your Last Visit
144
Hits

Thread 20 of 25
Thread Starter  

Andrew.G
Adding Breakpoint causes Paradox to close
{Too Long!}
7 months ago
6 replies. Last post:

Steven.G
something to avoid? nothing that we know of.. computers aren't perfect.. stuff happens copy/paste? yes, that's what I've done.. I had to re-create a very complex form last year, for a client.. one piece at a time, test it, move on.. never found a specific piece that would fail.. eventually, it was all done, and I could finally make changes that they'd needed for several years
7 months ago
Nothing New Since Your Last Visit
248
Hits

Thread 19 of 25
Thread Starter  

PS_291
LSL Dependency Problem - Pdox7 to Pdox11 Upgrade
{Too Long!}
24 months ago
9 replies. Last post:

John.O2
Cheers! If only the port away from pdox could go a easily, but hey- I'll take Win 10/Server 2019 compatibility in the meantime!
7 months ago
Nothing New Since Your Last Visit
937
Hits

Thread 18 of 25
Thread Starter  

Lothar.K
ObjectPAL version incompatable...?
Howdy, I run Paradox 9, under Win 10. I made a minor edit to a particular report. Let's call it Report1. Typically, I print that report using code that is on the doubleclick of a field on an MRO on a form called Form1. Now, when I launch Form1, and doubleclick on the appropriate field in the MRO, I get the error: "The objectPAL version used in this form is incompatible with this version of Paradox. You must recompile from source." So, I opened the form in Edit mode, viewed the code on the field's doubleclick, saved it, and delivered it. Next, I did just that for Report1. I relaunched Paradox, and also rebooted the system, but still get the error. In addition, I can launch the report, and can print it manually, with no problem. How can I correct this error when trying to use the code to do the printing from Form1? Sincere thanks, Lothar
7 months ago
2 replies. Last post:

Lothar.K
Hi Steven, I thank you for your suggestion and did try it. While experimenting, I stepped through the code, and found something odd, that allowed me to tweak it. With that, all worked well. So though I had success, I confounded the experiment, and I don't know which of the tweaks corrected things. In any case, as before, sincere thanks, Lothar
7 months ago
Nothing New Since Your Last Visit
202
Hits

Thread 17 of 25
Thread Starter  

assure
OBJECT PAL WITH INTERBASE
hello , , I would Like to know where I find examples of Object Pal , , Thank you Big Grin!
17 years ago
8 replies. Last post:

Jim.S6
I think I found it. Its in Programs(x86)Paradox\Template\classic. At least all the database tables are there.  THANK YOU SOO MUCH
7 months ago
Nothing New Since Your Last Visit
2304
Hits

Thread 16 of 25
Thread Starter  

Lothar.K
Debugger NOT Debuggin' (It's Blank...)

Hello,

I just entered a breakpoint in some code I have, but then, when I ran the code, the Debugger dialog launched, but it did not populate. It is completely blank.

I have no idea how to proceed (but I do have a large mallet at the ready.)

Thanks for any suggestions,

Lothar

8 months ago
4 replies. Last post:

Lothar.K
{Too Long!}
8 months ago
Nothing New Since Your Last Visit
196
Hits

Thread 15 of 25
Thread Starter  

Sam.S
Accessing an FTP with filesystem in ObjectPal
{Too Long!}
29 months ago
Nothing New Since Your Last Visit
1738
Hits

Thread 14 of 25
Thread Starter  

objectpal123
Closing TCursor variables declared within a method
If a variable that is declared within a method goes out of scope at the end of that method, is it really necessary to close a TCursor variable that is declared within a method?
10 months ago
9 replies. Last post:

Steven.G
my job is to teach "best practice".. and allow for when it's not always worth re-engineering for, like in this situation.. your mileage may vary :-)
10 months ago
Nothing New Since Your Last Visit
681
Hits

Thread 13 of 25
Thread Starter  

Pete.D2
Getting a buttons labeltext
I'd like to use a button's label in the code in the pushbutton event. Prerably I'd like not to name the button because I have a lot of these buttons that need the same treatment. I tried msgInfo("", this.labeltext) to try to get the right syntax to obtain that info but I didn't get anywhere. Tis is possible, right?
13 months ago
5 replies. Last post:

Pete.D2
My boss dug this up: method GetLabel(slf uiobject) string var,    a1 string,    ui uiobject , endvar a1 = slf.first, ui.attach(a1), a1 = ui.value return a1 endMethod and call it on the pushbutton with "GetLabel( self)"
12 months ago
Nothing New Since Your Last Visit
547
Hits

Thread 12 of 25
Thread Starter  

Pete.D2
Making an array universally available
Hi Gang, If I need to make sure an array is seen through a form and to any called methods, say in a library, how is that achieved? Pete
13 months ago
2 replies. Last post:

Pete.D2
tx!
13 months ago
Nothing New Since Your Last Visit
409
Hits

Thread 11 of 25
Thread Starter  

rum
Screen Resolution and Resize Control
{Too Long!}
13 months ago
Nothing New Since Your Last Visit
409
Hits

Thread 10 of 25
Thread Starter  

rum
Export table to spreadsheet
exportSpreadsheet Does anyone know of an alternative method to export data from a table to a spreadsheet? I am currently using this,   exportSpreadsheet ( const tableName String, const fileName String [ , const makeRowHeaders Logical ] ) Logical but it has some extreme limitations,  such as FONT control and the number of lines you can export.
15 months ago
27 replies. Last post:

andwye
I do understand and that's why I'm installing a Filemaker system but it's taking time to replicate the versatility that we have with Paradox. Such a shame!
14 months ago
Nothing New Since Your Last Visit
828
Hits

Thread 9 of 25
Thread Starter  

Pete.D2
How to evaluate/construct variables?
I need to be able to loop through a set of variables, say F1 through F3 using a for loop. To be able to do this I need something like this: f1 = "hello" f2 = "hi" f3 = "Goodbye!" for i from 1 to 3     msgInfo( "",  m.( "f" + string(i) ) ) endFor Where the variable name is constructed from its parts. The syntax for the evaluation here is wrong. What's the correct way? Pete
14 months ago
2 replies. Last post:

Pete.D2
Almost as good! Thanks Steven.
14 months ago
Nothing New Since Your Last Visit
389
Hits

Thread 8 of 25
Thread Starter  

davidc
Search multiple Scripts
Howdy, Is there a way to search for something (a variable name, for example) across multiple scripts (and each section of those scripts, like run, var, proc, etc.)? In the ideal world, I'd like the output to be something like:    script1.ssl   proc   1732   the line of code with the search phrase I suppose I might have to write my own script to do it - but was hoping for something easier. (My big project has code split across several scripts because of the size limitations built-in to Paradox.) Thanks, David
16 months ago
3 replies. Last post:

dcheney
{Too Long!}
15 months ago
Nothing New Since Your Last Visit
684
Hits

Thread 7 of 25
Thread Starter  

Lothar.K
Code to delete record's last character
Hello, This would seem pretty simple, but... I have some code that generates a CSV file that I then export to my phone. I need to tweak the code so that it looks at the last character of each record, and then deletes that character if it is a comma. Might you point me in the right direction to do that? I'm stumped. Sincere thanks, Lothar
15 months ago
14 replies. Last post:

Jeff.R3
We have another office in Mount Pleasant(sullivans Island), maybe I will visit that office again
15 months ago
Nothing New Since Your Last Visit
369
Hits

Thread 6 of 25
Thread Starter  

Lothar.K
Field text displays in REVERSE?
Howdy, I have a multipage form that has a significant amount of code on it. One of its fields has started to display its newly entered text in reverse order of the keystrokes. So if I type KEYSTROKES immediately after entering Edit mode what appears in the field is SEKORTSYEK. If I enter Edit mode, and pause for a few seconds before typing, all is well. I have no understanding about how to diagnose and correct this problem, so would welcome any help. All the best, Lothar
17 months ago
3 replies. Last post:

Steven.G
maybe the printer "collate" function is bleeding thru :-)
17 months ago
Nothing New Since Your Last Visit
626
Hits

Thread 5 of 25
Thread Starter  

tlegends
Variable with value of reserved word query
{Too Long!}
18 months ago
10 replies. Last post:

tlegends
Excellent! That worked perfectly! Thank You
17 months ago
Nothing New Since Your Last Visit
620
Hits

Thread 4 of 25
Thread Starter  

Socrates
Printing
I have a form set up which prints three different reports. Im wondering if there is any way of using the pring function without the print box coming up asking you about all your preferences. Can i just print it straight?
18 years ago
Nothing New Since Your Last Visit
1220
Hits

Thread 3 of 25
Thread Starter  

Leo
updating table from table with TCursor
{Too Long!}
16 years ago
Nothing New Since Your Last Visit
4631
Hits

Thread 2 of 25
Thread Starter  

philiptdotcom
makeDir(varname) - or, how to convert var to const
I need to use a (string) variable as a parameter for makeDir, but it only accepts a constant as a parameter. For example: n = 1 while n <4    stVar = "dirname" + string(n)    makeDir(stVar) endwhile How to get around this...?   Thanks! -pt
20 months ago
2 replies. Last post:

BradleyWood
{Too Long!}
19 months ago
Nothing New Since Your Last Visit
620
Hits

Thread 1 of 25
Thread Starter  

DragonWare
Password and Restriction of what the user can do
{Too Long!}
17 years ago
Nothing New Since Your Last Visit
2415
Hits

New Thread
Follow PrestwoodBoards on: 


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