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 Chris Miller 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: *

  • Users: ron9999
  • Order by date
  1. ron9999

    on error is not working??

    thank you Olaf - now I got it it works thank to you all
  2. ron9999

    on error is not working??

    that's it Olaf. I have code in mybasefrm.error() and I need it in other forms derived from mybasefrm. I use vfp7. How can I change the priority that on error is launching. it does'nt work if I make a '*' in the error() method of the form. ron
  3. ron9999

    on error is not working??

    on error is not launching even if I try: do database xyz llError is not changeing it must have something with toolbar.prior() && lnResult = _screen.ActiveForm.Prior() | | V activeform.prior() && mybasfrm::prior() | | v mybasfrm.prior() && change the rec | | v activeform.prior() && here...
  4. ron9999

    on error is not working??

    now I guess I have the reason but no solution. in my thread184-1052156 I had a problem with parm because the method is called from a toolbar. This code now runs at the same method may be I also have to use the DoDefault??? ron
  5. ron9999

    on error is not working??

    thank you all, I find out all procedures and all your advices are working, if I run it in a single my.prg. I guess the problem is in my environment or settings, that's what I have to find out. on error does'nt fire - I don't know why - I try to set safty on - it was'nt if I find the solution...
  6. ron9999

    on error is not working??

    no is not working on error does not fire even a error happend ron
  7. ron9999

    on error is not working??

    thank you Mike, but it don't works
  8. ron9999

    on error is not working??

    I use this code to check if the table is in use: local llerror llerror=.f. lcStlFileName="02155.stk" (it's a dbf) ON ERROR llerror = .T. lcStkl= SYS(5)+CURDIR()+'BELEGE\'+ lcStlFileName SELECT 0 USE &lcStkl EXCLUSIVE ALIAS 'ITEMLIST' IF llerror thisform.Caption = "file is in use !!!" ENDIF...
  9. ron9999

    how to get the param from Classname::Method()

    thank you Olaf its working Mike points me to right direction but I did'nt know how to use it. thankx all
  10. ron9999

    how to get the param from Classname::Method()

    Mike, your right, Mybasefrm ist returning the result to the click in button with no problem. But I like to act according of the result in the active forms prior() method and send the result ahead to the button. the toolbar has buttons like first,prior,next,last .... and I use it with almost...
  11. ron9999

    how to get the param from Classname::Method()

    I use a toolbar with a button prior in button.click() I call lnResult = _screen.ActiveForm.Prior() the ActiveForm is a class of mybasfrm the code in ActiveForm.Prior() is mybasfrm::prior() in mybasfrm::prior() I return a parameter how can i get the return-value in ActiveForm.Prior() I try...
  12. ron9999

    help please with changing tag of a table

    Tamar, thank you! I did not know ATAGINFO() (you can't know all func but you schould know where to find it ggg) loop and filter larray[1,1], larray[1,3] if corrupt - delete all index and reindex and put the index to there position. super 10-15 years ago you show me a fast way how to check if...
  13. ron9999

    help please with changing tag of a table

    Hi Mike, thank your for this advice. The dbc was included and I excluded it, now i'm able to change the tags but now I get an other error like "the database is not valid, make a validity check" what could the reasen be for that. tia Ron
  14. ron9999

    help please with changing tag of a table

    forget to say I open the db also exclusive
  15. ron9999

    help please with changing tag of a table

    Hi All, I have a problem with changing the tag of a table in a db The code is: open Database plumber use plumber!belege exclusive set safety off if !(tag(9)== 'belegid' and key(9) == 'val(alltrim(beleg_id))') delete tag 'belegid' Index on val(alltrim(beleg_id)) tag belegid endif If I...
  16. ron9999

    how read all kind of files in a array from /mydir

    what a shame on me, but sometimes i'm a blockhead thank you awaresoft
  17. ron9999

    how read all kind of files in a array from /mydir

    Hi All, I try to read in all dbf-files from /mydir in a array to I have to creat a loop or is there a vfp-function? tia ron
  18. ron9999

    how check tables and index of a database

    thank you Tamar ron
  19. ron9999

    how check tables and index of a database

    thank you stefan it works ron
  20. ron9999

    how check tables and index of a database

    I try to check the tables and index of my app. How I thought it could go. Open the database and check how many tables there This, I guess will go with DBGETPORP() but I don’t know how here I need help please. I don’t know how to write a loop to get all tables out of the databases. If I have...

Part and Inventory Search

Back
Top