Source language: Translate to:

How to change the order from a table?

Questions about our Advanced Database plug-in

Moderator: Neosoft Support

How to change the order from a table?

Postby sakismorGR » Mon Oct 13, 2008 12:40 am

Good morning,

I am trying to make a media player and I create a table that is the playlist that player plays. I am trying to change the order (I don't use query) so the user can change the order that medias plays. Think that you have a listbox how easy to change the order list....something like that....but I need to do in a database grid.

Thanks
User avatar
sakismorGR
 
Posts: 91
Joined: Sat Apr 29, 2006 10:21 pm
Location: Kavala-Greece

Postby Neosoft Support » Mon Oct 13, 2008 11:22 am

The only way to change the order of records in a table is by sorting them. What you probably will have to do is add an integer field to your table and let the user enter a number from 1 to whatever. Then use dbpSort to sort on this field.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to NeoBookDBPro

Who is online

Users browsing this forum: No registered users and 1 guest