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

May 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  

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?
8 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
5 days ago
Nothing New Since Your Last Visit
19
Hits

Thread 24 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
67 days 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 ;-)
67 days ago
Nothing New Since Your Last Visit
98
Hits

Thread 23 of 25
Thread Starter  

Andrew.G
Adding Breakpoint causes Paradox to close
{Too Long!}
4 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
118 days ago
Nothing New Since Your Last Visit
203
Hits

Thread 22 of 25
Thread Starter  

PS_291
LSL Dependency Problem - Pdox7 to Pdox11 Upgrade
{Too Long!}
21 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!
4 months ago
Nothing New Since Your Last Visit
862
Hits

Thread 21 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
4 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
4 months ago
Nothing New Since Your Last Visit
155
Hits

Thread 20 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
4 months ago
Nothing New Since Your Last Visit
2248
Hits

Thread 19 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

5 months ago
4 replies. Last post:

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

Thread 18 of 25
Thread Starter  

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

Thread 17 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?
7 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 :-)
7 months ago
Nothing New Since Your Last Visit
640
Hits

Thread 16 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?
10 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)"
9 months ago
Nothing New Since Your Last Visit
521
Hits

Thread 15 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
10 months ago
2 replies. Last post:

Pete.D2
tx!
10 months ago
Nothing New Since Your Last Visit
383
Hits

Thread 14 of 25
Thread Starter  

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

Thread 13 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.
12 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!
11 months ago
Nothing New Since Your Last Visit
773
Hits

Thread 12 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
11 months ago
2 replies. Last post:

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

Thread 11 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
13 months ago
3 replies. Last post:

dcheney
{Too Long!}
12 months ago
Nothing New Since Your Last Visit
654
Hits

Thread 10 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
12 months ago
14 replies. Last post:

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

Thread 9 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
14 months ago
3 replies. Last post:

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

Thread 8 of 25
Thread Starter  

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

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

Thread 7 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
1192
Hits

Thread 6 of 25
Thread Starter  

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

Thread 5 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
17 months ago
2 replies. Last post:

BradleyWood
{Too Long!}
16 months ago
Nothing New Since Your Last Visit
594
Hits

Thread 4 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
2390
Hits

Thread 3 of 25
Thread Starter  

Marcus Davis
Paradox 9 Printing Error
Has anyone received the error shown below when trying to print from Paradox 9? If so, how do I get rid of it? , , /// Print Interface Setup Error ////, PFPS Initialized failed!, , Thanks,, Marcus
18 years ago
Nothing New Since Your Last Visit
1929
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)     n = n + 1 endwhile How to get around this...?   Thanks! -pt
17 months ago
2 replies. Last post:

philiptdotcom
Steven, Duh!!  No, I didn't.  Thanks so much!!!! (Works now--of course!) Aloha, -pt
17 months ago
Nothing New Since Your Last Visit
549
Hits

Thread 1 of 25
Thread Starter  

Lothar.K
No printers installed on the system?
Hello, I run PSP4 under Win 10. When I now try to print (with code, or manually), I get the error "No printers installed on the system." In fact, several printers are installed, and work properly from software other than Paradox. How can I get Paradox to see those printers again? Many thanks, Lothar
21 months ago
3 replies. Last post:

Steven.G
glad it's working.. that can be really frustrating, I know
21 months ago
Nothing New Since Your Last Visit
1021
Hits

New Thread
Follow PrestwoodBoards on: 


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