473,406 Members | 2,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

3 questions regarding access development

I am new to access development, please bear with me if these questions
sound trivial.

I am creating an Access application using link tables. My database
resides in MSDE. I have created multiples tables such as schools,
teachers, etc in MSDE.

1. This is my first question: In order to show user friendly data, I
have created a form displaying queries to display the schools/teachers
information. How do I use the same form to edit/add new data?. When I
open the form which displays the school data, I get a message, "The
Recordset is not updatable"

2. If login and access control is created for the application, is it
possible to display different switchboard automatically and also
capture the username in a field.

3. How do I create autogenerated number for the ID fields since this is
a linked table whenever new records are created.

Thanks for any input.

Jan 23 '06 #1
3 1449
On 23 Jan 2006 05:04:29 -0800, "Fendi Baba" <ef*****@epitome.com.sg>
wrote:

1: This error message can have several causes. Your underlying table
needs to have a Primary Key. You typically cannot use outer joins,
union queries, or totals queries, nor would you typically need those.

2: Sure. The details depend on how you're logging in. Assuming you
created your own login form, after successful login you know who the
user is. Store this in a global variable (say g_strUserName). Then in
the Switchboard's Form_Open you can use this information to display
differnent things:
if g_strUserName = "Tom" then
some_control.Visible = False
end if
You can also write code like:
Me.txtUserName.Value = g_strUserName
to display the user name in a textbox.

Autonumbers in MSDE are created by setting the Identity property of a
field. When you later insert a record, a new value is automatically
created for you.

-Tom.
I am new to access development, please bear with me if these questions
sound trivial.

I am creating an Access application using link tables. My database
resides in MSDE. I have created multiples tables such as schools,
teachers, etc in MSDE.

1. This is my first question: In order to show user friendly data, I
have created a form displaying queries to display the schools/teachers
information. How do I use the same form to edit/add new data?. When I
open the form which displays the school data, I get a message, "The
Recordset is not updatable"

2. If login and access control is created for the application, is it
possible to display different switchboard automatically and also
capture the username in a field.

3. How do I create autogenerated number for the ID fields since this is
a linked table whenever new records are created.

Thanks for any input.


Jan 23 '06 #2
Thanks for the tips.

Jan 25 '06 #3
"Tom van Stiphout" <no*************@cox.net> wrote >

2: Sure. The details depend on how you're logging in.

The FAQ at http://www.mvps.org/access includes two API references that can
be used to avoid addition "logins", the one at
http://www.mvps.org/access/api/api0008.htm returns the Network Login Name,
and the one at http://www.mvps.org/access/api/api0009.htm returns the
current computer name.

Unless you are very, very careful to handle every error, it is unwise to
depend on storing user identification in Access variables. Variables can
lose their content in the event of an unhandled error, with varying
consequences depending on how you employ them in your application. It may be
better to store the information in controls on a form whose Visible property
you have set to False.

Larry Linson
Microsoft Access MVP

Jan 26 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: qscomputing | last post by:
Hi, I've developed in several other languages and have recently found Python and I'm trying to use it in the shape of the PythonCard application development tool. My two questions: 1. What...
4
by: Robert M | last post by:
Hello, I actually have a couple of questions regarding this project. First, I have a pretty good understanding of SQL code. I use to work with dBase III and IV. I now work with Access 97 and...
8
by: Mike | last post by:
Hello, I have a few rather urgent questions that I hope someone can help with (I need to figure this out prior to a meeting tomorrow.) First, a bit of background: The company I work for is...
4
by: Megan | last post by:
Okay, I have a few questions regarding an Access database our company has. I should first mention that I'm not that knowledgable in Access and don't really know how to use it, but I am learning. We...
20
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to...
2
by: Hemang Shah | last post by:
Hello I've few questions regarding ADO & C#: 1) Is it possible to view tata from multiple tables in the Datagrid control ? Most of the examples I see are only for 1 table. 2) In...
8
by: NH | last post by:
Hi, I'm looking for some opinions and advice on designing ASP.Net apps. Let me explain my approach to how I currently design and hopefully you can give me some advice. I create systems for a...
2
by: Seguros Catatumbo | last post by:
Hi, i have decent experience with asp 3.0 (classic), and downloaded web developer express to see what's the fuzz over it. I have lots of questions, mostly regarding the use of forms and database...
22
by: Jesse Burns | last post by:
I'm about to start working on my first large scale site (in my opinion) that will hopefully have 1000+ users a day. ok, this isn't on the google/facebook scale, but it's going to be have more hits...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.