We use a company/division file which can be checked on initial page 
or  where required.  Company/Division can be linked to User name with 
a table or to a selection by user if user is able to choose one of 
several company/divisions.

We do DoCmd RMVLIBLE or ADDLIBLE as required. DoCmd catches errors 
(library already exists..)  and does not seem to add much overhead. 
We also use this file to go into "test mode" which  we use to throw 
extra sections of values to the screen to help test programs.

Here is sample of our file:

CPY#03     K1   A   A     5        1     5 CPY              
DIV#03     K2   A   A     5        6    10 DIVISION         
CPYN03              A    35       11    45 CPY NAME         
DIVN03              A    35       46    80 DIV NAME         
TSTM03              A     1       81    81 TEST MODE Y/N    
DEBG03              A     1       82    82 DEBUG MODE Y/N   
DAT103              A    10       83    92 DATA LIB 1       
DAT203              A    10       93   102 DATA LIB 2       
DAT303              A    10      103   112 DATA LIB 3       
DAT403              A    10      113   122 DATA LIB 4       
PGM103              A    10      123   132 PGM LIB 1        
PGM203              A    10      133   142 PGM LIB 2        
PGM303              A    10      143   152 PGM LIB 3        
PGM403              A    10      153   162 PGM LIB 4        
IFS103              A    40      163   202 IFS LIB 1     
IFS203              A    40      203   242 IFS LIB 2     

--- In [email protected], "Huyck, Bruce" <[EMAIL PROTECTED]> 
wrote:
>
> Initially we would have two companies.
> 
>  
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED]
> On Behalf Of [EMAIL PROTECTED]
> Sent: Tuesday, November 15, 2005 9:46 AM
> To: [email protected]
> Subject: Re: [Easy400Group] Multiple company support within CGIDEV2
> 
>  
> 
> how many companies will you have??? Create an HTTP server for each
> company with a fixed library list. You could create an initial 
page, and
> based upon the user id, redirect them to the appropriate HTTP 
server.
> You would have to make some changes so that each subsequent request 
goes
> to the right HTTP server for that user. It could all be done from a
> default HTTP server, and the user name so that you really only have 
to
> write a "traffic cop" application for the default server. 
> 
> 
> 
> SPONSORED LINKS 
> 
> 
> How
> <http://groups.yahoo.com/gads?
t=ms&k=How+to+format+a+computer+hard+drive
> 
&w1=How+to+format+a+computer+hard+drive&w2=Cobol+programmer&w3=Iseries
+4
> 00&w4=How+to+format+a+computer&c=4&s=110&.sig=GszsdnimLS-
dvcnmub6phw>
> to format a computer hard drive 
> 
> Cobol
> <http://groups.yahoo.com/gads?
t=ms&k=Cobol+programmer&w1=How+to+format+a
> 
+computer+hard+drive&w2=Cobol+programmer&w3=Iseries+400&w4=How+to+form
at
> +a+computer&c=4&s=110&.sig=AbZ-KLSGS2TJO7G7jeD5RQ>  programmer 
> 
> Iseries
> <http://groups.yahoo.com/gads?
t=ms&k=Iseries+400&w1=How+to+format+a+comp
> 
uter+hard+drive&w2=Cobol+programmer&w3=Iseries+400&w4=How+to+format+a+
co
> mputer&c=4&s=110&.sig=XE1haYjZMUhU-WSfZCdqgg>  400 
> 
> 
> How
> <http://groups.yahoo.com/gads?
t=ms&k=How+to+format+a+computer&w1=How+to+
> 
format+a+computer+hard+drive&w2=Cobol+programmer&w3=Iseries+400&w4=How
+t
> o+format+a+computer&c=4&s=110&.sig=qIhBH8f1R3fGarcZfk2pRg>  to 
format a
> computer 
> 
>  
> 
>  
> 
>  
> 
>   _____  
> 
> YAHOO! GROUPS LINKS 
> 
>  
> 
> *          Visit your group "Easy400Group
> <http://groups.yahoo.com/group/Easy400Group> " on the web.
>   
> 
> *          To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe> 
>   
> 
> *          Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>  Terms of Service. 
> 
>  
> 
>   _____
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/wbFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to