Quick Question Re:form Versus Table Properties

Jan 26, 2008

Hi

I know this is probably a silly question but I had a number of checkboxes in a table and had set their default value to be 0 however I did not do this in the table properties of these fields.

I can understand some things like formatting dates in a form but storing it differently in the table but why did access not automatically input 0s in all the fields where I did not check the box?

View Replies


ADVERTISEMENT

Table Column Name Properties/Combo Box Head Properties

Dec 8, 2006

Hi, I would like to change the properties of either the column heads in a combo-box or the column names for tables. I don't think there's any way to adjust the column head properties, and I'm doubtful there's a way to change the column caption properties.

Some of my column titles are long, and I'd like to be able to word wrap them essentially. Anyone know if this is possible? Thanks.

View 5 Replies View Related

Quick Table Question

Feb 21, 2005

just a quick question guys,

If i had two tables;

tblCar
CarID
CarName

tblDriver
DriverID
DriverName

how would i put these into a tblCarDriver, would i be right in creating

tblCarDriver
CarDriverID
CarID
DriverID

then how would i set up the fields for this table?
e.g when i use the lookup wizard for the CarID & DriverID fields in tblCarDriver would i select all fields from the Car table and all fields from the driver table or just the CarID from the Car table and DriverID from the Driver table.
How would i show this in a form!!!! maybe by query and a dropdown box?
(e.g Ford, Dean Welch)

Thanks in advance....

View 2 Replies View Related

Combo Box Versus List Box?

Sep 9, 2006

This might be a silly question - I appologize in advance if it is. - let me know! :) I have searched a bit and found nothing quite along the same lines.

I have realized that I only use Combo boxes, avoiding List boxes entirely. I had some early difficulties with List Boxes that I can't recall now, yet a lot of my combo boxes are limited to list. Most posts I read on this forum seem to mention Combo rather than List boxes (I may have a bias here?).

It looks like a combo box that is limited to list is pretty much a list box. If this is right, is there ever any advantage to using a list box that I am missing out on?

From Access help:
List boxes: What they are and how they work
In many cases, it's quicker and easier to select a value from a list than to remember a value to type. A list of choices also helps to ensure that the value that's entered in a field is correct.

The list in a list box consists of rows of data. In a form, a list box can have one or more columns, which can appear with or without headings. If a multiple-column list box is bound, Microsoft Access stores the values from one of the columns. In a data access page, a list box has one column without a heading.

You can use an unbound list box to store a value that you can use with another control. For example, you could use an unbound list box to limit the values in another list box or in a custom dialog box. You could also use an unbound list box to find a record based on the value you select in the list box.

On a form, you can use a combo box instead of a list box; it takes up less room, and you can type new values in it, as well as select values from a list. Learn about combo boxes on forms.

On a data access page, you can use a drop-down list box instead of a list box; it takes up less room; however, you can't type new values in it. Learn about drop down list boxes on data access pages.


Combo boxes: What they are and how they work
In many cases, it's quicker and easier to select a value from a list than to remember a value to type. With a combo box, you can do either without using too much space on a form. A combo box is like a text box and a list box combined.

When you enter text or select a value in a combo box, if the combo box is bound, the entered or selected value is inserted into the field that the combo box is bound to.



The list in a combo box consists of rows of data. Rows can have one or more columns, which can appear with or without headings. If a multiple-column combo box is bound, Microsoft Access stores the values from one of the columns.

You can use an unbound combo box to store a value that you can use with another control. For example, you could use an unbound combo box to limit the values in another combo box or in a custom dialog box. You could also use an unbound combo box to find a record based on the value you select in the combo box.

Combo boxes have a LimitToList property that you can use to control whether any value can be entered in the list, or only text that matches one of the values in the list can be entered.

If you have room on your form and you want a list to appear at all times, or if you always want to limit data entries to values in the list, you might want to use a list box instead of a combo box. For more information on list boxes, click .

Is the last para from above:
If you have room on your form and you want a list to appear at all times, or if you always want to limit data entries to values in the list, you might want to use a list box instead of a combo box. For more information on list boxes, click the only advantage?

View 3 Replies View Related

Quick Table Format Question

Dec 16, 2004

Hi guys, hope you can help.
I have two fields (that I'm interested in) in my table: Insurance Policy End Date and Reminder Date.
I would like the default value in the reminder date to be exactly six weeks before the value entered in Policy End date. I'm not at all sure how to do this with the expression builder. Could you guys nudge me in the right direction?
Eternally grateful.

View 2 Replies View Related

Access 'project' Versus 'database'

Apr 5, 2005

I seem to be missing an understanding of the difference between a project and a database. I am using a .mdb and writing code with success until I try to use the recordset feature which I took from my "VBA programming" book.

My code is simple...

Dim db As Database
Dim rec As Recordset
Dim strSQL As String
Dim intCount As Integer
Dim listEmails As String

strSQL = "SELECT Email from Member"

db = CurrentDb()
rec = db.OpenRecordset(strSQL, dbOpenSnapshot)

Do Until rec.EOF
listEmails = listEmails & Chr$(10) & rec(Email)
Loop

rec.Close

MsgBox listEmails

But when I run it I get a compile error because in line 1 the term 'database' is only a class in "a project".

Can anyone explain the issue and better still the solution.

Thanks

Phill

View 1 Replies View Related

Queries :: DAO RecordCount Versus Count Query

May 21, 2013

For small tables (<10,000 rows), which technique is faster, more efficient ?

View 11 Replies View Related

Reports :: Cross Tab Report Versus Dynamic Columns

Apr 22, 2014

I have made a cross-tab query which works fine. I also have made a report which is based on this cross-tab query. Due to nature of the cross-tab query the Value column(s) is dynamic. The report I made is based on all available data types (columns). The report works if all data type is available but the report fails if some of the data types are not available (i.e columns are missing due to not having any value or data). I hope I am explaining this correctly,

Is there a way I can use expressions in the report to place a conditional clause that if the Control Source doesn't exist place a Null or 0 in the report or in its place.

View 2 Replies View Related

Changing Table Properties With VBA

Sep 11, 2015

Ive got 4 tables with on field name MO_ID that is formatted as a number. I then have a make table/append query that takes these 4 tables and puts them all into one table. At this step, I need to convert the field MO_ID to being a text field so that I can use an update query to change some special scan codes into word equivalents. For example, 100066 is getting updated to "Admin".

The simple solution would seem to be to change the the original 4 table fields to a text, but that wont work in this case. I have several other queries that need to have relational properties with other tables that comparing numbers to numbers so that wont work.

Is there a way to make that field change to a text field? But only when I run a certain query and only in that one table?

View 3 Replies View Related

Quick Restore Form Question

Jan 20, 2006

This is probably very simple and I am wasting time on it so I thought I would ask for a quick fix.

I have a form "Standby" that minimizes when a buton is pressed to open a second form "Filter." This works great. I want the "standby" form to restore to it's original size when I close the "filter" form.

I have tried several options the last being:
under the on close event

Private Sub Form_Close()
Forms!standby.Restore
End Sub

She no worky.

What is the quick solution for this please.

View 3 Replies View Related

Problem In Accessing Table Properties

Nov 5, 2005

:rolleyes: hi
i am raza. i am facing a problem while accessing the properties page of access table.
when i gets its properties page it has no properties on it.i have attached the pic wich can explain the problem.
pls tell me if any body can solve this problem.
thanks.
raza

View 6 Replies View Related

Changing Properties Of A Linked Table

Dec 20, 2005

Is it possible to change the properties of a linked table from Number to Text and have this remain constant using VB code. If so, how can I do this?

View 1 Replies View Related

Importing Table With Field Properties

Jul 11, 2006

is there is an easy way to create a table with defined field properties.

I have an excel file with over 300 column names and there field length.

I can import the name by transposing the list and then importing however the field length will have to manually edited which i don't fancy doing,

any ideas???


Field NameLength
BATCH NBR5
BATCH DATE8
BATCH CODE3
SUB PRODUCT3
FILE TYPE1

View 1 Replies View Related

Dump Table Properties To A File

Feb 8, 2008

Is there a way to write the properties of a table out to a text file or excel sheet?

I'd like to be able to get the Field Name, Data Type, Field Size, and format for each field in my table.

Thanks,
CRhodus

View 3 Replies View Related

Change Table Field Properties - Programmatically

Nov 27, 2005

Hi

I have a table that when imported from an external program (sage) has a number based property.

To achieve linkage with other tables, I have to manually change the field fom a number to text.

Is this possible to achieve programmatically.

Much appreciated on any advise.

Regards

Paul

View 2 Replies View Related

Reports :: Show Table Properties In A Report?

Aug 29, 2013

I have a database created that imports data (stock levels) from a text file into a table and then email various suppliers with the current stock levels. The emails are all scheduled using scripts.

The weakest part of my set up is the text file, I am depending on someone remembering to run the report to create the text file, which cannot be automated.

I was thinking, if I could display the date the table was created in the report, I could add some disclaimer to make sure the created date equal report date. Is it possible to show the table properties date in a report?

View 5 Replies View Related

Sub Form Properties

Sep 13, 2006

Hi,

I have created a sub form and wanted to make it's background transparent and also be able to enter new data and change it on the form. I sat Data entry = Yes, but I still can't enter any data. And I can't find the Back Style property at all.

Any help how to do that will be very much appreciated.
B

View 1 Replies View Related

Modules & VBA :: Listing Field Properties Indexed In Each Table

Mar 17, 2015

Is there a way to gain access to the Field Properties using VBA?

I'm trying to loop thru the Tables in a database and find out the Fields that are indexed in each table.

I can loop through the table Defs to get each table name and a list of Fields but I can't seems to get to the Field Properties, namely "INDEXED".

View 4 Replies View Related

New Field Properties In Form

Jul 14, 2005

I created and new field and made the source "Unbound" so that it is not connected to the field I copied it from. How do I now make that the information I enter in the new field does not duplicate in all of the similar fields in other entries.

Specifically, my database is a database of employees and the field Title is "Active". If I enter "Yes" by one employee entry, all employee entries will then state "Yes" by the Active field.

How can I change the properties so that by some employees I can write "Yes" and by others I can enter "No".

I am not so familiar with Access so if you can be specific I would greatly appreciate it.

View 7 Replies View Related

Setting Form Properties...

Jul 6, 2006

I have a form that is intended to be used for both data entry and to edit/delete records.

The form properties are set to:
AllowFilters = YES
AllowEdits = YES
AllowAdditions = YES
AllowDeletions = NO
DataEntry = YES

When a user opens the form from a menu they are given the choice for NEW, EDIT or DELETE.

If the user chooses NEW, the properties remain as above

If the user chooses EDIT or DELETE the form should open to a specific record as chosen on an interim form.

I have been using the following code to open the form for EDIT:
stLinkCriteria = "[fldID] = " & Forms!frmsearchresults.fldID
DoCmd.OpenForm "frmJobInfo", acNormal, , stLinkCriteria, , acFormEdit

However, the form continues to open in Data Entry mode.

I have a public variable that is set to NEW, EDIT or DELETE that can be used to trigger code...

Where should the form properties be set to make sure that the form opens correctly?

Any help would be appreciated.

Thanks!

View 1 Replies View Related

Table Field Properties - Bound Column Only Accept Numeric Value?

Oct 22, 2014

I try to put an expression for the property "bound column" so that my lookup values will be directly dependent on one of attribute's choice

I have got four options for my attribute. Each option will use a slightly different set of lookup values. I save all four sets in another table.

Then in my properties definition I refer directly to this table as lookup base. When I put bound column number equal to an expression so as to choose the right column of lookup values it refuses. It seems that it does notl ike anything other than a numeric value.

If that's a no-go, I am not sure how to achieve what I try to do then?

Essentially I have a table that 4 attributes: QID,itemID,CatType,Catchoice

CatType can have only 4 values. Each value will make Catchoice take on a different set of combo values

The problem I am having is that I am stuck at the Catchoice lookup definition because it is dependent on what kind of CatType the user picks.

View 1 Replies View Related

Forms :: Quick Filter Not Working When Memo-type Fields In Form

Jul 1, 2013

I recently made a new version of our database complete with forms, querys etc.. using Access 2010. It looked good and nice, but we encountered an unexpected problem. In all forms that contains memo-type fields quick filter is not working (there is no lists, checkboxes etc..). My users really like quick filters and are understandably irritated. I would understand if this disappearance would affect only memo-type fields, but it affects ALL the fields.

I also know that there are problems with memos in Access 2010. I have tried to make new forms, but every time I add memo fields quick filter stops functioning. I have also tried to change properties, options and what not, but to no use. In older versions of our forms this feature works just fine, but they were made in older version of Access (don't know which since oldest ones are from year 2003).
Television

View 3 Replies View Related

Open The Same Form But Change Properties

Oct 28, 2005

I have a standard form but i would like it so that when a user clicks on the button from the main menu to open the form it changes the default view which i have set to data entry and change it to not data entry. Also another button to change its record source to a different query. Rather than make lots of different forms that have the same thing but for just different purposes.

I hope that makes sense?

Thanks

View 3 Replies View Related

Forms :: Setting Form Properties From Another Form Gives Nothing?

Aug 23, 2013

So I have two forms: Af and Bf

In Af, when a button, Abtn, clicked, it'll run

Code:
Me.Visible = False
DoCmd.OpenForm "Bf", , , , acFormEdit
Forms![Bf].Form!Blabel.Caption = Me.Atxtbox
Forms![Bf].Form!Bcombox = Me.Atxtbox

Then Af lost from view and Bf appears in form view, with Blabel and Bcombox show the value of Atxtbox.

BUT if I try something like this in Bf when an event happens

Code:
Me.Bcombox2.RowSource = "SELECT xx FROM tablexx WHERE yy = '" & Nz(Me.Bcombox) & "'"

Nothing will be shown in Bcombox2, because Me.Bcombox return Null. I know this from doing

Code:
MsgBox Me.Bcombox

and the message box will shows nothing. The same thing also happen with the Blabel's caption. In form view, it shows Atxtbox value, but when I accessed its caption's value, it returns Null.

What I wanna do is:

1) Open Af, insert value to Atxtbox

2) clicked Abtn, pass the value of Atxtbox to Bcombox

3) Af is closed, and Bf is opened

Why the null...?

View 5 Replies View Related

Forms :: Applying Quick Filter In Main Form Causes Data To Not Show In Subform?

Sep 3, 2013

I have a pretty simple form that includes subform. Subform's table is linked to main form's table with parent/child relation. Connecting fields are main table's ID field and corresponding field in child table. Subform is in datasheet view. This is pretty basic stuff so there should not be any problems, but every time I apply a quick filter in main form it causes data in subform become invisible. There is single row in subform, but all it's fields are empty.

View 5 Replies View Related

Allow Changes To Form/control Properties To The Design Mode

Sep 20, 2005

Is there a way to allow edits to the properties of objects/controls only in Design view and not in the Form View?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved