Thread 25 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: How can I use a Date variable ...In the first example you use '01/18/2013' to compare to a date field. In the second you use a string or memo variable FechaMaxS to compare to a date field. Thus the type mismatch. If you declare a date var FetchMaxD and assign date( "18/01/2013") you should not get the type mismatch |
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 24 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: USING JOIN WITH executeQBE IN ...Give this a try
Check _Join1 , ~S
The only problem with this is that if S is blank you will get an error due to an extra , in the field criteria. |
 |  Corel Paradox / ObjectPAL Coding |
|
|
|
Thread 21 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: EasyWhat is the purpose of doing this? |
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 20 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: Can Paradox read multiple item...I believe you are talking about the MS Office clipboard that first appeared in Office 2007. This is availabe to the MS Office programs and I would believe that it may be available through the office ole interface. |
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 19 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | form out of sync.First thing you need to understand is that a tcursor does not automatically stay in sync with a form. When you attach the tcursor to a form object the tcursor will initially be pointing at the same record as the object. However if the tcursor or the form moves to another record, they will no longer be in sync, or pointing at the same record.
To make this code work put the attach in the prefilter
if (active.class = "Field") then
FD1_tC.attach(FD1_uiO)
n_lInt = FD1_tC.RecNo() |
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 18 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: Adding at the start of a text ...That goes way back. CR/LF would be chr(13)+chr(10) often the \n works just fine. |
 |  Corel Paradox / ObjectPAL Coding |
|
|
Thread 16 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 paulf | report problemNeed help, designing simple paradox report . In example. 2 fields
field 1 Field 2 values
1 0 |
2 2.4 |
3 1.8 ...  Dan | Hi Paul
You are going to need to convert the numerical data to a string and append spaces to the right side of the string using the fill function. If you want to convert the numerical field values into positional values you will probably have to resort to opal.
|
|
 729 Hits |  Corel Paradox / ObjectPAL Coding |
|
Thread 15 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: report problemHi Paul
You are going to need to convert the numerical data to a string and append spaces to the right side of the string using the fill function. If you want to convert the numerical field values into positional values you will probably have to resort to opal.
|
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 14 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 mike.p2 | Modifying a textstreamHi can anyone help
I am trying to insert a few extra lines into an existing text file.
the text file looks a little like this:
1 %%3000, 2 X161715Y35802T1T0, 3 X161715Y31502G01G42F10, 4 X177715Y31502G01, 5 X177715Y35802G01, 6 X177715Y35802T0, 7 X177715Y39202T0, 8 X177715Y44502G01G42, 9 X161715Y44502G01, 10 X161715Y39202G01, 11 X161715Y39202T0, 12 XYM50, 13 $T1D320S20F7R100N16Z0.220, 14 $
i need to insert new lines between line 12 and 13
this finished result should look like this
1 %%3000, 2 X161715Y35802T1T0, 3 X161715Y31502G01G42F10, 4 X177715Y31502G01, 5 X177715Y35802G01, 6 X177715Y35802T0, 7 X177715Y39202T0, 8 X177715Y44502G01G42, 9 X161715Y44502G01, 10 X161715Y39202G01, 11 X161715Y39202T0, 12 XYM50
X114300Y3000T55M31, X342900Y3000, X454200Y190500, X454200Y419100, X-213599Y4999M50M30, $T55D320S20F7R100N16Z0.220, $"
13 $T1D320S20F7R100N16Z0...  Dan | Before you writeline to the middle of a text stream you want to readline and append the line to the text you are adding. Read the help file on writeline for more info. |
|
 519 Hits |  Corel Paradox / ObjectPAL Coding |
|
Thread 13 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: Modifying a textstreamBefore you writeline to the middle of a text stream you want to readline and append the line to the text you are adding. Read the help file on writeline for more info. |
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 12 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: enumerate files and include su...If you are this far all you almost have it . what need to do is put your enumerate code a method that can be called passing in the directory path to be enumerated. You will need to include a field in your database that indicates if the directory has been enumerated. Then using a locate on that field being false you call the enumerate process until the locate does not find a directory in your table that has not been enumerated. That should do it. |
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 11 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 davidc | Code in a Form questionI've done a good bit of ObjectPAL programming and quite a bit of work on Forms - but I've never mixed the two!The database (myData.db) I'm working with has this structure:mdPerson (A8); mdEvent (A4); mdYear (SmallInt); mdMonth (SmallInt)I have a form based on that database which is primarily a crosstab of mdMonth (column) by mdEvent (row) with the content of the cells being Count(myData.mdPerson) [Thus it gives me a count of how many of each event type occurred in each month.]What I have been doing is manually setting a Filter (from the Format menu) something like mdYear > 1999What I would like to have is a form where I can do that in the form itself.So I've added to the form these fields:myYear (SmallInt); myFilter (Radio Button: "No Filter", "Year Only", "> Year", and "< Year") So I think I would use the PushButton method on the Radio Buttons, but how do I reference the value in myYear and how would I set the Filter on myData?Thanks!!!  Dan | The ValueChanged method does not occur until you depart from the field. Try the mouseClick event. |
|
 1000 Hits |  Corel Paradox / ObjectPAL Coding |
|
Thread 10 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: Code in a Form questionThe ValueChanged method does not occur until you depart from the field. Try the mouseClick event. |
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 9 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: class not registeredHave you tried reinstalling paradox 9? |
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 8 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Bob.F | paradox 7 to 9 helpI moved forms that were made with paradox 7 to
a computer with xp and paradox 9. The init event is not in the object
explorer in p9 and the forms won't open. ,
Can anyone please help with this.,
Thanks,
Bob  Dan | If Al's suggestion is not immediately available and if you are really desparate and what to view the code you can open the form using notepad or other text editor. You cannot and must not make modifications to this file using the editor. I would recommend using a disposable copy of the form for this. If you search for the open() and init() methods you can look at the text code and possibly figure out what is missing from the app... |
|
 2199 Hits |  Corel Paradox / ObjectPAL Coding |
|
Thread 7 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: paradox 7 to 9 helpIf Al's suggestion is not immediately available and if you are really desparate and what to view the code you can open the form using notepad or other text editor. You cannot and must not make modifications to this file using the editor. I would recommend using a disposable copy of the form for this. If you search for the open() and init() methods you can look at the text code and possibly figure out what is missing from the application envirment and possible correct the problem. By the way have you attempted to run the code in win98 compatability mode? |
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 6 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 mica | Paradox 11 on Win 7- always opening in design modeHello,
I have PW 11 working in a network environment-6 work stations running Windows XP. I just added another workstation running Window 7. Using the same startup icon properties as in the other 6 "working" stations", I am able to run the start up script but get the error msg that I can't open the forms in design mode. I've tried resetting the desktop PW's setting to not open forms/reports in design mode by default, but the settings seem to change back to default design mode everything I reopen PW.
Considering that everything is working ok in Windows XP, I'm thinking there's something different that PW is doing under Windows 7. Has anyone come across this anomaly?
Thanks for any help! |
 865 Hits |  Corel Paradox / ObjectPAL Coding |
|
Thread 5 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: Paradox 11 on Win 7- always op... |
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 4 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: QUERY FORMIn the status bar you should see an explaination of what compile error occured. Probably something related to the object Enter_Unit not being visible since you are using the .value property I am assuming that this is an object on the form. If the object is not within the visible containership tree you can't reference it directly. Probably the object Enter_Unit is contained within a tableframe or other object not directly visible to the pushbutton. You will probably will need to add to the containership path to address this field. Look in the paradox help concerning containership and watch the status bar. |
 |  Corel Paradox / ObjectPAL Coding |
|
Thread 3 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: Form number field lengthAre you talking about data displaied in the table or data displaied in the form. I created a table with a number field with the format set to general. The field bound to this field was set to the same format. I was able to enter 16 digit numbers and have them displaied in the form. Check to see that the data in the table isnt defined as a longint. |
 |  Corel Paradox / ObjectPAL Coding |
|
|
Thread 1 of 25 |
| Thread Starter or a Reply (but not last) | | | Group |
 Daniel Fought | RE: Using a delivered library prod...The uses clause must reference the .lsl. That said. the .lsl only needs to be present until the file that is referencing the .lsl file has been complied. The form will correctly run in both the undelivered and delivered form. Note that the .ldl does still need to be present. |
 |  Corel Paradox / ObjectPAL Coding |
|