Dubya
07-23-2003, 06:45 AM
Hello everyone,
I'm trying to change this database editing application http://actionscript-toolbox.com/samplemx_dbedit.php
so I can use it for a project I'm building. For those who are not familiar with either the site or the sample, check it out (but look out: currently there seem to be problems with the database and the sample doesn't function properly. But that's okay: I've tested it in the past and it worked a 100% then). (euh, checked it on july 23th and it seems to be working again...)
So far I've been able to change the 'Add new record' section of this application. I've changed the fields to match my database fields and added a few new fields. That works (hoerah hoerah hoerah!!!)
But... normally, each time you start the application or change something to it (add new record, edit or delete existing record) the listbox with data (pulled out of the database) is refreshed. THAT DOESN'T WORK FOR ME !
Although I'm anything but a AS-specialist I think I have an idea where it goes wrong. In this application there is an as-file that contains all the code. (I've added that document here)
On line 49-50 of this document there's this code : lvAddressData.tab = "contacts";
In the php files used to refresh the records, there's a reference to this .tab thing but I can't place it!!!!
If anyone out there has any idea where and why things go wrong please let me know.
I can tell you one thing: anyone who ever wants to have a webbrowser application to work/insert/edit with records from a database... don't forget to check out this top-number1-tool!!!
Greetz from
Dubya
ps: change the .txt extension back to .as before testing !
I'm trying to change this database editing application http://actionscript-toolbox.com/samplemx_dbedit.php
so I can use it for a project I'm building. For those who are not familiar with either the site or the sample, check it out (but look out: currently there seem to be problems with the database and the sample doesn't function properly. But that's okay: I've tested it in the past and it worked a 100% then). (euh, checked it on july 23th and it seems to be working again...)
So far I've been able to change the 'Add new record' section of this application. I've changed the fields to match my database fields and added a few new fields. That works (hoerah hoerah hoerah!!!)
But... normally, each time you start the application or change something to it (add new record, edit or delete existing record) the listbox with data (pulled out of the database) is refreshed. THAT DOESN'T WORK FOR ME !
Although I'm anything but a AS-specialist I think I have an idea where it goes wrong. In this application there is an as-file that contains all the code. (I've added that document here)
On line 49-50 of this document there's this code : lvAddressData.tab = "contacts";
In the php files used to refresh the records, there's a reference to this .tab thing but I can't place it!!!!
If anyone out there has any idea where and why things go wrong please let me know.
I can tell you one thing: anyone who ever wants to have a webbrowser application to work/insert/edit with records from a database... don't forget to check out this top-number1-tool!!!
Greetz from
Dubya
ps: change the .txt extension back to .as before testing !