Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Benny Thomas
  Where is Benny Thomas?
 Jeddah
 Saudi Arabia
 Benny Thomas
 Tags
Subject: CA Tutorial Part II
Thread ID: 209695 Message ID: 209695 # Views: 8 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Tuesday, December 30, 2008 2:26:06 PM         
   


Hi Bernard,

Thank you for the time spared to check the uploaded files. As suggested by you I have deleted all class and forms made earlier in this regard. In the VFP command box entered the following :


oConn = SQLSTRINGCONNECT([Driver={SQL Server};Server=benny\sqlexpress;Database=Northwind;Trusted_connection=yes;])
? oConn		&& returns 1 - connection successful


Then I put a print out of your CA Tutorial Part II in front of me and followed everything line by line. I created a new class caBaseClass, ticked Use DataEnvironment data source (which I missed in my earlier class), added the extra codes for the global connection in INIT() (also not done in my previous work) and saved the class. Created a new sub-class called caOrders from the baseclass and followed each instruction to save the class. Then created a test form as detailed in the tutorial. But while running the form I get the following error (same as I got earlier).


I am uploding the class and the form - kindly check it.

Regards,

Benny


https://www.foxite.com/uploads/7c11975e-239d-4ebc-9656-505369cde989.rar

ENTIRE THREAD

CA Tutorial Part II Posted by Benny Thomas @ 12/30/2008 2:26:06 PM
RE: CA Tutorial Part II Posted by Bernard Bout @ 12/31/2008 5:34:25 AM
RE: CA Tutorial Part II Posted by Benny Thomas @ 12/31/2008 8:58:38 AM
RE: CA Tutorial Part II Posted by Bernard Bout @ 1/2/2009 3:33:45 AM
RE: CA Tutorial Part II Posted by Benny Thomas @ 1/3/2009 10:02:50 AM
RE: CA Tutorial Part II Posted by Bernard Bout @ 1/3/2009 4:39:19 PM
RE: CA Tutorial Part II Posted by Benny Thomas @ 1/4/2009 9:20:46 AM
RE: CA Tutorial Part II Posted by Bernard Bout @ 1/5/2009 4:21:35 AM
RE: CA Tutorial Part II Posted by Benny Thomas @ 1/5/2009 7:48:32 AM
RE: CA Tutorial Part II Posted by Bernard Bout @ 1/5/2009 3:41:32 PM
RE: CA Tutorial Part II Posted by Benny Thomas @ 1/5/2009 6:36:37 PM