Delphi For PHP Forums       


Go Back   Delphi-PHP Forums > Programming > Database Integration
Forum Jump Register FAQ Members List Downloads Search Today's Posts Mark Forums Read

Database Integration How to use MySql, PostgreSQL, MS SQL, Oracle, and most other databases with PHP.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28th May 2009, 10:08
D4PHP Newbie
 
Join Date: Apr 2009
Posts: 7
Charbouni is on a distinguished road
Default Post error

this action geave me a error message !!!please help me
Code:
function Button1Click($sender, $params)
       {
       $this->IBTable1->post();     
       }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28th May 2009, 11:21
D4PHP Newbie
 
Join Date: Apr 2009
Posts: 7
Charbouni is on a distinguished road
Default

I m using the mssql driver for MYSQL but the comands don t work correctly:

function BTN_ULTClick($sender, $params)
{
$this->Query1->Last();
}

function BTN_PROXClick($sender, $params)
{
$this->Query1->Next();
}

function BTN_ANTClick($sender, $params)
{
$this->Query1->Prior();
}

function BTN_PRIMClick($sender, $params)
{
$this->Query1->First();
}

and the First(), Last() and Post() events return me the following error:


Application raised an exception class EPropertyNotFound with message 'Trying to access non-existant property Table->id_moeda in dbtables.inc.php, line 660.'
Callstack #0 File: C:\Delphi4PHP\ExemploSQLSERVER\sqlserver_ex.php Line: 89
|_Callstack #1 File: C:\Arquivos de programas\CodeGear\Delphi for PHP\1.0\vcl\classes.inc.php Line: 1839
|_Callstack #2 File: C:\Arquivos de programas\CodeGear\Delphi for PHP\1.0\vcl\classes.inc.php Line: 1911
|_Callstack #3 File: C:\Arquivos de programas\CodeGear\Delphi for PHP\1.0\vcl\classes.inc.php Line: 1471
|_Callstack #4 File: C:\Arquivos de programas\CodeGear\Delphi for PHP\1.0\vcl\stdctrls.inc.php Line: 1099
|_Callstack #5 File: C:\Arquivos de programas\CodeGear\Delphi for PHP\1.0\vcl\classes.inc.php Line: 1548
|_Callstack #6 File: C:\Arquivos de programas\CodeGear\Delphi for PHP\1.0\vcl\dbtables.inc.php Line: 660
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 28th May 2009, 13:37
405hp's Avatar
Firebug Fanatic
 
Join Date: Dec 2007
Location: State of Confusion
Posts: 3,272
405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute
Default

Try a table instead of a query?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 30th May 2009, 09:12
D4PHP Newbie
 
Join Date: Apr 2009
Posts: 7
Charbouni is on a distinguished road
Default

Same thing
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 2nd June 2009, 13:43
405hp's Avatar
Firebug Fanatic
 
Join Date: Dec 2007
Location: State of Confusion
Posts: 3,272
405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute
Default

Quote:
mssql driver for MYSQL
right driver?

I just use defaults with mysql.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 16:33.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Copyright © 2004 - 2009, G&J Solutions Ltd. All Rights Reserved. terms of use