Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
Loading tables |
Tue, Oct 2 2012 5:17 PM | Permanent Link |
Ronald | Hi,
I have created a cgi stand alone exe that I can call with http://localhost/test/cgi/jso.exe?method=rows. It gives back a table in JSON format. That works fine. Then I try this in my EWB app: Database.BaseUrl:='http://localhost/test/cgi/jso.exe?method=rows; tbHolidays.DatasetName:='albums'; Database.Load(tbHolidays); I have the jso.exe create a log file so I can check the calls. But nothing happens when I call the above example code. The logfile is not created, so I assume that jso.exe is not being called. Why is that? What am I missing? Ronald |
Wed, Oct 3 2012 3:14 AM | Permanent Link |
Chris Holland SEC Solutions Ltd. Team Elevate | Hi Ronald,
Did you set up events for AfterLoad() and OnLoadError() to see if EWB thinks it got some data back? Chris Holland [Team Elevate] On 02/10/2012 22:17, Ronald wrote: > Hi, > > I have created a cgi stand alone exe that I can call with > http://localhost/test/cgi/jso.exe?method=rows. It gives back a table in > JSON format. That works fine. > > Then I try this in my EWB app: > > Database.BaseUrl:='http://localhost/test/cgi/jso.exe?method=rows; > tbHolidays.DatasetName:='albums'; > Database.Load(tbHolidays); > > I have the jso.exe create a log file so I can check the calls. But > nothing happens when I call the above example code. The logfile is not > created, so I assume that jso.exe is not being called. Why is that? What > am I missing? > > Ronald > > |
Wed, Oct 3 2012 5:10 AM | Permanent Link |
Ronald | Thanks, did not think of that. Now I see what is going wrong.
"Chris Holland" schreef in bericht news:ABB4A21A-251B-436F-959D-6FE8738CC0A4@news.elevatesoft.com... Hi Ronald, Did you set up events for AfterLoad() and OnLoadError() to see if EWB thinks it got some data back? Chris Holland [Team Elevate] On 02/10/2012 22:17, Ronald wrote: > Hi, > > I have created a cgi stand alone exe that I can call with > http://localhost/test/cgi/jso.exe?method=rows. It gives back a table in > JSON format. That works fine. > > Then I try this in my EWB app: > > Database.BaseUrl:='http://localhost/test/cgi/jso.exe?method=rows; > tbHolidays.DatasetName:='albums'; > Database.Load(tbHolidays); > > I have the jso.exe create a log file so I can check the calls. But > nothing happens when I call the above example code. The logfile is not > created, so I assume that jso.exe is not being called. Why is that? What > am I missing? > > Ronald > > |
Tue, Oct 9 2012 4:12 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ronald,
<< Then I try this in my EWB app: >> The issue is your URL, what you want is this instead: Database.BaseUrl:='test/cgi'; // Always try to use relative URLs to make life easier tbHolidays.DataSetName:='jso.exe'; It looks weird, but it will work. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, December 6, 2024 at 05:39 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |