PDA

View Full Version : Database editing application - stuck halfway


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 !

vaska
07-23-2003, 03:04 PM
you know...unless this thing is for public use...

why don't you just use phpMyAdmin (this is not a flash thing)...it's just so much easier and powerful...

just search for it on google...it's really the best solution if you are editing database stuff...

vaska

Dubya
07-23-2003, 05:55 PM
Well Vaska,

That's just it: it's for public use. Well more or less: 3 to 4 people will be using the application (and they are not very database-experienced to say the least...

I know phpmyadmin and how it works but want to present these users with a web-tool to work with their database...

So, there you go. Any suggestions by chance why I'm experiencing problems with refreshing the listbox???

Dubya