View Single Post
  #27   Spotlight this post!  
Unread 23-11-2004, 13:53
fasp fasp is offline
Registered User
no team
 
Join Date: Nov 2004
Location: Mexico
Posts: 1
fasp is an unknown quantity at this point
[[[[[ Need Help? Call us! ]]]]]]

Hi, 1st of all im from Mexico, so im not an expert in english language!
2nd, im desparate, im programming in delphi and i need help; so... im accepting your help!

situation:

i have mi desktop pc (we can call it PC), and my laptop. In both computers i have visual fox pro and delphi. Im building an application that have a db grid (Element place in the Data Controls tab... in delphi of course ) , an adotable and a datasource (nothing outta this world ). Beside this i do click in the lil browser icon in the adotable's ConnectionString property, my USE CONECCTION STRING look like this:Provider=MSDASQL.1;Persist Security Info=False;Data Source=Karla then i do click in the Build button, it sends me to a window that have 4 tabs, in the Connection Tab i choose in the name of my db in odbc "karla". "karla" is my 'alias' to redirect delphi to check my db.

Now, in this point u will wanna know the configuration of 'karla', so , here we go:

I went to the ODBC icon (Star/control panel/administrative tools/Data source (odbc) ), then i click in add... (adding a new user data source), then i choose Driver do Microsoft dbase(*.dbf) (remeber im using visual fox pro database), click finish, then in data source name i write 'karla', in the version i choose 'dbase 5.0', and finally y click select directory and find the folder of my database. click OK, done.

Great!!

Now, back to the delphi's form i put in datasource's dbgrid 'datasource1', in tablename's adotable i choose 'da15' (thats the table im using) and finally choose TRUE in the property active of my adotable.

Perfect, the info is load it, and i can read it from my dbgrid! perfect! now.. play...WOW ERROR!


Project project1.exe raised exception class EOleException with message '[Microsoft][ODBC dBase Driver]Unexpected error from external database driver (15877)'.


mmm i dont now why?! if i run this application in my pc i have no problem, its run well, but inmy laptop doesnt

what could it be? help!!!

and thanks for your time!!

Last edited by Ken Leung : 23-11-2004 at 23:18.