473,394 Members | 1,722 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,394 software developers and data experts.

Can I easily determine the data mode for an open form object?

MLH
Can I run a procedure and read a value to indicate data mode
like A_EDIT or A_READONLY (Access Basic in Access 2.0) ?
Nov 12 '05 #1
3 3103
When you OpenForm using A_READONLY as the DataMode, Access sets several
properties for the form, and you can read the properties. In later versions,
the properties are AllowEdits, AllowDeletions, and AllowAdditions, e.g.:
? Forms("MyForm").AllowEdits

Can't recall if they have the same name in A2.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"MLH" <CR**@NorthState.net> wrote in message
news:96********************************@4ax.com...
Can I run a procedure and read a value to indicate data mode
like A_EDIT or A_READONLY (Access Basic in Access 2.0) ?

Nov 12 '05 #2
MLH
Thanks Allen. BTW, I've been off the forum for a long time now.
What's up with the character assassination posts being made
in this forum? I find it deplorable. Can I go read about it somewhere
offline to find out what can be done to prevent it?

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxx

On Sat, 8 May 2004 11:01:56 +0800, "Allen Browne"
<Al*********@SeeSig.Invalid> wrote:
When you OpenForm using A_READONLY as the DataMode, Access sets several
properties for the form, and you can read the properties. In later versions,
the properties are AllowEdits, AllowDeletions, and AllowAdditions, e.g.:
? Forms("MyForm").AllowEdits

Can't recall if they have the same name in A2.


Nov 12 '05 #3
Best prevention is not to feed the troll.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"MLH" <CR**@NorthState.net> wrote in message
news:m3********************************@4ax.com...
Thanks Allen. BTW, I've been off the forum for a long time now.
What's up with the character assassination posts being made
in this forum? I find it deplorable. Can I go read about it somewhere
offline to find out what can be done to prevent it?

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxx

On Sat, 8 May 2004 11:01:56 +0800, "Allen Browne"
<Al*********@SeeSig.Invalid> wrote:
When you OpenForm using A_READONLY as the DataMode, Access sets several
properties for the form, and you can read the properties. In later versions,the properties are AllowEdits, AllowDeletions, and AllowAdditions, e.g.:
? Forms("MyForm").AllowEdits

Can't recall if they have the same name in A2.

Nov 12 '05 #4

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

Similar topics

1
by: dmiller23462 | last post by:
Hey guys.... I put an error-handling in my page and have it posted at the complete end of the code, see below(when people were putting in 's I was getting the delimiter errors). Great, I...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
2
by: Edward | last post by:
I have the following function to determine if a form is loaded: Public Function modIsloaded(ByVal vstrFormName As String) As Boolean ' Error handling removed for concision ' Determine if...
9
by: lauren quantrell | last post by:
Is there a way to determine the size of the user's screen minus the Windows task bar? I am trying to maximize an Access popup form that is also resizeable and it is causing me problems since it...
4
by: sara | last post by:
I am learning with a simple application/form. I am ok - enter customer name, list box of customers, select a customer, see the items for that customer. The items form has customer ID and Name...
2
by: Andy_Khosravi | last post by:
I'm having a bit of a nuisance problem with my A97 application, and I was wondering if any of you might have any ideas on how to get around it. The setup: I have a large main table (call it...
5
by: tshad | last post by:
Is there a way to carry data that I have already read from the datagrid from page to page? I am looking at my Datagrid that I page through and when the user says get the next page, I have to go...
0
by: noah.blumenthal | last post by:
I have created an application that uses 3 parts: 1) a windows service that distributes email 2) a form that configures the settings (incoming address, outgoing address, etc) for that service and 3)...
0
by: Jacob Donajkowski | last post by:
Once the user logs in I want to have the users switch from the Roster View to the Profile View and enter their profile infomation and save it. Then the next time they login and go to the Profile...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.