Change The Names Of Displayed Values

Jun 2, 2005

I have a query that looks through a table and shows me any calls that have a status of either 'O' 'or 'C'. What I would like to have in the query result is the O or C replaced with the words Open or Closed. Then when my count will make alot more sense rather than having O 29 etc.

I have had a look through the forums on the net and I am convinced this question has been asked before, but I am struggling to find the key word to search for

Kindest Regards

View Replies


ADVERTISEMENT

Having A List Of Record Names Displayed And Opening The Full Record Via Click

Sep 13, 2005

Im not sure if this is the right place to put this but I was wondering if you could help me:

Say I have database with forms that display records or people ie name, address, postcode, etc. What I want to do is display a list of Names then from that list I can double, single click and open the record details.

Id call my self and amatuer at access and am probably guessing this is done via vscript or something else, but any help will do.

Thanks
Alex

View 14 Replies View Related

Forms :: Change Backcolor Of A Field On Current Record Displayed In Multiple Items Form

Apr 8, 2013

I wish to change the backcolor of a field on a current record being dispalyed in a 'multiple items' form. However when using me.A.backcolor = makes refrence to all fields called A on the 'multiple items' form and therefore all fields change colour not just the current record.

View 2 Replies View Related

Suppress Numerical Values From Being Displayed On Yes / No Check Boxes

Nov 15, 2011

How do I suppress the numerical values from being displayed on the "yes/no" check boxes when a user clicks directly in the field, instead of clicking the arrowhead as they should?

View 3 Replies View Related

Change Column Names

Jun 2, 2005

Can I edit a column nameto show a different name than in my table as a heading?

View 2 Replies View Related

Names Change In Spreadsheet Import

Apr 4, 2006

Every month I download an Excel spreadsheet from a vendor and import it into Access 2003. Even tho the first row has column names, a dozen fields have incorrect names and data types and I have to manually change them each time. The spreadsheet has columns representing the amount spent for specific months. The column names are all like "May-02", "Sep-03", etc. and are all currency. After the import, many of the fieldnames are like "1/5/02 0:00:00" instead of "May02" and the data type is text. The column formatting is "mmm-yy" on all the columns, even the ones where the field names match the column names. How do I get all the fields to import correctly?

View 1 Replies View Related

Change Excel Sheet Names

Jun 12, 2012

So I have 5 querys exported to an excel file (C:/File.xlsx) using transferspreadsheet.The sheet names are named the same as the query names.Is it possible to change the sheet names (in the file C:File.xlsx) to what I want them to be named in access vba? Either after I export, or possibly change the query name before it is exported (all done in vba).Like a line I would add after transferspreadsheet like oldsheetname.name = newsheetname.Also need to find out how to change field names in the excel file to what I want in vba.

View 4 Replies View Related

Heeelp!! I Need To Change The Row And Coloumn Names/numbers

Aug 8, 2007

i have a table and i want to make the first row and coloumn replace the a,b,c,d,1,2,3,4 system?

can i do this and if so how?

i have made a makeshift diagram in paint if you want to see it to get a better idea of what i mean please PM me.

cheers.

jack

View 2 Replies View Related

Forms :: How To Change 2 Field Names With VBA Code Within A Form

Nov 28, 2013

I have two text fields:

their names are :

field 1 ="txtfilter"
and
field 2: "text333"

How can i change the names of the two fields with vba code?

I need field 1 to get the name of field 2
and field 2 to get the name of field 1

This will be temporarily.

using access 2013

View 5 Replies View Related

General :: Table Names Change When Exporting To Excel

Mar 14, 2013

When exporting my tables from access to excel my table names change if they have a space in the name. Example table name "New Record" turns into "New_Record".

What I am trying to do is export the table data to excel than update my access program than imort the table data back. This way I can take a vertion of my access program and update/modify it as time permits than reinsert all current data with min down time.

The code I am using is as follows:

Dim td As DAO.TableDef, db As DAO.Database
Dim out_file As String
out_file = CurrentProject.Path & "excel_out"
Set db = CurrentDb()
For Each td In db.TableDefs

[Code] .....

View 14 Replies View Related

Queries :: Turning Column Names Into Field Values?

May 7, 2014

I have a spreadsheet which contains data exported from another system (which I have no control over). I'm using this spreadsheet as a linked table in my database.

The problem I am having is that I can't guarantee that when the spreadsheet is updated, it will contain the same column headings as it did the last time...

The spreadsheet contains a list of temps, with a summary of info off their submitted timesheets. So the column headings (as well as WorkerName, TimesheetDate, etc) may be "Standard Hour", "Overtime Hour", "Over 12 hrs Hour", "Standard Day", "Overtime Day", etc - for each type there will be a Pay Rate and a number of units (hours or days) claimed. The columns only appear if 'someone' in the spreadsheet has claimed something under that heading this week.

What I need to do is to produce a report which gives a summary by person and week of the number of hours claimed and the total charge. I've done that - that part was easy The part I'm struggling with, is how to take the column headings and turn those into descriptors for each charge type... in otherwords, to go from the sample 'timesheet' below to the sample 'ByType' ?

... when I don't know which columns will be present each week?

At the moment I'm using a union query to pull out the info I need, but if the column headings change then I know it will stop working...

sample of my union query... I currently have 8 different sets of bill rate and charge rate, this just does the first couple...

Code:
SELECT qryTimesheetBaseData.[Time Sheet Start Date], qryTimesheetBaseData.[Time Sheet End Date], qryTimesheetBaseData.[Cost Centre], qryTimesheetBaseData.Worker, "Standard" AS RateType, "Hourly" AS RateCategory, qryTimesheetBaseData.[Bill Rate (ST/Hr)] AS Rate, qryTimesheetBaseData.[Time Sheet Billable Hours (ST/Hr)] AS Billable, qryTimesheetBaseData.[Time sheet Status] AS Status

[Code] ....

View 3 Replies View Related

Query Searching Multiple Tables' Field Names (not Values)

Jan 22, 2007

Hi. Please do not lecture me on database normalization, as this truly is not in my control.

I have 2 dozen tables, each with 13 fields. All of the field names exist in at least 12 of the tables. And all tables share a ssn field where values are common.(Confused yet? Sorry, if you are...)

If I design a query showing all 2 dozen tables and their fields...
Can I set up a query criteria where I enter the requested ssn and then the required field name and have the result show the values of all the fields with that name, among the ones of the 2 dozen tables where that field name exists? (for that specified ssn)

If I am only as clear as mud, please let me know, and I will try again.
Or, by asking if I can search for field values querying by field name, am I any clearer?

Russ

View 14 Replies View Related

Queries :: Query Based On A Form Which Had Field Names And Some Values

Feb 26, 2014

I have a table listing about 20 elements as field names eg FE, CR, NI, TI and so on.

I have built a form which has a combo box listing these elements by selecting "fields" in the property settings of the combo box & next to this combo box i have 2 text box's where the user can input Min & Max values to pass on to the query.

E.g., FE (chosen from the combo box) value between (Text box1) and Text box 2.

I can run the query to give me values between the 2 text box's by using the following formula in the criteria (Between textbox1 and textbox 2).

The issue i have is to be able to select the element from the listbox, input the min & max values identified and be able to pass this to a query so the query can filter based on the field and values passed?

View 3 Replies View Related

How To Change Values On New Form

Mar 18, 2008

Hello again... back to the access newbie Qs... first some code:

Code:HoldDOC = CCC_Demographics_DOC_Number HoldApptDate = Date HoldProvider = Provider_ID HoldInterval = Interval DoCmd.OpenForm "Create New Pending Appt Record", acNormal, , , acFormAdd, acDialog Forms!Create_New_Pending_Appt_Record.DOC_Number = HoldDOC

Ok... we're looking to take some values from our current form (hence the first 4 lines) and put them into some form elements on the new form... the form opens (the OpenForm command's going through), but when we reach the last line we get a "cannot find form XXX" error... so how do we change the elements on the new form?

View 3 Replies View Related

How To Change All Values In A Field To 0

Jul 15, 2015

Is there a simple way to change all of the values in a field to 0 (zero)?

View 2 Replies View Related

Change Values In Several Records At The Same Time

Oct 30, 2005

Hi all!
This is kind of a philosophical question :)

I’m doing some changes to a “CRM”-database, and need to make a function that changes values in several records in one operation. The problem is, I have now idea on how to approach this problem.

One example; I have made a simple invoice function in my db, which works well. But now I send a lot more invoices then when I made the function. I’ve made a form, which prints the invoices, and I can print several in one “operation”. How can I, in the same operation, also change the status of the invoice record so that it says “Printed”?

If you have any suggestions on the method e.t.c.? Thank you!
(I'm using Access 2000)

View 1 Replies View Related

General :: Change Values In Combo Box

Aug 24, 2012

I have a form with a sub, and that sub has a sub. I'm on the first sub trying to change the rowsource of a combo box on the second sub, and none of the following want to work.

Code:

'Me!frmRentalsSubDetails.Form!cmbEquipmentID.RowSource = EquipFilter & Me.ToLocation & "));"
'Forms![frmrentalcontainer]![frmRentals].Form![frmRentalsSubDetails].Form![cmbEquipmentID].RowSource = EquipFilter & Me.ToLocation & "));"
'Me.frmRentalsSubDetails!Form.cmbEquipmentID.RowSource = EquipFilter & Me.ToLocation & "));"
Me![frmRentalsSubDetails].Form![cmbEquipmentID].RowSource = EquipFilter & Me.ToLocation & "));"

View 7 Replies View Related

Tables :: Change Default Values?

Aug 21, 2013

Access 2010. I inherited a database that I need to copy and get it ready for next year's data. There are several places in the various tables where the default value on a field is 2013. I need to change to 2014. Any vba code or macro that I can do this without opening all the tables to change the values?

View 10 Replies View Related

Tables :: Possible To Have The Field Names In Table Be Set By Values In Another Table?

Jul 27, 2014

Is it possible to have the field names in a table be set by the values in another table? The desire being that for a database used in various locations, the local variations could be changed in one table which would then propagate that change throughout all the forms, reports, tables etc.

View 14 Replies View Related

Reports :: Report From Query Need Values To Change?

Nov 20, 2013

Objective to have a report generated from a query (Based on a Storage Table) in the record-source however need to make adjustments to each record based on the query output ie User Id is outputted as number as it needs to be for everything else but on the report loading needs to run an sql query on that ID number to get the name and then replace that value with the name and so on for each record and each appropriate column

Problem:I can either change All of the records outputted with the first records info or nothing at all. i need this process to occur individually on each outputted record

View 10 Replies View Related

Forms :: Values Change According To Selecting Value From Another Field

Apr 16, 2014

I am working on a school database, today I am working for fee collection form and I am facing trouble.In attachment At the top right area the hidden field I would like here changes according to selecting Fee Type under Fee Detail. I want to achieve this,

If feetype is ABF then Hidden field = 1500110
If feetype is ASF then Hidden field = 1500120
If feetype is EXF then Hidden field = 1500130
If feetype is MTF then Hidden field = 1500140
If feetype is RBF then Hidden field = 1500150

How I can perform this ?

Table structure is
(tblstudents) Contain students data
(tblFee) Contain, Student Id linked with student table, month, year, amount, date, narratives and FeeType that looup values from FeeType tbl, this hidden field also in tbl fee.

The codes that are 1500100,1500120,1500130

These are necessary for GL entries that's why I must have it on my form. I had as well apply method of Default value but in that case I only present only a single value, but I want that in hidden field values take changes according to the fee type.

View 3 Replies View Related

Tables :: Change Duplicate Values Error Message

Aug 14, 2013

How to control the below message to something like this through VBA:

"The Job: " & JobNumber & " already exists in the table." or to open an alternate form where they can make the change. Allowing duplicates is not appropriate for what I am trying to accomplish. I just want a friendly way of rerouting a user to understandable answer.

instead of this:

"The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again."

View 2 Replies View Related

General :: Access Chart - Possible To Change Values On Axis Value

Feb 25, 2013

Access charts know if it's possible to change the value axis values.

I create a chart getting values from a query I run, it plots the values but auto selects the value range and the increment.

The values on the value axis are : 0, 0.25, 0.5, 0.75, 1

Is there anyway I can get the values to increase by 0.1 rather than 0.25?

View 1 Replies View Related

General :: Summing Total Values By Each Change In Date

Apr 14, 2014

Running Access 2010. I have a large data set here is sample:

Type Capture Date Volume
1 1/5/2014 7
1 1/15/2014 5
1 1/8/2014 3
1 1/10/2014 4

Is there any way to sum the total values for each change in date while keeping chronological order? To get access to produce something like this:

Type Capture Date Volume
1 1/5/2014 7
1 1/8/2014 10
1 1/10/2014 14
1 1/15/2014 19

View 1 Replies View Related

Forms :: Change Display Of Field Values On Combo Box

Feb 17, 2015

I'm trying to sort and filter a continuous form. I want to sort by descending and ascending, but I also want to have a combo box for filtering. For example, there a combo box for sorting with Value List as the RowSourceType, the list would be "Ascending" and "Descending", and there should be another combo box to choose the field to be sorted with RowSourceType as Field List from a query.

My field names are: "LastName", "FirstName", "MiddleName". But I want them to appear as "Last Name:, "First Name", "Middle Name". I want to be able to change the display of the field names within my combo box which should come from my query. How is that possible? I already tried to put caption in the properties but it didn't work.

View 6 Replies View Related

Modules & VBA :: Allow User To Change Default Checkbox Values?

Jun 20, 2013

I've got a form (frmEdit) that allows users to search tblMain for records using a bunch of unbound controls and a dynamically created SQL statement. Search results are displayed in a subform (subMain), and the current record in the subform is displayed in a set of bound controls on frmEdit.

Now the important bit: There is a set of unbound checkboxes on my form that allow the user to change which fields are visible in subMain. This is accomplished by the following:

Code:
Private Sub chkName_AfterUpdate()
If Me.chkName = 0 Then
Me.subMain.Form.CorrespondingField.ColumnHidden = True
Else
Me.subMain.Form.CorrespondingField.ColumnHidden = False
End If
End Sub

Certain fields are visible by default, but the user may want to change which fields those are. Here's what I've done so far to accomplish this:

Created a button (btnChangeDefaults) that opens a form (frmChangeDefaults)

Put checkboxes for each table field on frmChangeDefaults

Put a "Cancel" button (btnCancel)* and "Done" button (btnDone)** on frmChangeDefaults.

*btnCancel just closes frmChangeDefaults without making any changes to frmChangeDefaults or frmEdit

**btnDone changes Forms.frmEdit.Form.chkName.DefaultValue to Me.CorrespondingCheckBox.Value and then closes frmChangeDefaults

This all seems to work quite well, actually. Debugging confirms that the default values of the checkboxes on frmEdit are indeed changed when I click btnDone. But when I close frmEdit and re-open it, the default values return to what they were prior. This happens even when:

I close frmEdit using DoCmd.Close acForm, "frmEdit", acSaveYes

I close frmEdit after using DoCmd.Save acForm, "FrmEdit"

I save frmEdit manually by right-clicking and pressing save

What am I missing here?

View 2 Replies View Related







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