Re: Calculating age based on DOB

2014-02-02 Thread me
Thank you Mattias that's what I needed. On Sun, Feb 2, 2014 at 1:41 PM, Mattias Sundblad wrote: > Hi, > > I think you need to run 'make all' or 'make gate' to build httpGate along > with the interpreter. That should create a binary and place it in the 'bin' > directory of the distribution. > >

Re: Calculating age based on DOB

2014-02-02 Thread me
When I run make from src64 nothing happens. When I run make from src it compiles but no httpGate. Weird. I'll stick to packaged version for now as I may wind up testing it on PC-BSD 10 for fun. On Sun, Feb 2, 2014 at 1:27 PM, Alexander Burger wrote: > Hi David, > > > Thank you Alex. I cannot

Re: Calculating age based on DOB

2014-02-02 Thread Mattias Sundblad
Hi, I think you need to run 'make all' or 'make gate' to build httpGate along with the interpreter. That should create a binary and place it in the 'bin' directory of the distribution. best wishes, Mattias On 2 February 2014 18:16, me wrote: > Thank you Alex. I cannot seem to find httpGate a

Re: Calculating age based on DOB

2014-02-02 Thread me
Correction, it's available when I install pico from my distribution but I'm then back on 3.1.2. How can I build the latest on x86-64 LMDE? On Mon, Jan 27, 2014 at 2:02 AM, Alexander Burger wrote: > Hi David, > > > If I load the app by going to localhost:8080 I see the button and can > click > >

Re: Calculating age based on DOB

2014-02-02 Thread Alexander Burger
Hi David, > Thank you Alex. I cannot seem to find httpGate anywhere in the > distribution 3.1.5. I know this is terribly noob-ish but where is httpGate > located? Not really your fault, because httpGate is not yet well documented. Only some fragments in this Mailing list and in the Wiki. The b

Re: Calculating age based on DOB

2014-02-02 Thread me
Thank you Alex. I cannot seem to find httpGate anywhere in the distribution 3.1.5. I know this is terribly noob-ish but where is httpGate located? On Mon, Jan 27, 2014 at 2:02 AM, Alexander Burger wrote: > Hi David, > > > If I load the app by going to localhost:8080 I see the button and can >

Re: Calculating age based on DOB

2014-01-26 Thread Alexander Burger
Hi David, > If I load the app by going to localhost:8080 I see the button and can click > on it but nothing happens and the button becomes disabled. If I then > refresh the page (it now has a long session string in the address bar) the > button is enabled and I can click on it, the desired Alert

Re: Calculating age based on DOB

2014-01-26 Thread me
Thanks Alex that worked perfectly! Now I can display age calculated on the fly without wasting space in the DB. This isn't related to calculating age based on DOB but if you could please help me understand why is it that when I have a form and a line like: (de testo () (app) (action

Re: Calculating age based on DOB

2014-01-19 Thread Alexander Burger
Hi David, > Thank you for your prompt and helpful reply Alex. The *JS trick worked > great and the proper date calculation will be most helpful. If I may ask a One more thought: Perhaps a better way to calculate the age is to avoid floating points, and do it directly in integer calculation:

Re: Calculating age based on DOB

2014-01-19 Thread me
Thank you for your prompt and helpful reply Alex. The *JS trick worked great and the proper date calculation will be most helpful. If I may ask a few more questions: You're right, storing the age is silly when already storing DOB. How might I just calculate age on the fly and display it in the

Re: Calculating age based on DOB

2014-01-19 Thread Alexander Burger
Hi David, > Essentially I can calculate age based off of DOB with a (dm T ...) line 18 > but then that record won't show in the search dialog. When lines 13-20 are You are quite close :) The problem is the way your 'T' method is defined: (dm T (name NAME prefname PREFNAME sex SEX dob DOB em