Also.. To add to my other post below..I was reading on the SQLFORM.factory and it seems like that may be a viable options as well for what I am trying to do. Here is the section I am referring to:
*"SQLFORM.factory* *There are cases when you want to generate forms as if you had a database table but you do not want the database table. You simply want to take advantage of the SQLFORM capability to generate a nice looking CSS-friendly form and perhaps perform file upload and renaming.* *This can be done via a form_factory. Here is an example where you generate the form, perform validation, upload a file and store everything in the session :"* If a user is logged in and it stores in the session, is that the same thing as it saving it to an associated record in the database table? Thank you On Tuesday, November 24, 2015 at 11:18:51 AM UTC-5, Richard wrote: > > Sure all this can be done. What have you done so far? Can you show us some > piece of code? > > Richard > > On Tue, Nov 24, 2015 at 11:15 AM, <[email protected] <javascript:>> > wrote: > >> Hello, >> I am very new to web2py. I was hoping for some insight as to whether what >> I am trying to do is possible, and maybe if I can be redirected as to what >> I should read up on to help me figure this out. Any advice or insight will >> help. >> >> I have web forms, which are linked to an excel file template. Once a web >> form is filled out and submitted, it is saved into the same folder that the >> excel template file is located in, under a new name where the original >> excel file template is untouched. >> >> I want to make it so that, a user registers an account and when they fill >> out the webform it saves to that specific user in the database. If they >> fill out the same webform again, it saves without erasing their previous >> forms. >> >> I am very certain that this is possible to do within web2py. I think to >> accomplish this, I need to use SQLForm. Will I need two seperate databases >> to accomplish this? One database that registers users, and another database >> that has an upload field defined that links to the other database? >> >> Thank you. >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

