Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-11 Thread lackder
Merci Aparajita Lackder Si-youcef Cell.: 06 92 107 225 ()_() ("..") - Envoyé de mon MacBook Pro (")-(") Le 12 mars 2012 à 04:57, Aparajita Fishman [via Active4D] a écrit : > > When I use batch and whenI click on it , my search variables are reset, > > lost and the there'is no selection >

Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-11 Thread Aparajita Fishman
> When I use batch and whenI click on it , my search variables are reset, lost > and the there'is no selection Look at the paragraph in the middle of page 493, makeLink, that begins "The inLinkRef parameter should contain the URL that will go in the href of the batch links." > this line was w

Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-09 Thread lackder
Namaste Aparajita and Steve and thank you Great its works, now, In my mind rowset was like selection and I thought that the selection was preserved in the same session, but there are not. It still some problem due to my ignorance When I use batch and whenI click on it , my search variables are

Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-06 Thread Aparajita Fishman
>> Is the database in Unicode mode or compatibility mode? >> > Ok I'll change it , my database is in Unicode mode Please stay in Unicode mode! >> If it is done correctly it definitely works. What happens exactly when you >> don't use a persistent RowSet? > > If I use a non persisent rowset, th

Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-06 Thread lackder
Hello Aparajita > > In my Method 4D I do some things like phonetique search and I says to my > self, my code would be more readable > > Bien sûr, dans 4D le code et en français, pas en cette autre langue > barbare. :-) > -)) Mort de rire > In any case, you can't pass pointers to process var

Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-05 Thread Aparajita Fishman
>>> recnum1:=My_Search_Web >>> ($attributes{"search_quoiqui"};$attributes{"search_ou"};0;$Attributes{"search_part"};$Attributes{"search_pro"};->Tab_Ville;->Tab_Rubrique) >>> >> >> Unless there is something in the query that can't be done in Active4D, you >> are better off doing it in Acti

Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-05 Thread lackder
Hello Aparajita Thank you for your quick response and your good advice > A few comments: > > > array text(Tab_Nom;0) > > Avoid process variables if possible, use local variables instead. Actually > you aren't using this array anywhere on the page. In fact I will use it > > recnum1:=My_Sea

Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-05 Thread Aparajita Fishman
A few comments: > array text(Tab_Nom;0) Avoid process variables if possible, use local variables instead. Actually you aren't using this array anywhere on the page. > set session("Session"; "Client Web") It's easier to treat sessions as a collection, just do this: session{"Session"} := "Clie

Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-05 Thread Aparajita Fishman
> Then I clic on the batch, it reload the page it don't go the if(do request) > but the non persistent row set desapear and I have no data to show > > I hope my explanation is clear I need to see the code, you aren't quite doing things the right way yet. Regards, Aparajita www.aparajitaw

Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-05 Thread Steve Alex
On Mar 5, 2012, at 9:24 AM, Lackder Si-youcef wrote: > Anyway I copy-paste the method in my Web page, and i have the same problem, > When I do a request all works, but if I click on a batch my row set do not > still exist, and I don't know Why Your batch links looked okay so I'm not sure what

[Active4d-dev] rowset.newFromSelection and persistent

2012-03-05 Thread Lackder Si-youcef
Hello Steve Unfortunatly I don't yet use fusebox, I'm just beginning with a4d, but I will learn it Anyway I copy-paste the method in my Web page, and i have the same problem, When I do a request all works, but if I click on a batch my row set do not still exist, and I don't know Why Sorry for

Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-05 Thread lackder
Hello Steve Unfortunatly I don't yet use fusebox, I'm just beginning with a4d, but I will learn it Anyway I copy-paste the method in my Web page, and i have the same problem, When I do a request all works, but if I click on a batch my row set do not still exist, and I don't know Why Sorry for my

Re: [Active4d-dev] rowset.newFromSelection and persistent

2012-03-05 Thread Steve Alex
On Mar 5, 2012, at 6:19 AM, Lackder Si-youcef wrote: > Hello aparajitah, > > I understand that, but if i use non persistent row set my row set is lost > when i clic on the batch and when i uses a persistent one it works a shots > time and the i have the error that i tell you in last message >

[Active4d-dev] rowset.newFromSelection and persistent

2012-03-05 Thread Lackder Si-youcef
a Fishman) > > > -- > > Message: 1 > Date: Fri, 2 Mar 2012 12:10:18 -0800 (PST) > From: lackder > To: active4d-dev@aparajitaworld.com > Subject: [Active4d-dev] rowset.newFromSelection and persiste

Re: [Active4d-dev] rowSet.NewFromSelection and persistent

2012-03-04 Thread Aparajita Fishman
> I use persistent row set because I need , when the user click on a batch to > go to the right selection of record > But the problem if i use non persistent row set, when i click on a batch , > my row set is lost. You are usually supposed to create the RowSet with every request, unless the data

Re: [Active4d-dev] rowSet.NewFromSelection and persistent

2012-03-04 Thread lackder
Hello I use persistent row set because I need , when the user click on a batch to go to the right selection of record But the problem if i use non persistent row set, when i click on a batch , my row set is lost. Is it the right logic or I misunderstand something perhaps Thanks for your help La

Re: [Active4d-dev] rowSet.NewFromSelection and persistent

2012-03-02 Thread Aparajita Fishman
I cannot reproduce this. Does it always occur, even after restarting 4D? On Mar 2, 2012, at 12:13 PM, Lackder Si-youcef wrote: > Hello > > Someone can tell me why i get those errors when I do: > > $map := """ > $Primary_Key:[Annuaire]Primary_Key; > $Entreprise:[Annuaire]Entreprise; > $Nom

Re: [Active4d-dev] rowSet.NewFromSelection and persistent

2012-03-02 Thread Aparajita Fishman
Actually, that wasn't the bug, but it was a good change to make anyway. :-) I'll look into it. On Mar 2, 2012, at 3:15 PM, Aparajita Fishman wrote: >> Someone can tell me why i get those errors when I do: >> >> Active4D error >> Source Method Line >> /Users/Lacky/Desktop/LiSa/LiSa.4

Re: [Active4d-dev] rowSet.NewFromSelection and persistent

2012-03-02 Thread Aparajita Fishman
> Someone can tell me why i get those errors when I do: > > Active4D error > SourceMethod Line > /Users/Lacky/Desktop/LiSa/LiSa.4dbase/web/index.a4d [main] 122 > [text block] RowSet.newFromSelection 2 > [text block] RowSet.newFromCachedSelection 1 > [text block] RowSet._new

Re: [Active4d-dev] rowSet.NewFromSelection and persistent

2012-03-02 Thread Steve Alex
On Mar 2, 2012, at 2:13 PM, Lackder Si-youcef wrote: > Someone can tell me why i get those errors when I do: > > $map := """ > $Primary_Key:[Annuaire]Primary_Key; > $Entreprise:[Annuaire]Entreprise; > $Nom:[Annuaire]nom; > $Prenom:[Annuaire]Prenom; > $hasMiniSite:[Annuaire]Has_Site; > $D

[Active4d-dev] rowSet.NewFromSelection and persistent

2012-03-02 Thread Lackder Si-youcef
Hello Someone can tell me why i get those errors when I do: $map := """ $Primary_Key:[Annuaire]Primary_Key; $Entreprise:[Annuaire]Entreprise; $Nom:[Annuaire]nom; $Prenom:[Annuaire]Prenom; $hasMiniSite:[Annuaire]Has_Site; $DateSiteDebut:[annuaire]Site_Date_debut; $DateSiteFin:[annuaire]S

[Active4d-dev] rowset.newFromSelection and persistent

2012-03-02 Thread lackder
Hello Someone can tell me why i get those errors when I do: $map := """ $Primary_Key:[Annuaire]Primary_Key; $Entreprise:[Annuaire]Entreprise; $Nom:[Annuaire]nom; $Prenom:[Annuaire]Prenom; $hasMiniSite:[Annuaire]Has_Site; $DateSiteDebut:[annuaire]Site_Date_debut; $DateSiteFin:[annuaire]Site_Date_