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

Default Design values

Dear listmembers,

Is it possible to change default values in the table design view.
for example: De default value for the fieldsize of a textfield is 50. Could
I change that value by default.
I don't refer to de default property of a field, but the startvalues in the
designenvironment of a table.
I suppose that there is a sort of a designtemplate or a masterdatabase of a
registry key with the startvalues.

Thanks,

Jan Vente
The Netherlands

Nov 12 '05 #1
3 1889
Under:
Tools | Options | Tables/Queries
you will find the values that can be changed, and yes, you can set the
default size for a new Text field.

Unfortunately, the choices are very limited.
You cannot set AllowZeroLength, which is inconsistent across versions.
You cannot remove the zero as the Default Value for numeric fields.
You cannot set SubDataSheetName to "[None]".
What we do is run a piece of code to tidy up these properties after the
basic design is complete.

When you create a new table, you probably want Design View instead of the
Datasheet View that Microsoft set as default. Although there is no way to
change that in the interrface, it can be done with a registry hack. Go to:
HKLM\Software\Microsoft\Office\
Select your version. Continue to:
Access\Wizards\Table Wizards\Datasheet View
Right-click Index (right pane), and Modify the Value to 1.
Then select Design View, and set its Index Value to 0.

For suggestions on creating default forms and reports, see:
http://allenbrowne.com/ser-43.html

--
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.

"Jan Vente" <Ja*@abc.nl> wrote in message
news:40***********************@diablo.nl.easynet.n et...
Dear listmembers,

Is it possible to change default values in the table design view.
for example: De default value for the fieldsize of a textfield is 50. Could I change that value by default.
I don't refer to de default property of a field, but the startvalues in the designenvironment of a table.
I suppose that there is a sort of a designtemplate or a masterdatabase of a registry key with the startvalues.

Thanks,

Jan Vente
The Netherlands

Nov 12 '05 #2
Thanks,

Jan Vente
"Allen Browne" <Al*********@SeeSig.Invalid> schreef in bericht
news:40***********************@freenews.iinet.net. au...
Under:
Tools | Options | Tables/Queries
you will find the values that can be changed, and yes, you can set the
default size for a new Text field.

Unfortunately, the choices are very limited.
You cannot set AllowZeroLength, which is inconsistent across versions.
You cannot remove the zero as the Default Value for numeric fields.
You cannot set SubDataSheetName to "[None]".
What we do is run a piece of code to tidy up these properties after the
basic design is complete.

When you create a new table, you probably want Design View instead of the
Datasheet View that Microsoft set as default. Although there is no way to
change that in the interrface, it can be done with a registry hack. Go to:
HKLM\Software\Microsoft\Office\
Select your version. Continue to:
Access\Wizards\Table Wizards\Datasheet View
Right-click Index (right pane), and Modify the Value to 1.
Then select Design View, and set its Index Value to 0.

For suggestions on creating default forms and reports, see:
http://allenbrowne.com/ser-43.html

--
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.

"Jan Vente" <Ja*@abc.nl> wrote in message
news:40***********************@diablo.nl.easynet.n et...
Dear listmembers,

Is it possible to change default values in the table design view.
for example: De default value for the fieldsize of a textfield is 50. Could
I change that value by default.
I don't refer to de default property of a field, but the startvalues in

the
designenvironment of a table.
I suppose that there is a sort of a designtemplate or a masterdatabase

of a
registry key with the startvalues.

Thanks,

Jan Vente
The Netherlands


Nov 12 '05 #3
Under:
Tools | Options | Tables/Queries
you will find the values that can be changed, and yes, you can set the
default size for a new Text field.

Unfortunately, the choices are very limited.
You cannot set AllowZeroLength, which is inconsistent across versions.
You cannot remove the zero as the Default Value for numeric fields.
You cannot set SubDataSheetName to "[None]".
What we do is run a piece of code to tidy up these properties after the
basic design is complete.

When you create a new table, you probably want Design View instead of the
Datasheet View that Microsoft set as default. Although there is no way to
change that in the interrface, it can be done with a registry hack. Go to:
HKLM\Software\Microsoft\Office\
Select your version. Continue to:
Access\Wizards\Table Wizards\Datasheet View
Right-click Index (right pane), and Modify the Value to 1.
Then select Design View, and set its Index Value to 0.

For suggestions on creating default forms and reports, see:
http://allenbrowne.com/ser-43.html
--
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.

"Jan Vente" <Ja*@abc.nl> wrote in message
news:40***********************@diablo.nl.easynet.n et...
Dear listmembers,

Is it possible to change default values in the table design view.
for example: De default value for the fieldsize of a textfield is 50. Could I change that value by default.
I don't refer to de default property of a field, but the startvalues in the designenvironment of a table.
I suppose that there is a sort of a designtemplate or a masterdatabase of a registry key with the startvalues.

Nov 12 '05 #4

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

Similar topics

1
by: Bruce Rusk | last post by:
I've just started using Stephen Lebans' RTF2 control in a database, linked to a Memo field, and am finding it extremely useful (incidentally, in ACC2002 I'm using the class and withevents rather...
3
by: Jan Vente | last post by:
Dear listmembers, Is it possible to change default values in the table design view. for example: De default value for the fieldsize of a textfield is 50. Could I change that value by default. I...
10
by: MLH | last post by:
I have an A97 table with a Yes/No field named TowJob and a form bound to that table. The TowJob control on the form is bound to the same field. It is an option group with Yes and No bttns valued...
2
by: Viorel | last post by:
Adding new row with default values. In order to insert programmatically a new row into a database table, without direct "INSERT INTO" SQL statement, I use the well-known DataTable.NewRow,...
11
by: Michael Groeger | last post by:
Hi, is it possible to leave a DropDownList's selection empty? Our application requires for some ddl's that they are kept blank w/o an initial value so that we can add a RequiredFieldValidator to...
4
by: Dennis | last post by:
I am trying to set the default design proerties in a control I have derived from the Panel Class. I thought I'd found how to do it from the MSDN but the following line doesn't work: Inherits...
10
by: Alan G Isaac | last post by:
My class MyClass reuses many default parameters with a small number of changes in each instance. For various reasons I decided to put all the parameters in a separate Params class, instances of...
1
by: Will | last post by:
I am upsizing an access application to vb.net. In access textbox, combos and checkboxes can have default values, which are assigned in the properties for the control. How can I set a control's...
4
by: Jess | last post by:
Hello, I tried several books to find out the details of object initialization. Unfortunately, I'm still confused by two specific concepts, namely default-initialization and...
10
by: =?Utf-8?B?SmFtZXMgV29uZw==?= | last post by:
Hi everybody, I'm trying to use the new VB 2008 right now and I want to know how to preset the company name and copyright informtion in Assembly Information. In my current VB 2005, company name...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.