A single app can access multiple databases. The trick is sharing model 
definitions across apps if the models for each database are defined in a 
different app. In that case, you can put the model definitions in modules 
and import them from any application.

Anthony

On Wednesday, June 5, 2013 12:41:49 PM UTC-4, Ramos wrote:
>
> Hello, 
> One of the things i have to do daily using Lotus Notes in my company is to 
> have a form to show a grid with documents from another app/table.
>
>
> Short story
> First , years ago, i created an app to manage all quality certificates 
> issued to the clients.
> About 5000 a year total.
> I have about 70.000 in that database.
>
> Second, after some time ,i created another database to record every visit 
> to the clients.
>
> Third ,recently i had to create another app to manage Quality issues/Non 
> conformities.
> Another context, another app.another Acess Control List,etc
>
> In the end, our Top executives saw the need to manage all of the clients 
> documents in one single screen.At last i created an ap to manage THE 
> CLIENT!!!
> There was no  need to rewrite my apps or to import data,etc.
> Lotus Notes can embed a view to show documents in another database with 
> just the mouse click.
> It was very easy inside Lotus Notes environment.In just some minutes it 
> was DONE!!!
>
>
> I wish web2py could have something like this
>
> table = SQLFORM.grid(*database*,
>
>                   query,
>                   links=links,
>                   deletable=False,
>                   editable=False,
>                   create=False                
>                  )
>
> As Auth can be the same for the entire server apps , it would be nice to 
> share data as easily as possible. 
> That is a important need for an enterprise framework.
>
> Best regards
>
> António
>
>
>
>
>
>
>
>

-- 

--- 
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/groups/opt_out.


Reply via email to