[Lazarus] WebData

Michael Van Canneyt michael at freepascal.org
Mon Oct 11 09:06:35 CEST 2010



On Sun, 10 Oct 2010, Leonardo M. Ramé wrote:

> Hi, I was reading /packages/fcl-web/src/webdata/readme.txt and tried to
> test it, and created an TFPWebProviderDataModule, with an database
> connection, joined to a TSqlQuery, TSqlTransaction, and a Datasource,
> then added a TSQLDBWebDataProvider linking it to the datasource.
>
> The cgi executable name is tarjeta.cgi, the TFPwebProviderDataModule is
> named "clientesProviderDM" and the TSQLWebDataProvider's name is
> "SQLDBWebDataProvider1". when I call it with this url, it gives en
> Access Violation without any hint about the problem that's causing it.
>
> According to the readme.txt, this should be the url I have to call to
> execute this provider:
>
> http://localhost/cgi-bin/tarjeta.cgi/clientesProviderDM/SQLDBWebDataProvider1

Actually, it should be

http://localhost/cgi-bin/tarjeta.cgi/clientesProviderDM/SQLDBWebDataProvider1/Read

to read the data.

I will check your project at noon.

Michael.


More information about the Lazarus mailing list