Author | Topic: RDD Question | |
---|---|---|
Al Wimberly | RDD Question on Thu, 01 Apr 2010 23:10:39 -0400 Been working in Xbase++ a coupla' weeks now, so I'm a true newbee trying to convert a very big 20-year-old Clipper app to a 32-bit text only package. This line fails on the VIA "SIXCDX" -- but works if I remove the VIA and RDD name. USE LOCAL ALIAS LOCAL VIA "SIXCDX" EXCLUSIVE NEW This is what I have used in Clipper to permit running with and without ADS. Xbase++ lets it pass but I have some doubts about the proper RDD names. Can anyone guide me here please. ==================== Check for ADS NLM (client/server capable) lAXLoaded := AX_Loaded(AX_GetDrive(cDataPath PLUS "mnames.dbf")) cDataDriver := if(lAXLoaded, "DBFCDXAX", "SIXCDX") Set default replaceable data driver RDDSetDefault(cDataDriver) Thanks Al Wimberly | |
James Loughner | Re: RDD Question on Sun, 04 Apr 2010 19:54:46 -0400 SIXCDX is not a supported format FOXCDX is probably the closest. Jim On 04/01/2010 11:10 PM, Al Wimberly wrote: > Been working in Xbase++ a coupla' weeks now, so I'm a true newbee trying to > convert a very big 20-year-old Clipper app to a 32-bit text only package. > > This line fails on the VIA "SIXCDX" -- but works if I remove the VIA and RDD > name. > USE LOCAL ALIAS LOCAL VIA "SIXCDX" EXCLUSIVE NEW > > This is what I have used in Clipper to permit running with and without ADS. > Xbase++ lets it pass but I have some doubts about the proper RDD names. Can > anyone guide me here please. > ==================== > Check for ADS NLM (client/server capable) > lAXLoaded := AX_Loaded(AX_GetDrive(cDataPath PLUS "mnames.dbf")) > cDataDriver := if(lAXLoaded, "DBFCDXAX", "SIXCDX") > Set default replaceable data driver > RDDSetDefault(cDataDriver) > > Thanks > > Al Wimberly > > > |