Hi,
As sort type I used "Numeric" for field supposed to contain number ("No"), and later suppressed this parameter.
I will re-introduce when I will be sure all spaces cleared
probably yes, a small glitch in the stack, no idea what it could be
thanks
Alain
Search found 8 matches
- Fri Nov 03, 2017 7:46 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sort cards
- Replies: 25
- Views: 14308
- Fri Nov 03, 2017 9:57 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sort cards
- Replies: 25
- Views: 14308
Re: Sort cards
Hi,
thanks to Craig and Jean-Marc,
My Sort now operates, but I remain suspicious: the SORT command seams to be not predictable, and not stable over the releases of LC.
Concerning spaces, thanks for the suggestion, I will reinforce checking at data entry
Alain
thanks to Craig and Jean-Marc,
My Sort now operates, but I remain suspicious: the SORT command seams to be not predictable, and not stable over the releases of LC.
Concerning spaces, thanks for the suggestion, I will reinforce checking at data entry
Alain
- Thu Nov 02, 2017 10:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sort cards
- Replies: 25
- Views: 14308
Re: Sort cards
Hi Jean-Marc
OK Done with this handler:
on mouseUp
Answer "Séquence de tri des cartes bibliothèque:" with "Année" or "Auteur" or "Numéro"
If it = "Année" then
put "Tri "&it
sort cards by field "Année" of group "BG-Livre"
else
if it = "Auteur" then
put "Tri "&it
sort cards by field "Auteur ...
OK Done with this handler:
on mouseUp
Answer "Séquence de tri des cartes bibliothèque:" with "Année" or "Auteur" or "Numéro"
If it = "Année" then
put "Tri "&it
sort cards by field "Année" of group "BG-Livre"
else
if it = "Auteur" then
put "Tri "&it
sort cards by field "Auteur ...
- Thu Nov 02, 2017 10:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sort cards
- Replies: 25
- Views: 14308
Re: Sort cards
Hello Graig,
Thanks
there is no sort at all
I tried with the Handler i Posted, but also from the message box
and from a button specially created on a card
Nothing
The only sort I got is the random one from the message box
Thanks
there is no sort at all
I tried with the Handler i Posted, but also from the message box
and from a button specially created on a card
Nothing
The only sort I got is the random one from the message box
- Thu Nov 02, 2017 8:24 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sort cards
- Replies: 25
- Views: 14308
Re: Sort cards
tested "sort cards by random(999)" using the message box,... works well, ... cards get random
try then my handler, called from a "Home" card, nothing happens, as the sort would be ignored. The handler is launched. Same for all 3 sort options.
One question,
is it necessary to specify that field "No ...
try then my handler, called from a "Home" card, nothing happens, as the sort would be ignored. The handler is launched. Same for all 3 sort options.
One question,
is it necessary to specify that field "No ...
- Thu Nov 02, 2017 10:51 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sort cards
- Replies: 25
- Views: 14308
Re: Sort cards
Hi
Reply to Craig's advices,
Thank you Craig, The field "Année" contains Year on 4 digits, while "Auteur" is the Author of the book, alphanumeric.
The field "No" is a number , from 1 to 1000, normally numeric, but some field contain left space.
Presently the sort command does not work at all ...
Reply to Craig's advices,
Thank you Craig, The field "Année" contains Year on 4 digits, while "Auteur" is the Author of the book, alphanumeric.
The field "No" is a number , from 1 to 1000, normally numeric, but some field contain left space.
Presently the sort command does not work at all ...
- Wed Nov 01, 2017 5:50 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sort cards
- Replies: 25
- Views: 14308
Re: Sort cards
thank you jean-marc for your suggestions, I am afraid it's a problem with Groups.
I had to modify the original group adding more controls, and it's rather a nightmare.
It may happen that not all cards have the same bg definition ?
I will try the debug mode
I tried to attach the stack but this is ...
I had to modify the original group adding more controls, and it's rather a nightmare.
It may happen that not all cards have the same bg definition ?
I will try the debug mode
I tried to attach the stack but this is ...
- Wed Nov 01, 2017 3:59 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sort cards
- Replies: 25
- Views: 14308
Sort cards
Hello,
beginners with LC, I got a problem with a handler which was working well, but after some updates (which ones?) does not function anymore.
Clicking the button to sort, nothing happening
The script is:
on mouseUp
Answer "Séquence de tri des cartes bibliothèque:" with "Année" or "Auteur"
or ...
beginners with LC, I got a problem with a handler which was working well, but after some updates (which ones?) does not function anymore.
Clicking the button to sort, nothing happening
The script is:
on mouseUp
Answer "Séquence de tri des cartes bibliothèque:" with "Année" or "Auteur"
or ...