[web2py:25124] how to have master file selected(dropdown menu)

2009-06-27 Thread jayvandal
. I started in IBM 7080 in assembly, COBOL in IBM7080, IBM 1401, IBM1410, IBM360 series, Basic in DEc, HP, 4th gen in IBM special,language, HP COGNOS,, C language PC, Delphi in , Visual Basic, Euphoria, etc I have wrritten system in php, tried some Rails, then went to Grails, then Django, an

[web2py:25127] Re: how to have master file selected(dropdown menu)

2009-06-27 Thread jayvandal
ed to move the data from the files into the > database. In which format are those files? Can you provide an example? > Can those files be imported once for all or are they updated by a > third party program? > > Massimo > > On Jun 27, 8:58 pm, jayvandal wrote: > > >

[web2py:25128] Re: how to have master file selected(dropdown menu)

2009-06-27 Thread jayvandal
can do it but you need to move the data from the files into the > database. In which format are those files? Can you provide an example? > Can those files be imported once for all or are they updated by a > third party program? > > Massimo > > On Jun 27, 8:58 pm, jayvandal

[web2py:25143] Re: how to have master file selected(dropdown menu)

2009-06-28 Thread jayvandal
Thanks for showing me how the db would be constructed in web2py. My big question is how do I code to display the patient in dropdown menu on a web page. The user would select a patient and then all the prescriptions for the patient would be displayed on the web page. I could code in Django the vi

[web2py:25349] Lulu web site and selling ebooks problems

2009-06-30 Thread jayvandal
I am looking at WEB2PY aand found the book on WEB2PY page. I went to Lulu and tried to download the book, using my credit card. It appeared to accept the credit card and had word "download". But when I tried to find the book on my computer, it wasn't anywhere. I tried to contact Lulu but couldn't

[web2py:25666] How to run cookbook

2009-07-05 Thread jayvandal
Hello, I am working the cookbook tutorial. I have all the code in but don't know how to run it from the web browse. I thought I would have "Http:// 127.0.0.1:8000/cookbook/ and see the application I do not see the centered "Welcome World" when I click on welcome app. May my problem exist when I cl

[web2py:26627] running as production

2009-07-15 Thread jayvandal
Hi, I am following the cookbook as a tutorial but I am confused about relating this to a production mode. I thought I would have URL HTTP://localhost/cookbook/ that would give me a master menu and have URLS that point to the detail screens. Any explanation would help. Thanks JIm --~--~-

[web2py:27836] table error ????

2009-08-02 Thread jayvandal
Hello, I tried using the code suggested. I get this error? I can see where it seems to be good code. Thanks for any help Error ticket for "med" Ticket 127.0.0.1.2009-08-02.11-43-36.b6521ed1- f325-42e3-9976-5671ab4c227e Error traceback 1. 2. 3. 4. 5. 6. Traceback (most recent call last): Fi

[web2py:27967] Ticket 127.0.0.1.2009-08-04.11-42-18.1144ad5e-5ded-48ca-8871-99bb6695e5c8

2009-08-04 Thread jayvandal
Hello, I have an error in the IMAGES in your book. I am on page 60. this is the Ticket 127.0.0.1.2009-08-04.11-42-18.1144ad5e-5ded-48ca-8871-99bb6695e5c8 Jim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-us

[web2py:27978] Ticket 127.0.0.1.2009- error

2009-08-04 Thread jayvandal
Hi. I am trying the "Images" in the manual and I am on page 61 . I tried to select all and copy the error info. Is there a better way to copy the error info? Thanks Error ticket for "images" Ticket 127.0.0.1.2009-08-04.14-35-15.67e6ba82-76c8-4172-8868- dfc459e24fd2 Error traceback 1.2.3.4.5.6.

[web2py:28001] WIKI in Manual

2009-08-04 Thread jayvandal
Hi, I had troubles with images in Mnual so I went on to the wiki part 3.7. I am copying the code from the manual, but I seem to run into errors that I don't understand so I can't correct them. Are these examples outdated so I should try something else. Jim Error ticket for "wiki" Ticket 127.0.0.

[web2py:28133] Images page 60 list index out of range

2009-08-06 Thread jayvandal
Error ticket for "images" Ticket 127.0.0.1.2009-08-06.23-39-06.cf3dcbd3-ce73-4175-8d61- ff5aca00c066 Hello, I am reworking the tutorials in the web2py manual. In this Images 3.6 , I am following the code and I am lost atthis point. Thanks for any help Jim Error traceback 1.2.3.4.5.6.7. Traceb

[web2py:28158] Re: Images page 60 list index out of range

2009-08-07 Thread jayvandal
I have two image records and two comment records I will try your code Thanks , Jim On Aug 6, 11:54 pm, jayvandal wrote: > Error ticket for "images" > Ticket 127.0.0.1.2009-08-06.23-39-06.cf3dcbd3-ce73-4175-8d61- > ff5aca00c066 > > Hello, > I am reworking the tutori

[web2py:28171] Re: Images page 60 list index out of range

2009-08-07 Thread jayvandal
t): > > def show(): >     images = db(db.image.id == request.args[0]).select() >     if len(images) < 1: >        session.flash = T('No images to show!') >        return dict() >     image = images[0] >     # the rest as is > > Regards, > - Yarko

[web2py:28184] Re: Images page 60 list index out of range

2009-08-07 Thread jayvandal
update and go the IMAGE did not exist. I looked ate the SQL logand saw there were two instances of image and comment. Is that what is susposed to be? Thanks Jim On Aug 7, 12:54 pm, jayvandal wrote: > Hi, > I tried your code an I got the same error. It pointed to the first > line of your

[web2py:28185] Vista a problem for web2py?

2009-08-07 Thread jayvandal
Could I have problems with Vista and web2py? I am having trouble in WIKI in web2py manual with the index as I had in IMAGES?? JIM --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this

[web2py:28258] Re: Vista a problem for web2py?

2009-08-09 Thread jayvandal
excercise from the book; Jim deleted his > database, then things didn't work (I directed him to clear his databases > directory - let's see how that works out) > > - Yarko > > On Sat, Aug 8, 2009 at 2:17 AM, mdipierro wrote: > &

[web2py:28278] Re: Images page 60 list index out of range

2009-08-09 Thread jayvandal
st delete the contents of the databases directory, and > then run your app again (no need to re-enter the code). > > There should be no problem with Vista. > > - Yarko > > > > On Fri, Aug 7, 2009 at 10:16 PM, jayvandal wrote: > > > I have been checking the cod

[web2py:28392] Steps to move app to wweb site?

2009-08-11 Thread jayvandal
I have created a blog from the tutorial and wondered what files are need to upload the Blog to the web site. Some web sites have PHP and other app loaded on the web site. IWhen I have created a PHP app I would create a home page and upload all the PHP files I created . What do I need with WEB2PY?

[web2py:28656] creating default folder in controller

2009-08-14 Thread jayvandal
Hello once again In the controller area there is a default folder and then a test folder. Do you create new folders at this level or -- do you create sub folders within default ---and--- how do you address them?? I have the app MED and a prescription table, auth_user and specialiity as you s

[web2py:28963] define future date such as death date

2009-08-19 Thread jayvandal
I am trying to create a model that has a death date. What I have done is SQLField= 'death_date', 'date',Default= ? What is the fproper format? Thanks Jim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users"

[web2py:29059] creating fields for state and country

2009-08-20 Thread jayvandal
I want to have a field where the user selects the state where he is living. Also be able to select the country he where he is living Any help will be appreciated. JIm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "w

[web2py:29105] Re: creating fields for state and country

2009-08-21 Thread jayvandal
On Aug 21, 12:09 am, jayvandal wrote: > > > > > I want to have a field where the user selects the state where he is > > living. Also be able to select the country he where he is living > > Any help will be appreciated. > &

[web2py:29134] correct path in href?

2009-08-22 Thread jayvandal
HI, I have a controller named person I have a controller welcome. I created a def home() in welcome controller. I want to have the user go to a controller named person that has definitions for person., show_person, new_person. I was trying to use this statement below, but I don't know how to co

[web2py:29291] findby name and link to event records

2009-08-24 Thread jayvandal
HI, I tried this code = records=db(db.person.last_name==request.vars.last_name)\ .select(orderby=db.person.last_name) === i see that this will find by last name or partial last name. I tried

[web2py:29294] Re: findby name and link to event records

2009-08-24 Thread jayvandal
ns with the same last name, I > would use person_id. > > On Aug 24, 9:37 pm, jayvandal wrote: > > > > > HI, > > I tried this code > > = > > records=db(db.person.last_name==request.var

[web2py:29326] Re: findby name and link to event records

2009-08-25 Thread jayvandal
dont see it relating to the database in sqlite in web2py Thanks Jim On Aug 24, 10:14 pm, Yarko Tymciurak wrote: > On Mon, Aug 24, 2009 at 11:02 PM, jayvandal wrote: > > > I tried to get the person_id when I got a last name found, but I could > > not find a way to get the p

[web2py:29369] Re: findby name and link to event records

2009-08-25 Thread jayvandal
I highly recommend going through the book from start to end.  It will > save you many hours of frustration and only costs > $12.http://www.lulu.com/content/4968879 > > Good luck! > > On Aug 25, 8:09 am, jayvandal wrote: > > > > > I downloadeipythonand it installed

[web2py:29633] ipython question

2009-08-29 Thread jayvandal
I have downloaded ipython onto Windows Vista. I caan run ipython, but I don't have a file web2py.py. I have two versions of web2py, but I can't find a web2py.py. Where do I find the file for Windows I have python 31, python26 and python25. I found problems and had to go back 25 to run some python

[web2py:30016] testing ipython

2009-09-03 Thread jayvandal
I have python25 and installed the source code in web2py_win folder. i run python web2py.py -S usa -M usa is my application name. I have tried several commands and have not had success How can I find out what database is being accessed. I thought when I named my application I would have access to t

[web2py:30048] Re: testing ipython

2009-09-04 Thread jayvandal
ine completion, and see things a little better what > -S use -M  will give you for context, you might install ipython (which has > tab-completion; if ipython is installed on your machine, then web2py's -S > will use ipython;) > > > > On Fri, Sep 4, 2009 at 12:39 AM, jayvand

[web2py:30243] editing database

2009-09-06 Thread jayvandal
Hi, I had my database application up and running. I was editing some date fields. edited one field an athen I used the ctrl and letter C to copy some dat and used Ctrl letter V to place the changed data. I use this method to adjust the other date fields. Then I went out and tried to run the admin

[web2py:30321] enter old dates

2009-09-07 Thread jayvandal
Hi, another question I want to be able to enter old dates like"1776-07-04" but I may not know a date at the time of record creation so I may leave the field blank. I tried to use Format but I get errors no Format in database creation. I changed from using the date verb to just plain length of fi

[web2py:30362] use file to lookup a person and then lookup same file for a contact

2009-09-07 Thread jayvandal
Hi, I have an events table. I have a field to lookup on a person table (field 1) Then I want to do a lookup on the same person table to find a contact (field 3) I thought I could do this , but failed so I looked for an alias for the person table Any suggesions? Jim ==

[web2py:30452] CRUD uses?

2009-09-08 Thread jayvandal
I was looking at the article in the Web2py manual concerning CRUD. In Radrails, cakePHP, etc it is placed in one place and it creates the CRUD code and forms. I am confused about how Web2py addreses. I looked thru other posts but I grew more confused. Jim --~--~-~--~~~-

[web2py:30465] strftime why?

2009-09-08 Thread jayvandal
HI, I get an error relating to strftime. I had date fields in my database, but I wanted to enter old date such as '1776-07-04' so I changed the fields to text and length of 10. Then I was able to enter any date. So I don't have any date fields anymore. But when I try to run a simple elect all rec

[web2py:30553] isoformat how to use.

2009-09-09 Thread jayvandal
I looked for ideas on how to use the "isoformat". I thought it should be in the database, but ?I got into the problem of converting the date data"1776-07-04" to the date format where the running of the controller for the db table would not break. Any help would be greatly appreciated! Thanks, jim

[web2py:30628] where is isoformat described?

2009-09-10 Thread jayvandal
Hi, I have looked at the web2py 2nd edition and I see no description of isoformat. Jm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com

[web2py:31496] caan't pick fields ?

2009-09-22 Thread jayvandal
Hi, back once again and trying to show master file and all the details (certain fields) This is my controller and the corresponding view. I want to show the description field in the events table(file) I am researchin the manual and examples but I don't seem to have a clear understanding of the c

[web2py:31585] statement ev=db(db.events.person==db.person.id).select()

2009-09-23 Thread jayvandal
HI, I have this table, controller, and view. I am trying to list all persons and their events. I can't seem to get the description field to display as the events for the person. When I run this " ev=db(db.events.person==db.person.id).select() " I see all the tables and description , yet when I ru

[web2py:31685] what joins the one to many?

2009-09-25 Thread jayvandal
Hi, When you have the statements pep=db(db.person.id> 0).select(orderby=db.person.id) form=SQLFORM(db.events,fields=['description']) ev=db(db.events.person==db.person.id).select() pep=db(db.person.id> 0).select(orderby=db.person.id) This line selects the master. ev=db(db.events.person==db.p

[web2py:31798] Why can't I display description?

2009-09-28 Thread jayvandal
Hi again I can't understand why I can't(two can't) display a field in my project. When I run the controller statements in ipython and I print the results I can see the data in the description field. Yet in my view code I get an error., description Here is the code. Any help is appreciated

[web2py:31820] Re: Why can't I display description?

2009-09-28 Thread jayvandal
=description}} > > ...to this...: > {{for event in events:}} > ... > {{=event.description}} > > On Sep 28, 12:46 pm, jayvandal wrote: > > > Hi again > > I can't understand why I can't(two can't) display a field in my > > project. When I run the controller statem

[web2py:31828] Re: Why can't I display description?

2009-09-28 Thread jayvandal
27;category.category_name') db.events.amount.requires=IS_FLOAT_IN_RANGE(0,1) On Sep 28, 5:17 pm, "mr.freeze" wrote: > I would really need to see your model to be sure but try: > ev=db(db.events.perso

[web2py:31849] Re: Why can't I display description?

2009-09-28 Thread jayvandal
s.person==db.person.id).select() >     return dict(rows=rows) > > {{for row in rows:}} > {{=row.events.description}} : {{=row.person.first_name}} > {{=row.person.last_name}} > {{pass}} > > On Sep 28, 7:44 pm, jayvandal wrote: > > > I tried your suggestion. > > H

[web2py:31875] Re: Why can't I display description?

2009-09-29 Thread jayvandal
  {{=person.first_name}} {{=person.last_name}} >     {{for event in person.events.select():}} >         {{=event.description}} >     {{pass}} > {{pass}} > > Beyond that, I would check your data in the db through appadmin and > verify that it is correct. > > On Sep 29, 12:05 am, j

[web2py:32069] one to many where many doesn't exist

2009-10-01 Thread jayvandal
HI, I have one(master) to many, except the many doesn't exist so how do you get to the next one( master). In the days of goto I would go back to read a master until I get a master that was equal to many Thanks for any advice, Jim --~--~-~--~~~---~--~~ You

[web2py:32132] Re: one to many where many doesn't exist

2009-10-02 Thread jayvandal
events.ALL,orderby=db.events.person) On Oct 1, 10:30 pm, mdipierro wrote: > Sorry, I do not understand. Is this a quesiton about OUTER JOIN vs > INNER JOIN? > > On Oct 1, 10:09 pm, jayvandal wrote: > > > HI, > > I have one(master) to many, except the many doesn't ex

[web2py] incorporate carsales from web into web2py on my computer

2012-08-16 Thread jayvandal
I down;oaded a file of web2py examples and I wanted to put carsales in my web2py applications sso I could see how the application looks. I downloaded the file that contained car sales and unzipped it .I thought I could unzip it into my folder projects where I could have my applications.I canno

[web2py] Re: incorporate carsales from web into web2py on my computer

2012-08-16 Thread jayvandal
ct, they want you to name the app. >> >> On Thursday, 16 August 2012 20:55:52 UTC-5, jayvandal wrote: >>> >>> I down;oaded a file of web2py examples and I wanted to put carsales in >>> my web2py applications sso I could see how the application looks. I >>

[web2py] Run view html and error shows different code

2013-01-15 Thread jayvandal
I am running simple wiki code and I get an error. I shows the news code in controller code. I eliminated the news code from my code, saved the code and ran views. I get an error and the ticket shows the old deleted code. What is happening??? --

[web2py] I installed instaqnt press runing win 8 , I get a page asking wh at i want to search for

2013-01-05 Thread jayvandal
I am running windows 8. I have web2py installed and can run some examples. I coded some basic examples and they run. I installed instant press. I get a page in instant press that tells me to enter some search words. When I do, it says it is not found. I cannot find a way to get theinstant press

[web2py] when I run web2p[y in Vista, and I click on adminstrative, what password do I enter???

2012-03-31 Thread jayvandal

[web2py] Crash Course in web2py. I get this error, but I can't fix it

2013-07-17 Thread jayvandal
I am tryin Form part 3 Crash Course iinweb2py. I get this error, but I can't fix it failed to compile file because: SyntaxError at line 1 at char 21 invalid syntax (C:/web2py/applications/form/views/display_your_form.py, line 1) × Editing file "form/views/ next line is line 1 {{extend 'layout.ht