Searching For The Asterisk Character

Oct 24, 2005

Someone used the asterisk (actually, 2 of them **) character in a field to 'mark' it for querying. Since it is a wildcard, how do I query the field to show only the records with "**" in it? What is the best way to remove them using an update query???

Thanks in advance for ANY help.

View Replies


ADVERTISEMENT

How To Substitute Asterisk In Access?

Apr 19, 2007

I have asterisks "*" in a table in Access
The table is huge and Excel can't deal with it.
I tried ~* but it doesn't work in Access.

So what would you do?

View 3 Replies View Related

Search For And Remove An Asterisk?

Nov 3, 2006

Is there a way in a query to search for an asterisk (*) in a field and if one is found, to then remove it?

I'm aware the asterisk is a wildcard symbol in Access, which is why I'm asking what I'm asking. This dang file I received has data in a field and the last character can be an asterisk at times.

Thanks so much in advance!! Looking forward toyour replies!!!!

View 5 Replies View Related

Forms :: Allow Asterisk Or Numbers Only In Field

Jan 16, 2014

I've got a form where the user can only enter the character asterisk or numbers. No letters or other special characters allowed.

The asterisk is a problem since its a wildcard. How do I allow the user to use it or numbers only? I've tried Validation Rules, I've tried vba but I don't seem to manage to get this to work properly.

View 1 Replies View Related

Forms :: Conditionally Using Asterisk In A Query Formed From Strings?

Jul 10, 2015

I have a button on a Form which opens a report, passing in two WHERE clauses which are driven by two comboboxes on the Form (one for ProductType and one for ProductCollection).

Everything works great but I needed to add an "All" option to the comboboxes so that the user can get all Producttypes from a specific Collection or vice versa.

I've managed to add the "All" option to one of the comboboxes (using the UNION query method on the rowsource). I'm a bit stumped though, as to how I would actually tweak the function below to do a select * where the combobox value is found to be = All.

Code:
Private Sub ProduceReport_Click()
Dim strWhere As String
strWhere = "producttype = " & Me.ProductTypeForReport
strWhere = strWhere & " AND ProductCollectionName = '" & Me.CollectionForReport
strWhere = strWhere & "'"
Debug.Print strWhere
DoCmd.OpenReport "Products Report", acViewReport, , strWhere
End Sub

View 7 Replies View Related

Forms :: Filtered Search Form Using Asterisk As Wildcard Default Value In Combo Boxes

Aug 23, 2013

I'm trying to make a filtered search form using "*" as a wildcard default value in combo boxes, this works for all the text fields except for the account number field (Numeric primary key). After quite a bit of reading up and searching, I tried using the following as the row source;

SELECT customers.ACCOUNT_NO, customers.CUSTOMER FROM customers; UNION SELECT "*", "All" From Customers;

But am still getting "#Error" in the combo box.

View 2 Replies View Related

Cap The First Character

Nov 28, 2007

I have a field that is all Lower Case. I need the first Character to be UPPER CASE...

Does anyone out there know how I can write a query to do this?

PLease help....

THanks in advance

View 2 Replies View Related

Need To Remove A Character

Jan 11, 2006

Hello, Tried a search but could'nt come up with an answer.

I have a number field with an amount.
The format will always change as far as the LEN is concerned.
I need to remove the decimal.
There will always be 2 numbers to the right of the decimal but the left will always change.

Example:

21543.11 Need 2154311
11.20 Need 1120


Thanks in advance! :)

View 3 Replies View Related

Removing The First Character Using VBA

Sep 20, 2006

I posted an earlier question about an Access query export to Excel putting leading apostophe (') before all data.
To remove them I thought I would use Find/Replace but the Apostophe is not recognised!

Is there a way (programmatically) to remove the first character of each data entry in each cell in a column?

thanks in advance

nel

View 4 Replies View Related

255 Character Limit

Feb 11, 2005

My undertsanding is that text fields are limited to 255 characters. A friend has a databse with some "notes" type fields with data a few sentences long. Is there any way around this limit. If not, what database recommendations can anyone make for someone who needs a questionnaire component in his database?

View 1 Replies View Related

Ampersand Character

Jan 4, 2005

how do i display the ampersand character in labels?
is there any escape character i should know?

View 1 Replies View Related

Character Insertion Help!

Feb 14, 2007

Hi! I'm stuck and need some help. I have a list of about 1600 entries, all merchant names and i need to place an * at the beginning and end of each entry, example *Arizona Central*. Each entry has a different amount of characters...would any one know if there is a way of how I can do this easily in Access or Excel?

View 2 Replies View Related

Character Display

Feb 7, 2008

I have a numeric field from a SQL database that is not editable. I need to limit the number of characters displayed when I bring that field into Access forms and reports. I want it to only display the last 4 digits.

Field Name: clicode

Thanks.

View 1 Replies View Related

Problem With Greek Character

May 10, 2005

On server in my office (win server 2000) i try to link text file to database, and i just change in link text wizard language to all (default is english), and in code page (character set) i find greek. On the end of linking proces i have table with field with greek words...
What is problem?
I try the same on my online server (win server 2000), and when i try in link text wizard to change language to all, a have message:

The setings for this property is too long

and i cant chose greek code page. So when import text just like that, i have some simbols in table...

How to solve problem... Why one win 2000 work OK, and another not???

thank you

View 1 Replies View Related

Character Recognition And Hyperlinking

Aug 7, 2007

I was wondering if its possible to.... In my business, we test electronic components. When one fails, it gets documented as a test error, and the document is named TE-XXXX YYY where XXXX is a four digit number and YYY is a code of some sort. is it possible that in a table, When TE-XXXX YYY is entered, it only recognizes "TE-XXXX" which hyperlinks to microsoft word document in a folder that gives more information about the test error. Thanks in advance!

View 3 Replies View Related

Delete All Text Before Character

Jun 12, 2005

I've search the forums...If you can find a thread that discusses this, or can give me some advice on this topic, let me know.

Is there any built-in function that will allow me to delete any text before a certain point in a record... Or perhaps a way to use the REPLACE function to do so?

All of my records look like this (They're ticker symbols):
AMZN:Amazon, Inc
WMT:Wal-Mart Inc.
A:Agilen Tech Inc
MSFT:Microsoft Inc.

I just want the company name...Unfortunately, the ticker symbols aren't always the same length, so I can't use the left or right function.

I need to delete the colon and anything to the left of the colon. I've thought of a great use of the replace function for this purpose...I used wildcards...Too bad it didn't work!

Just The Company Name: Replace([Ticker Symbol and Name],"*" & ":","")

Any ideas?

View 4 Replies View Related

Space Character In A Field

Oct 12, 2005

Hi!
I have a field that has to be 20 Characters long. Most of the time data for this field is less than 20 characters, so the remaining has to be filled with spaces to make it 20. e.g. if there is a record xyz1234567, then the rest of the record should have 10 spaces like xyz1234567ssssssssss, meaning if i click on this record then the cursor should not blink after 7 but after the spaces. Hope I am making sense.
Thanks for any input.

View 1 Replies View Related

Escaping The # Character In Query

Dec 21, 2005

Hello.
I'm using a filter that contain # as one of the characters that the field might contain.
I get some very inetersting results.

using
"select fld1
from tbl1
where fld1 not like 'D#%'
"

Lets' say that the values for fld1(text type) are :
Dodo
D# cc
The query above will return the 2 records, it is "egnoring" the filter.


How can I solve this problem?

Thanks a lot
Roy

View 1 Replies View Related

Greater Than One Character In Query

Mar 13, 2007

In my forename field I have entries with just the initial. I would like my query to filter out anything less than 2 characters. Does anyone know the criteria format?

View 3 Replies View Related

How To Hide A Character In A Field?

Jun 20, 2007

I have a field which looks like this - "d123456", I will have to display the field without the "d" in front, meaning I will need to show "123456" Any idea how I can do this? Thanks!

View 4 Replies View Related

255 Character Limit In Listbox

Mar 28, 2006

I have been beating myself up over this for the past few days and have not found a feasible workaround yet, including searching this forum repeatedly.

I have a listbox which is tied to the below query:

SELECT tbl_csraws.priority, tbl_csraws.rawname, tbl_csraws.description, tbl_csraws.sqlcode, IIf(tbl_csraws.enabled=-1,'Enabled','Disabled') AS enabled, tbl_csraws.creator, tbl_csraws.createdate FROM tbl_csraws ORDER BY IIf(tbl_csraws.enabled=-1,'Enabled','Disabled') DESC , tbl_csraws.priority

The listbox only shows the second column to the user, and upon selecting one of the options, fills in text boxes on my form for the remaining information. The description field is a memo field on the table, but when a user selects an option from the list box where the description is greater than 255 characters in length, it cuts the remaining amount off, so if they save the changes without replacing the removed characters, it will cause problems with my database. Has anyone found a workaround for this problem?

Thanks!

Vassago

View 2 Replies View Related

255 Character Problem - Very Weird

Jul 26, 2006

Hi everyone,

I'm new to these forums and require some help on a very strange problem. I'm also not very clued up on Access, so you can be as basic as you like.

I was asked by my employers to develop a dynamic site for a client, which uses asp and an access database to hold various content. The problem is occuring when content from a MEMO field is pulled out on the front of the site. On our UAT site, this content is snipped off after 255 characters, whereas on our development server the entire content is outputted (as it should).

The files on both environments are identical.

Can anyone offer any thoughts on this? Could it be a server setting that needs changing, or something I need to know about access?

All responses welcome,

Thanks

View 1 Replies View Related

Wildcard Character In VB Script?

Aug 26, 2004

I am setting up my own switchboard, and i have a quick jump menu that has every page on it. The pages are arranged as so:

1
1.1
1.2
1.3
2
2.1
2.2
3

When i'm setting up my code to push a person to a certain page, I want it to first check their access level (which is stored in a table in my database)

Is there a wildcard character in vb that will cover all the submenu's?
(I.E. Code:If MainMenu = "1*" And Userlevel = "PublicAccess" Then MsgBox "You do not have access to this area"End If)

Instead of having to put an if statement for every submenu under 1?

View 2 Replies View Related

Problems With The & Character In A Label

Sep 13, 2004

I am trying to put the text "Assessment & plan " into a label.

It looks like it is going in but when displayed the text is converted
to "Assessment _ plan". It seems like the & character is being
used as a concatination character or some other special character.

In other situations or languages I would try a exsape character
but I haven't found out what that would be in Access.

Any ides.

Thank you.

View 1 Replies View Related

Capitalizing The First Character In A Text Box.

Nov 11, 2004

I have a form to capture client information. I would like to have the the first character of the name fields (First and Last) be automatically capitalized. How can I set the field to do this?

View 3 Replies View Related

Text Box Character Size

Feb 2, 2005

Hi all,

What can i put on a text box to limit the amount of characters entered like the 'field size' property for a table. I want to limit entry to 40 characters. Thanks in advance for any help,

M-.

View 5 Replies View Related







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