Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 3rd, 2004, 10:47 PM
susan susan is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 69 susan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
why split the db

i have tried splitting my database, it produces the main database with all tables,forms,queries and a backend - just the tables. if i have tables in the front end as well, what's the point of splitting it?

2.if i were to place my db on the server, can i set it for exclusive use? meaning, i want only one person to open it at one time.

3. my database does a search function. no entering new records, just search. if this is placed on the server, and so that a few people can use it at the same time, it is safe to set the default open mode to 'shared'? or is it better to set the open mode to exclusive so that only one person can search at a time.

plz help.thanx.

Reply With Quote
  #2  
Old March 3rd, 2004, 11:24 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
1. You split a database so that

-You can run in a multi user enviroment with less problems
-So you can edit the interface (forms, queries, reports) with out interfering with the data (espically when developer is not on site)
-Provide more overall flexiblity

There are lots more reasons


2. Sure if that is what you want

3. You can do what ever works best for you app. The best method (as far as locking) is decided by your needs.



S-

Reply With Quote
  #3  
Old March 4th, 2004, 02:34 AM
susan susan is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 69 susan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Baxter were you able to open the DB i sent at FTP. iv run out of ways in figuring them out.plz help?

Reply With Quote
  #4  
Old March 4th, 2004, 10:45 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
I uploaded you a modified DB, with code under the ETC Date, to the FTP site

The I changed the form to allowedits yes and locked all the fields

S_

Reply With Quote
  #5  
Old March 4th, 2004, 10:00 PM
susan susan is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 69 susan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Thank you Baxter. U did a miracle. The locked fields really make a difference.
However when the actual date length = 0, i want the status OPEN.
Now what happens is - even when i key in an empty actual date, status = CLOSED.

this is the code :

Private Sub Actual_GotFocus()
Dim Password As String
Dim Actual As String

Password = InputBox("Password is required to edit this field,please enter now.")
If Password = "password" Then
Me.Actual = InputBox("Please enter the Actual date")
If Me.Actual = "" Then
Me.Status = "OPEN"
Else: Me.Status = "CLOSED"
End If

Else
MsgBox " You don't have the right to edit this field"
End If
End Sub

* this part - Status = CLOSED even when Actual date has 0 length.

------------------------------------------
have also tried :

Password = InputBox("Password is required to edit this field,please enter now.")
If Password = "password" Then
Me.Actual = InputBox("Please enter the Actual date")
If Len(Me.Actual) = 0 Then
Me.Status = "OPEN"
Else: Me.Status = "CLOSED"
End If

* this part makes status = CLOSED even when date field is clicked on,enter password, but no date is entered.
__________________________________________________ ____

also this :

Private Sub Actual_GotFocus()
Dim Password As String
Dim Actual As String

Password = InputBox("Password is required to edit this field,please enter now.")
If Password = "password" Then
Me.Actual = InputBox("Please enter the Actual date")
If Len(Actual) = 0 Then
Me.Status = "OPEN"
ElseIf Not Len(Actual) = 0 Then
Me.Status = "CLOSED"
End If

* this part makes status when field is filled up with a date remain at OPEN. when it should be CLOSED.

what should i do?
thanks a million for yr help.

Reply With Quote
  #6  
Old March 5th, 2004, 01:50 AM
susan susan is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 69 susan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
also baxter how do you lock all fields?

Reply With Quote
  #7  
Old March 5th, 2004, 01:54 AM
susan susan is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 69 susan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
i think i know how to do that...look at txt box properties,right?

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > why split the db


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT