RE: Witango-Talk: Passing variable from Javascript to WiTango

2008-11-03 Thread Christian Carrier
Unless you are using Server Side Witango JavaScript there is no way short of what Robert Suggested. Perhaps a better description of what you are trying to accomplish would help in offering a solution. Regards, Christian -Original Message- From: Robert Garcia [mailto:[EMAIL PROTECTED]

Witango-Talk: MySQL Autonumber (OT)

2008-11-03 Thread Fogelson, Steve
I have a table that has the table id set to auto increment. I have 3 records that the id is set to 7, 8, 9 and the largest id beneath that is 55. When I add a new record the id is set to10. Is there a way I can have it set to 56 instead? In the other DB I was using, each auto

Re: Witango-Talk: Passing variable from Javascript to WiTango

2008-11-03 Thread Graham Dale
How about a javascript write statement for the assign statement? e.g. var myvar = 'This is my var'; document.write='@assign name=local$testvar value= etc On [Nov 3 -2008 ], at 2:08 AM, MC Tay wrote: Hi: Can someone show me how to pass a variable from Javascript to WiTango variable

Re: Witango-Talk: MySQL Autonumber (OT)

2008-11-03 Thread Jonah Simpson
ALTER TABLE MyTable AUTO_INCREMENT = 56; On Mon, Nov 3, 2008 at 7:59 AM, Fogelson, Steve [EMAIL PROTECTED]wrote: I have a table that has the table id set to auto increment. I have 3 records that the id is set to 7, 8, 9 and the largest id beneath that is 55. When I add a new

Witango-Talk: Witango and @SORT for arrays

2008-11-03 Thread Beverly Voth
I have a large solution that worked well until SORTING a list was requested. We make the SQL query and it's stored in an array (because it's far to complex to requery to get the next 15 set of records for the list display). So a link on the list page is passing the sortType to be performed and

Re: Witango-Talk: Witango and @SORT for arrays

2008-11-03 Thread Shannon Henderson
It does sort the array in place. Is it possible that you're running into the scope bug? I'm not sure whether it is platform specific, but for our mac and linux boxes sorts will work in the request scope but not the user scope. You might find additional info in the list archives.

RE: Witango-Talk: Witango and @SORT for arrays

2008-11-03 Thread Robert Shubert
That sort bug is corrected in the latest version. _ From: Shannon Henderson [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2008 1:57 PM To: witango-talk@witango.com Subject: Re: Witango-Talk: Witango and @SORT for arrays It does sort the array in place. Is it possible

Re: Witango-Talk: Witango and @SORT for arrays

2008-11-03 Thread Beverly Voth
Entirely possible, Shannon! It's IIS/Windows, but I'll check the scope and see what happens. Thanks, Beverly On 11/3/08 1:56 PM, Shannon Henderson [EMAIL PROTECTED] wrote in whole or in part: It does sort the array in place. Is it possible that you're running into the scope bug? I'm not

Re: Witango-Talk: Witango and @SORT for arrays

2008-11-03 Thread Graham Dale
I don't know if this is related, but there is a (long reported) bug in Witango where sorts applied to user scoped variables don't take. (The sort persists once the array is sorted, however.) So we sort as request scope, then save out as user scope... and if we have to re-do a scope on

Re: Witango-Talk: Witango and @SORT for arrays

2008-11-03 Thread Mark Hawk Weiss
Beverly, There is an array sort bug in Mac 5.5 Server. Mark Weiss On Nov 3, 2008, at 11:44 AM, Beverly Voth wrote: I have a large solution that worked well until SORTING a list was requested. We make the SQL query and it's stored in an array (because it's far to complex to requery to get

RE: Witango-Talk: Witango and @SORT for arrays

2008-11-03 Thread janet
Hi Beverly I have not had your exact problem, but I do add one step to avoid problems. ASSIGN my_array value=resultset ASSIGN name=sorted_array value=@SORT my_array Then I use @@Request$sorted_array. I also do this when filtering arrays. Hope this helps Janet -Original Message-

Re: Witango-Talk: Quick project for someone

2008-11-03 Thread D. Richardy
What Database you want? Is 24h until from now enought? Cost. What you like to spend? Pls. contact me of list. regards from Europe Daniel - Original Message - From: Stefan Gonick [EMAIL PROTECTED] To: witango-talk@witango.com Sent: Monday, November 03, 2008 7:28 PM Subject:

Re: Witango-Talk: Witango and @SORT for arrays

2008-11-03 Thread D. Richardy
Beverly, use a direct SQL-command to do the sort. 1) it's faster as Witango 2) it work regards Daniel - Original Message - From: Beverly Voth [EMAIL PROTECTED] To: witango-talk@witango.com Sent: Monday, November 03, 2008 7:44 PM Subject: Witango-Talk: Witango and @SORT for arrays