Forums

This topic is locked

arrange record

Posted 15 Jun 2001 05:28:42
1
has voted
15 Jun 2001 05:28:42 suhail kaleem posted:
how can i arrange records in db from my ud genrated script -

i have a page which shows all the record in the db from the coloum c++ , now what i want is a images(up and down ) - when i clikc that images the record move up or down.
so how can i arrange record like this ?

any help ?


Replies

Replied 15 Jun 2001 17:04:49
15 Jun 2001 17:04:49 Dave Joosten replied:
I got a Sort tutorial that will give answers to sorting question, i used it a few times myself and works pretty good.

ultradeviant.co.uk/tutorials/tutorial.asp?view=sort_p1

Have a good one m<img src=icon_smile_8ball.gif border=0 align=middle>te !

Dave Joosten


Edited by - djoosten on 06/15/2001 17:06:08
Replied 16 Jun 2001 02:36:12
16 Jun 2001 02:36:12 suhail kaleem replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I got a Sort tutorial that will give answers to sorting question, i used it a few times myself and works pretty good.

ultradeviant.co.uk/tutorials/tutorial.asp?view=sort_p1

Have a good one m<img src=icon_smile_8ball.gif border=0 align=middle>te !

Dave Joosten


Edited by - djoosten on 06/15/2001 17:06:08
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>


hey !

yes i read that already -but its makes the coloum sort - i want to sort feilds one by one not the whole coloums .

thank any way .

suhailkaleem

Replied 18 Jun 2001 19:49:48
18 Jun 2001 19:49:48 Dave Joosten replied:
I'm not sure i'm following now, you say fields, one by one, could you try to rephrase what you try to do ?

Dave Joosten
Replied 19 Jun 2001 03:45:55
19 Jun 2001 03:45:55 suhail kaleem replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I'm not sure i'm following now, you say fields, one by one, could you try to rephrase what you try to do ?

Dave Joosten

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>




how can i arrange records in db from my ud generated script -

i have a page which shows all the record in the db from the coloum c++ , now what i want
is a images(up and down ) - when i click that images the record move up or down.
so how can i arrange record like this ?

any help ?

suhailkaleem

Replied 19 Jun 2001 17:20:13
19 Jun 2001 17:20:13 Dave Joosten replied:
On that tutorial the show you how to arrange records up and down. What i don't understand is your reply, why you want to sort field by field, explain me what these records must do ? For example if you would have record A and record B with the images (up and down) you want to be able to change the A from top to bottom and the reverse, correct ? But if we would have three or more records you would wish just to either go to next or previous record, right ? I don't see any problem there either, is so simple with UD ... Please give me a better detailed description on what you wish to do, cause you type me exactly the same story as the first message, what is not helping me to understand your total problem

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I'm not sure i'm following now, you say fields, one by one, could you try to rephrase what you try to do ?

Dave Joosten

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>




how can i arrange records in db from my ud generated script -

i have a page which shows all the record in the db from the coloum c++ , now what i want
is a images(up and down ) - when i click that images the record move up or down.
so how can i arrange record like this ?

any help ?

suhailkaleem


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Dave Joosten
Replied 20 Jun 2001 00:03:40
20 Jun 2001 00:03:40 suhail kaleem replied:
ok one more try !

i have a table called c++ in which ther are about 10 coloums and in every 10 coloums ther are about 20 feilds with records.


now i make a recordset for that table and display on page by adding a reapeat region sb .


now i want to add a up arrow and down arow picture in fort of every record - for example my first record is vb in the programming colum and in second its is visual c++ in the same colum and so on to 20 - (i have only displayed the programming coloum with 20 feilds with reapt region sb )

now what i want is to when i clikc arrow in the second feild which contains a record visual c++ - i want that record to move upward in the place of the first record and the first record should move to the place of 20 th record and 20 should move to 19 and so on - and resvers should happen when i clikc the down arrow link or image.

i think i have made my self clear -if u still dont under stand i will explain gain for you.

suhailkaleem.

Replied 20 Jun 2001 00:21:26
20 Jun 2001 00:21:26 Dave Joosten replied:
Ok now you tell me clearly what you wish to do, ill have to make a few test myself to see what the best solution is. Ill keep you posted when i find something

Dave
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
ok one more try !

i have a table called c++ in which ther are about 10 coloums and in every 10 coloums ther are about 20 feilds with records.


now i make a recordset for that table and display on page by adding a reapeat region sb .


now i want to add a up arrow and down arow picture in fort of every record - for example my first record is vb in the programming colum and in second its is visual c++ in the same colum and so on to 20 - (i have only displayed the programming coloum with 20 feilds with reapt region sb )

now what i want is to when i clikc arrow in the second feild which contains a record visual c++ - i want that record to move upward in the place of the first record and the first record should move to the place of 20 th record and 20 should move to 19 and so on - and resvers should happen when i clikc the down arrow link or image.

i think i have made my self clear -if u still dont under stand i will explain gain for you.

suhailkaleem.


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Dave Joosten
Replied 20 Jun 2001 12:23:10
20 Jun 2001 12:23:10 suhail kaleem replied:
i will comming back to this post often to find out what you came up with

thank you for your help

Reply to this topic