Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 To: Khaled Al-Najjar
  Where is Khaled Al-Najjar?
 Amman
 Jordan
 Khaled Al-Najjar
 Tags
Subject: RE: Upgrade VFP 2.6 to VFP 9.0
Thread ID: 330957 Message ID: 331043 # Views: 41 # Ratings: 1
Version: Visual FoxPro 9 Category: VFP and .NET
Date: Monday, December 26, 2011 5:45:01 AM         
   


> SET PROCEDURE TO proc_lib
> IF TYPE("SYS(0)") # "N"
> SET LIBRARY TO NETWARE.PLB ADDITIVE
> IF TTSAVAIL() = 1
> m.netware = .T.
> ELSE
> m.netware = .F.
> RELEASE LIBRARY NETWARE.PLB
> ENDIF
> ENDIF
>
> ---
>
> IF m.netware
> = ttsattrib(FULLPATH("0006.DBF"), .T.)
> = ttsattrib(FULLPATH("0006.CDX"), .T.)
> = ttsattrib(FULLPATH("0007.DBF"), .T.)
> = ttsattrib(FULLPATH("0007.CDX"), .T.)
> = ttsattrib(FULLPATH("0008.DBF"), .T.)
> = ttsattrib(FULLPATH("0008.CDX"), .T.)
> = ttsattrib(FULLPATH("0009.DBF"), .T.)
> = ttsattrib(FULLPATH("0009.CDX"), .T.)
> = ttsattrib(FULLPATH("0010.DBF"), .T.)
> = ttsattrib(FULLPATH("0010.CDX"), .T.)
> = ttsattrib(FULLPATH("0011.DBF"), .T.)
> = ttsattrib(FULLPATH("0011.CDX"), .T.)
> = ttsattrib(FULLPATH("0027.DBF"), .T.)
> = ttsattrib(FULLPATH("0027.CDX"), .T.)
> ENDIF
>
> ----
> BEGINTRAN
> COMMIT
>
> I think those command are DBF transaction

In the Tools menu, there is a Code References. Use that to search for all instances of COMMIT and replace it with END TRANSACTION. Similarly replace BEGINTRAN with BEGIN TRANSACTION. Make m.netware as .T. . Add all the tables into a database so they become transactable and delete all the TTSATTRIB lines or create a TTSATTRIB.PRG with 2 parameters which does nothing. Remove the SET LIBRARY TO lines. Set the font to Courier New.

Regards
Tushar

ENTIRE THREAD

Upgrade VFP 2.6 to VFP 9.0 Posted by Khaled Al-Najjar @ 12/24/2011 9:45:01 PM
RE: Upgrade VFP 2.6 to VFP 9.0 Posted by Rahul Moudgill @ 12/25/2011 5:52:50 AM
RE: Upgrade VFP 2.6 to VFP 9.0 Posted by tushar @ 12/25/2011 6:16:22 AM
RE: Upgrade VFP 2.6 to VFP 9.0 Posted by Tom Saddul @ 12/26/2011 3:22:26 PM
RE: Upgrade VFP 2.6 to VFP 9.0 Posted by tushar @ 12/26/2011 6:52:48 PM
RE: Upgrade VFP 2.6 to VFP 9.0 Posted by Cecil Champenois @ 12/26/2011 7:26:58 PM
RE: Upgrade VFP 2.6 to VFP 9.0 Posted by tushar @ 12/26/2011 6:53:05 PM
RE: Upgrade VFP 2.6 to VFP 9.0 Posted by tushar @ 12/25/2011 7:44:34 PM
RE: Upgrade VFP 2.6 to VFP 9.0 Posted by Khaled Al-Najjar @ 12/25/2011 9:06:01 PM
RE: Upgrade VFP 2.6 to VFP 9.0 Posted by tushar @ 12/26/2011 5:45:01 AM
RE: Upgrade VFP 2.6 to VFP 9.0 Posted by Cetin Basoz @ 12/27/2011 4:30:47 PM