Do you have any course that teach how to create Access for multi users?
Reply from Richard Rost:
I have talked about it briefly in several of my courses, but it's not that difficult. You just need to set up a SHARED FOLDER on your network that everyone has read/write access to. Then place your database there. However, keep in mind it's not really secure. I talk about this in great depth in my Access Security Seminar.
Hi Richard, I have purchased a few of your lessons and I love them, you have saved my job on many occasion. THANKS...I have recently run into a problem with autoexec, the module is set up to allow the full Access menu's when certain users are logging in but the problem is when the auto exec crashed it locked everyone out of the database. We were unable to access any of the menus to check the code of the macro or to remove it. How can I prevent this from happening again or is there another way to block my database menus without running a macro?
Reply from Richard Rost:
Hold the SHIFT key down and restart your database. This will bypass your startup macro and let you get to the database window to figure out what's wrong.
You have been very quiet of late. I noticed you approved our comments. Thank you. However, some of the comments were questions and we were expecting some form of expert answer from you. Your replies are however not visible. Would you be kind and reset to VISIBLE or write the responses again?
Best regards,
MICAH
Reply from Richard Rost:
Micah, sorry ive been absent lately. Im working on a big project that is taking all of my time. I have marked many of your questions to follow up on and I will answer them as soon as I can.
At time index 9:12, you demonstrated how to "inprint" the current user name onto the main menu. I added something cool that i would like to share with you and my fellow students. That is, the Main Menu should greet the current user as "Good morning Richard!" depending on what (PC system) time they they log in. See below what i used for my database: If Time >= #12:00:00 AM# And Time < #12:00:00 PM# Then CurrentUserLabel.Caption = "Good Morning " & CurrentUserName & "!"
End If
If Time >= #12:00:00 PM# And Time < #5:00:00 PM# Then CurrentUserLabel.Caption = "Good Afternoon " & CurrentUserName & "!"
End If
If Time >= #5:00:00 PM# And Time <= #11:59:00 PM# Then CurrentUserLabel.Caption = "Good Evening " & CurrentUserName & "!" End If
Doesn't it look cool? Probably the Select Case statement or Elseif would look cooler.
My last question was partially answered. I do not recall which video I was watch, but you have hovered over the control and the full name appeared. How does the full name gets displayed by hoveering over the control?
Thank you for your help
Reply from Richard Rost:
David, look for the Control Tip Text property. Whatever you put in there will appear when you hover over the control.
Dear Richard how can I use a wildcard in the DAO seek method?I mean instead of choosing 5 I can choose any other value without changing it in the code. Thanks.time index 2:38
Reply from Richard Rost:
Sure. I put in a "5" just as an example. You could substitute a variable or a form field there if you want to.
Ray, your SQL code looks fine. Check your field names and make sure they match your form fields exactly. This is usually caused by a misspelling of field name.
I am getting a "From" error in the following item:Set rs = db.OpenRecordset("SELECT * From UserT where Username='" & UserName & "' and Password='" & Password & "'") Apparently the username is getting set to the username field but the password is not getting set to the password field. What am I doing incorrectly?
time of class 04:54, I am using Access 2003 front end with SQL Server Express 2005 Backend. I found the hard way that in order to access the SQL server backend through DSN(ODBC) connection that the OpenRecordset("CustomerT",dbOpenDynaset,dbseechanges) had to be in place due to an error message stating that I was accessing a sql server table with an identity column. (error 3622) Thought maybe that bit might help. Thanks Bryan
Harry, go to the page on my web site for that course. At the very bottom of the course description/outline you'll find ALL of the student comments (and my replies) for the entire course. For example, Access 322 is at http://www.599cd.com/site/courselist/access/access322. You can also find it by clicking on the COURSES link on the main menu of the web site. Courses > Microsoft > Access > 322.
Harry, instead of using a filter, change the RecordSource of the form with a dynamic SQL statement like I show in Access 311 (Dynamic SQL Form). Personally, I hate filter. They work for VERY basic criteria only.
Forum question: Is there a way to review all comments for a group of lessons (eg Advanced Recordsets) without worrying about which specific lesson one is in? I got your comments back on my questions, but now can't find them easily.
I have a form whose record source is a query and it is filtered by a Primary Key. I'm using an UPDATE SQL statement to add information to a field (can't do it directly as the query won't allow edits (Totals are on).
When I .requery the form, the filter goes away and other data appears. Is there a way around this?
Harry, in the VB EDITOR go to Tools > Options and on the Editor tab you'll see "Tab Width" which is where you can specify the size of your tabs (4 characters is the default).
General Access question - the default indent spacing in code window does not match the tab setting. Hence, wizard created code will set its indents at a different place than hand typed code using the tab key or indent button.
Suggestion: when needing to locate a file with an exact path where the file is in the SAME folder as the currentdb, use - Set db = OpenDatabase(CurrentProject.Path & "\Orders.mdb")