Reports :: Cannot Find Where Field Is Having A Mask Applied To It

Sep 9, 2013

I have a field in a table called [PostalCode]. It is a Text field.

I have a report that used the [PostalCode] field. This is a report in a template that I downloaded from Microsoft.

If I enter "1234" in the field in the table, it looks fine in the table.

If I use the field in the report, it display as "1234-"

If I enter "1234567890" in the field in the table, it looks fine in the table.

If I use the field in the report, it display as "23456-7890"

I do not want any mask whatsoever and just want the value to be displayed as the user enters it.

I have looked at the properties of the field and there is nothing setup, I looked at the properties of the Form that edits the field and there is nothing also.

If I look in the actual report I see the following bit of code ,it is the control source for the Text box that is used to display a number of fields including [PostalCode]:

=DLookUp("[Suburb/City]","My Company Information") & ", " & DLookUp("[State]","My Company Information") & " " & Format(DLookUp("[PostalCode]","My Company Information"),"!&&&&&-&&&&")

View Replies


ADVERTISEMENT

Modules & VBA :: Text Field In A Form Updated Multiple Times When Filter Is Applied?

Sep 9, 2013

In my Access 2010 database there is a form with a large number of checkboxes enabling me to select/deselect certain record details.

Each click on one of the checkboxes triggers a VBA routine setting true/false values in one of several tables linked to the main table.

A query over all records is filtered by the true/false values of the linked tables and the resulting set of records is displayed in the (continuous) form.

The header of the form contains a text field with the value "=GetRecCount()" displaying (correctly, but randomly fast) the number of records selected:

Code:
Function GetRecCount() As String
Dim NumRecs As Long
Dim rs As Object
On Error Resume Next
Set rs = Forms![Super Search].RecordsetClone
rs.MoveLast
NumRecs = rs.RecordCount
Set rs = Nothing
GetRecCount = Format(NumRecs, "##,###")
End Function

Now, the funny thing is that each click on one of the boxes results in 1 call of the VBA routine setting table values, but 21 calls (!) of the text field "=GetRecCount()" in the form. I have established this by incrementing a public variable at each pass.

Why a field in a form is updated 21 times when a filter is applied?

View 4 Replies View Related

Find All Queries (or Reports) Using A Particular Field?

Jul 21, 2005

I've inherited a database with many queries (most based on a single table). There is a requirement to change the name of a few fields in the table. Is there a way to find ALL queries/reports that are utilizing the fields that need to be changed so I know what queries need to be modified?

View 3 Replies View Related

How To Add A Field To A Mask

Jul 13, 2015

How can I edit a mask adding a field I have added to a table?

View 4 Replies View Related

Compile Error After Security Applied

Jun 13, 2006

I have an unbound list box that updates the data displayed on the form when a selection is made from the list.

Private Sub List13_AfterUpdate()
' Find the record that matches the control.
Dim R As Recordset
Set R = Me.RecordsetClone
R.FindFirst "[HospitalID] = & '" & Me![List13] & _
"'"
Me.Bookmark = R.Bookmark
Me![List13].Requery
End Sub

I am having problems with this no longer working once I import the database objects into a secured database. I am encountering an error "Compile Error: Method or data member not found" with reference to the list box in the "findfirst" statement.
I have tried this many times before and after the security and the results are consistent.
I was otherwise ready to go with this new database. Any insight would be appreciated as always.
Thanks.

View 10 Replies View Related

Mask A Field In A Form

Dec 26, 2006

Access 2000
Table tbl_TEMP
Table tbl_TESTS
Query qry_TESTS
Form frm_TESTS

There are 10 records in tbl_TEMP. Form frm_TESTS shows each record. My user makes changes to the record and clicks an “Accept” button, which excuses a VB script that appends data from tbl_TEMP into tbl_TESTS. That all works perfect.

There is a general text field in tbl_TEMP that will become a Social Security masked field once transferred to tbl_TESTS. Right now if someone attempts to accept the test and the [ssn] field is not truly in the proper mask of xxx-xx-xxxx then it will look as if it is appending the test, but it truly does not copy the record.

Can I add a warning somewhere that makes them change any text in that field to the proper mask?

So ex: if they see “123456” in the [ssn] field in the form they must change it to “123-45-6000” or any other system they choose to fill it in, but make it where they much change it before they can “Accept” the test?

Thanks.

View 10 Replies View Related

Forms :: Theme Font Not Being Applied To Control

May 20, 2015

I have sever forms and selecting a Theme Font work fine with all except one form.

The field is a Memo Field (I have other forms with different memo fields and they are fine) that just doesn't want to use the Theme Font(s). I have several Theme Fonts and it doesn't work with any of them.

So far I've deleted the control saved it and then put it back... no good. I even created a new form and the same thing happens.

View 5 Replies View Related

Change The Input Mask On A Field

Oct 10, 2006

say I have a drop down list to declare a data type, is it possible to update the input mask for another field based on this data type?

Example:

Input Type A : 000/000/0000
Input Type B : 0/00/000/0000

Seems simple enough with some VB If Then code, I just have no idea how it would be done, and my searches have been ineffective.

Thanks for any help.

View 1 Replies View Related

How To Update A Field Data To A Certain Mask?

Feb 2, 2005

Hi everyone,

I've been thinking of this for days.
I have a table field that contains SSN data. Unfortunately, during the data import from the legacy database, all the front "0"s had been truncated. The current DB SSN field is a text data type which can handle the "0"s at the front. The table has about 50000 records which unable to modify each individually.
I need to modify the SSN data back to fixed length by adding "0"s at front. I think it will put too much effort to write a VB app to do this. I prefer to do this through the SQL. Dose anyone know how to do this? Thanks in advance.

View 3 Replies View Related

Add Input Mask To Video Field

Oct 14, 2015

I am trying to add an input mask to my video Field, so that it is always enter correctly. V-1-2015, what I have so >"V-"099-0000, but it is showing spaces if nothing is inputted for the 99 fields, if I add in !>"V-"099-0000 it then removes those spaces since those are optional characters, but then the V is no longer capitalized. How can I correctly have an input mask that keeps the V always capitalized and have mandatory fields and optional fields without spaces. I want it to come out as V-1-2015, or V-11-2015 or V-111-2015.

View 11 Replies View Related

Forms :: Swap Values In Comboboxes With Requery Applied?

Jan 13, 2014

I have two comboboxes on my form. When the value of the first combobox (SourceWH) changes it performs a requery on the second (DestWH) as the drop-down list needs to be filtered depending on the first value. I have this working fine but my problem arises when I need to be able to swap the values of each combobox. I have created a command button which stores the value of each combobox and then swaps them but my problem is that if I click the button the second combobox becomes blank. I guess this is something to do with the requery taking place after the value of the first combobox is updated but am unsure how to rectify this problem.

The first combobox has the following expression in the expression builder:
Action Argument
Requery DestWH

The command button has the following code:

Private Sub Swap_Btn_Click()
Dim SourceValue, DestValue As String
SourceValue = Me.SourceWH.Value
DestValue = Me.DestWH.Value
Me.DestWH.Value = SourceValue
Me.SourceWH.Value = DestValue
End Sub

View 3 Replies View Related

Creating An Input Mask For A Currency Field.

Jul 28, 2005

I would like to know is there a way to create a mask on a form for a currency field? I don't want a user to be able to enter in like 125.145. I just want to make it so that people can only type in 125.14. Or how can I write VB code to give a warning when a user enter in more than two decimal places.

Many thanks.
Dave

View 1 Replies View Related

Creating An Input Mask For A Currency Field.

Jul 28, 2005

I would like to know is there a way to create a mask on a form for a currency field? I don't want a user to be able to enter in like 125.145. I just want to make it so that people can only type in 125.14. Or how can I write VB code to give a warning when a user enter in more than two decimal places.

Many thanks.
Dave

View 2 Replies View Related

Date Time Field Prompt Mask

Feb 6, 2008

I have a field that is a Date Time field (mm/dd/yyyy hh:mm:ss) and I would like to prompt the user for a begining date range and ending date range. I know how to prompt the user, but I would like for them to only key in the Date portion and not the time. Can anyone offer any suggestions on how to handle this? Thanks

View 1 Replies View Related

Double Input Mask For Data Field

Jun 30, 2014

Is it possible to set a double input mask for a field? I would to set it so users can eneter two different values for data field: 00/00/0000 or just the year 0000, is it possible? How do I do that?

View 1 Replies View Related

Force Auto Number To Change According To Filter Applied On Table

Jul 6, 2012

I have a table and it is like this 1 a 2 b 3 f let's assume i want to add new data {C} so it will be like this : 1 a 2 b 3 f 4 c

Is their any way i make the table look like this 1 a 2 b 3 c 4 f can i force the auto number to change according to the filter applied on the table is their a numeric field can be used instead on auto number that can be changed according to the filters

View 4 Replies View Related

Tables :: Input Mask For A General Date Field?

Feb 8, 2013

I need an input mask for a general date field. When I add the date "11/01/2012 10:00:00" it works fine.

When I add an input mask of 00/00/0000 00:00 it then doesn't work.

View 2 Replies View Related

Tables :: Access Input Mask For Text Field

Nov 8, 2014

I'm trying to set an input mask for a text field.

The data will be 1 to 4 digits preceded by 1/

I have tried the masks 1/####;; , "1"/####;; 1/####;; , "1"/#### , '1'/#### but none work as if the first nubber entered is a 1 it replaces the 1 in 1/

If it is a 2 then it works fine.

I can set the 1 to and f (f/) and it works no problem.

View 2 Replies View Related

Input Mask For First / Last Name Field Where First Letter Capitalizes Automatically

Apr 3, 2012

I'm very new to access and i'm trying to write an input mask for a first/last name field where the first letter capitalizes automatically. Is the input mask the correct avenue and if so how do i write it? I can make the first letter caps through the > and continue but i'd like for the rest to continue on indefinitely as to not restrict the length of the field.

View 2 Replies View Related

Problem Entering External Data From Excel Into Access Field Using Input Mask

Mar 5, 2008

Hi,

I'm new to this. I'm trying to enter data (it's actually Latitude and Longitude co-ordinates) from an existing Excel source into an Access database which has input masks of 00°00'00.00"L;0;0 (Latitude) and 000°00'00.00"L;0;0 (Longitude) in the respective fields. However I cannot get the information to import or display correctly. I did an "export data" of the respective table (hence fields) to Excel to try and get the correct entry format. An example of the Lat exported was 24°49'41.81"N and Long was 067°01'44.02"E (but with a very small ' in front but only visible in the data entry line in Excel, not in the actual spreadsheet table???)

However when I try to enter the data (even using the exact same little degree symbol, apostrophe, and quotation marks) it does not enter the access fields correctly. On closer scrutiny of the exported Excel format I note a small ' at the very beginning of the 24°49'41.81"N or 067°01'44.02"E string. But as I said previously only visible in the data entry line next to the formula button. Not on the spreadsheet cell.

However even when I "Paste Special" "values only" my new co-ordinates into the same entry location as one exported, it will still not import, or display correctly. If I go into the Access database directly there is a form where if I need to enter the new co-ordinates (using lat example above) I only have to enter 24 49 41 81 N (spaces between) and it will show correctly as 24°49'41.81"N

I'm getting desparate as I don't want to have to change all the details manually. Anyone know what my correct format from an Excel spreadsheet should be?

Apologies for lengthy story! Difficult to describe problem with degree symbols etc

View 2 Replies View Related

Reports :: Find PaperSize Value Of Printer For A Specific Form

Apr 17, 2013

I have a custom form setup for 1up 1.5inch labels on the print server. We are printing these on Okidata Printers using an Epson driver.

I want to know how you can find the specific printersize number value for a form called "1_5upLabels" which is a custom form.

I am not looking to do this manually in the page setup for the report but to programmatically so that it's dynamic.

Is there a way I can loop through the forms for this printer and check for the form name?

View 1 Replies View Related

Cannot Find Field Name, Pls Pls Help

Jun 14, 2006

I am desinging a report, I cannot see some fileds in Sorting and grouping. The query that I am runing has those fieds, How can I get to see all the fileds in sorting and grouping?

Thanks

View 1 Replies View Related

Trying To Find A Field

Apr 26, 2005

When opening a form i get asked for a parameter value for a field that has been deleted. it obvioulsy still exists somewhere but I cannot find it. i have analysed performance, all tables, forms and queries but it doesn't come up with this filed anywhere. the field name has even been spelt wrong so i thought it would be easy to track! Help - what else can i do to find where this parameter is being called from??

View 4 Replies View Related

Queries :: Find Field Name Not Field Value?

Mar 11, 2014

I'm trying to convince Access to find a value and then convert said value into the name of the field it came from.

Below is my current code:

Code:
LowestMark:
Minimum([AvgOfOpening1],[AvgOfConfidentiality1],[AvgOfEmail1],[AvgOfTenureStatement1],[AvgOfOwnership1],[AvgOfClearExplanation],[AvgOfProbing1],[AvgOfUseofTools1],[AvgOfResolveBeforeS2S1],[AvgOfBridgeSolutions],[AvgOfSummarizeWrapUp1],[AvgOfOfferFurtherAssistance1],[AvgOfOneFaceOneVoice1],[AvgOfAppreciateBrandCox1],[AvgOfInteractwithCustomer1])

(Minimum is from a module that finds the lowest value in the list.)

I need my query to tell me which field gives that value.

Example:

Agent Name AvgOfEmail1
instead of:
Agent Name 41.7%

how to make this work?

View 6 Replies View Related

Reports :: Open Multiple Reports With A Common Field

Mar 30, 2014

I have four forms named [Information Form], [Evidence Form], [Subject Form], and [Vehicle Form]. The Final Form is a Tabbed Form named [New Incident]. The tabbed form has four tabs, with each tab displaying one of the forms above. I also have a Print Command Button named [Print All] underneath the tabbed portion of the [New Incident] form.

Also, All of the four forms are set to data entry - yes, so that on open they will be clean and read for new record entry. I need the [Print All] button to do, just that, print everything that has or has not just been entered into the four forms, even if some are printed blank because they were not necessary for this particular report. One thin of note is that each form on the tab has a field for the "Incident Number" which will be the same for all four forms.

View 12 Replies View Related

How Do You Find The Most Common Value In A Field

Mar 27, 2008

I am OK with a number field as I can put it in Excel and use =Mode().

But that wont do text such as lastname, suburb etc. I can do suburb by doing postcode but no such equivalent from some others I want to do

View 4 Replies View Related







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