Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ljprivara

    Paradox UserMenu

    I have a number of routines whereby I allow a user to generate dynamic queries using a form. It then opens a specific report which displays the query results. When the form opens . . . if r.open(reportName, WinStyleMaximize + WinStyleHScroll + WinStyleVScroll) then create custom menu for...
  2. ljprivara

    Code needed to give a unique ID number to each row.

    Is this a multi-user app or single-user app.
  3. ljprivara

    Why can't I filter ..AB.. ?

    Why not use the DataSearch method to specifiy your search criteria, and scroll through the table using DataSearchNext method? pushButton(var eventInfo Event) action(DataDearch) endmethod method pushButton(var eventInfo Event) action(DataSearchNext) endmethod When the find dialog box...
  4. ljprivara

    Run QBE in method using alias

    Check out PARADOX 9 Help | ObjectPal Reference "executeQBE example 2" for correct syntex and methodology for querying a foreign database.
  5. ljprivara

    Using Matching records

    The way I would handle this is two-fold: First, create a tableview that displays the matching records. While in design mode, right-click on each field object and select properties. Then select the tab "Run-Time" and make sure that the property tab stop is unchecked. The user will...
  6. ljprivara

    Recordset Count - I give up

    I am still getting my bearings with using VBA in Access. However, yesterday I came up with a quick routine that requires counting the number of records returned in a sql stmt. Since it works, you might find it useful in debugging your code: (This routine does not display the results table...
  7. ljprivara

    New User Needs to Learn Ropes

    The ObjectPal Reference located in the pull-down menu under Help, is excellently written. It provides you with example code that you can cut and paste into your programs. In my opinion, the best reference book on the market for learning ObjectPal was: Title: Programming Paradox 5 for...
  8. ljprivara

    ok Need help with ObjectPal URGENT!!!

    If this is a one-time event, you do not need to combined the two fields using object-pal. You can easily accomplish this by creating a query that will combine the two values, F1 (areaCode) and F2 (oldNumber), and insert same into a new field F3 (newNumber). First, add the third field to your...
  9. ljprivara

    Print problems with Paradox 9

    This is rather odd. All of my reports converted from 4.5 to 9 without a problem.
  10. ljprivara

    Keyboard macros possible in p9?

    Paradox's help refers to the keyboard editor in WordPerfect and Corel Presentations. You can, however, create customized menus using ObjectPal, to include KeyPhysical events (e.g., Ctrl+X for cut). Thanks to OGriofa for the auto-insert date tip.
  11. ljprivara

    Print problems with Paradox 9

    Perhaps this will stop intermittent problem. Open the affected reports in design mode, and click on Page Setup under the File Menu option. Under page orientation, select Portrait and hit OK. Save report to save setting. The report will automatically default to portrait at run-time, but a...
  12. ljprivara

    Look Up Table Access Other than Ctrl Spacebar

    Create a button on the form. Attach the following code to the push-button event: method pushButton(var eventInfo Event) //#formdata1 is the explicit name of the form. if #formdata1.editing then action(DataLookup) else msgStop("STOP", "Change from...
  13. ljprivara

    Unique reference number

    This code snippet should only be used if database is NOT shared. 1. Add pushbutton to form displaying your table. 2. Replace "ReferenceNo.value" with the name of your keyed field dot value. method pushButton(var eventInfo Event) var newRefNum Number refTbl Table endvar...
  14. ljprivara

    MS Access Escape Character

    I should have mentioned that I also used double, then single quotes around the entire string. It was still rejected.
  15. ljprivara

    MS Access Escape Character

    I am trying to create a string that contains the path of a file. The path sequence is H:\CIG-shared\technology\. . . Access returns error message saying unable to locate H:\CIG. I tried putting a '\' before the -, [] around the -, double and single quotes around the -, to no avail. Any...
  16. ljprivara

    Aughhh! Opening then Closing Excel in App - Excel remains in memory

    Mark Sweetland's suggestion is correct. Write a procedure which assumes excel is already open. Of course, if it isn't, a run-time error occurs. However, the "on error" statement takes care of that. Dim obXLApp As Object Dim obXLWorkbook As Object On Error Resume Next...

Part and Inventory Search

Back
Top