Codes And Descriptions

Jul 25, 2005

Hi i have designed a database where the users use a combo box to find a particular code they want..for example dog_brown or dog_grey, on the report which i have produced this code for the type of dog shows up to. I have another table which has a column with the code and also the description...eg dog_brown...brown dog. My users have asked me if on the report which i have produced can the description be shown instead of the code. I dont know if this can be done...any help would be grateful. Thanx

View Replies


ADVERTISEMENT

Generate Data Based On Zip Codes Or Area Codes

Feb 28, 2008

Hello Don,

View 13 Replies View Related

1 Code To Many Descriptions

Apr 21, 2008

Hi -

I have 4 tables - one is a master list of codes and the master descriptions.
I have 3 other tables (with more coming) that have some of these same codes listed, with different descriptions than the master list.

How can I pull a list of unique master codes, and only one instance of each of the other descriptions?

View 7 Replies View Related

Error Numbers And Their Descriptions

May 3, 2006

is there a place that lists all the error numbers and their descriptions?

View 6 Replies View Related

Multi Language Iem Descriptions

Nov 7, 2005

I have a table of some 8000 items with a verbose (memo field) description in English. I need to add French and Spanish Item descriptions to some of the items ( but not all of them) and call up the correct description when processing orders and/or invoices. I want the system to automatically supply the english text if the French/Spanish does not exist.

I could go for the easy option of adding a language field to the table, and then simply replicating all 8000 items for french and Spanish and then replace the English text. This would work but probably affect performance.

What I really want is to add foreign descriptions to the table ( as a new item record) as and when they are required, and look for, say, a French Item Description, and if one is there. then use it, else find the fallback English descriptions. Trouble is, I have had no success trying to craft the tables/queries to do this.

I've played with group-by queries to deliver a language code, but run into difficulties with grouping memo fields. Any help or pointers would be much appreciated - I've searched the forum for "multi lingual" and "multi language" with no success, but my apologies if I'm asking an old question.

I'm posting this in tables and queries as I am not sure which forum !!

Thanks for your attention

View 1 Replies View Related

Multi Language Item Descriptions

Nov 7, 2005

I have a table of some 8000 items with a verbose (memo field) description in English. I need to add French and Spanish Item descriptions to some of the items ( but not all of them) and call up the correct description when processing orders and/or invoices. I want the system to automatically supply the english text if the French/Spanish does not exist.

I could go for the easy option of adding a language field to the table, and then simply replicating all 8000 items for french and Spanish and then replace the English text. This would work but probably affect performance.

What I really want is to add foreign descriptions to the table ( as a new item record) as and when they are required, and look for, say, a French Item Description, and if one is there. then use it, else find the fallback English descriptions. Trouble is, I have had no success trying to craft the tables/queries to do this.

I've played with group-by queries to deliver a language code, but run into difficulties with grouping memo fields. Any help or pointers would be much appreciated - I've searched the forum for "multi lingual" and "multi language" with no success, but my apologies if I'm asking an old question.

I'm posting this in tables and queries as I am not sure which forum !!

Thanks for your attention

View 1 Replies View Related

Queries :: Checking For Special Characters In Descriptions

Mar 12, 2015

I want my to detect special characters in my descriptions that are not found on keyboard and display as error.
Tried using the following

Description check: IIf([Common Description] Is Null Or [Common Description] Not Like "*[!a-z0-9@=.^_$%!#&'`(){|}*?~[]/-]*" And [Description Local] Is Null Or [Description Local] Not Like "*[!a-z0-9@=.^_$%!#&'`(){|}*?~[]/-]*","<<Error Desc>>","OK")

but when i tested it using some data, it shows all as <<Error Desc>>

some of the special characters i want to check for are βuΩ etc.

So if my description contains characters that are not: a-z OR 0-9 or any of the following ~!@#$%^&*()_+=-`][';/.,<>?:"{}|~

it will return <<Error Desc>>

View 4 Replies View Related

Seeking Help Creating Catalog Database (text Descriptions &gt;255 Char.)

Nov 9, 2005

I am looking to create a catalog database. It is to serve as a finished product warehouse, as well as a product development tool. There are a number of fields, most of which are straight-forward.

One large problem I have is that the product descriptions are roughly 700 characters. Is there a way to have this information entered into Access and stored either in this database or elsewhere?
Any help would be GREATLY appreciated.

View 5 Replies View Related

Zip Codes

Jun 5, 2006

I have a table that contains a Zip Code field. Some of the Zip Codes are missing the leading 0. Zip Codes are a 5 digit field and these codes only have four. how do I get Access to recognize the number of characters and then add the leading 0 to only the ones that have 4 numbers?

Thanks

View 1 Replies View Related

Zip Codes

Jan 18, 2007

Has anyone had any dealings with a way to calculate distance between 2 zipcodes? Of course all the zips wouls be in the current DB.... Then need to query those within a certian distance of another zipcode. I have a feeling this will need to be linked to an external source or app........ BUT... Anybody have any experience with anything similiar?

View 5 Replies View Related

Bar Codes

Apr 9, 2007

I would like to print a bar code on my invoices and then have my delivery drivers run the invoice under a bar code reader when they return from delivering. I know how to print the bar code I am nit sure how to go about interfacing a bar code reader in access 2000. Any thoughts?

View 3 Replies View Related

VBcolor Codes

Oct 21, 2005

I was wondering where I might get a list of code I can use to change text in my program. If there is no list what would I use to get dark green. Right now I am using the following:


[description of failure].ForeColor = vbGreen

Thank you

roborro

View 2 Replies View Related

The Question Of Too Many Codes?

Apr 25, 2007

I have been wanting to ask this question for long. Is it alright to put too many codes in the various events of the forms and controls? Will it affect the efficient functioning of Access? Will those codes result in any absurd behaviour? For example, I have DMax function in the BeforeInsert of form followed by three If....End If codes. I have not faced any problem so far. However, I just want to hear the opinion of the experts.

View 1 Replies View Related

Tables - Need Codes?

Jun 27, 2007

Hi, I have the following problem.

I have three tables, Main Table, Table A and Table B. All three tables have a field called "Cutoff Time". The Main Table will look up the info from Tables A and B. Table A has a field called "Service". In the main table, there is also a field called "Service", which is same as the field in Table A. The condition is this: The main table should use the "Service" field to match the "Service" field in Table A to get the "Cutoff Time" from Table A. If there is no such match, then the "Cutoff Time" will be taken from Table B using another field called "Station".
I was wondering, how can I perform such an operation? Do I need to write SQL statements?

Thanks in advance!

View 1 Replies View Related

I Need Help With My Expression Codes...

Feb 23, 2006

I would like the textbox named "text7" to show the word "keswick" when the text inside the "txtUsername" is KH and show the word "Lawrence" when the text inside the "txtUsername" is LH. What sort of codes should I write? should it be SQL or Expression Builder or Code Builder? Thank you=)

View 2 Replies View Related

Exporting Metadata (table Field Descriptions) With Table

Nov 22, 2005

Hello everyone,

I frequnetly need to export tables for others to use. I export them as .csv files usually and I'd like a way to include what I call metadata in the .csv file.

ideally, it would appear on the top of the file before the comma-delimited data actually starts.

I can't figure out how to include the table field descriptions in a file.

any help?

thanks,
giffordpinchot

View 10 Replies View Related

About MS Access And Color Codes

May 11, 2006

Sometimes the simplest of questions can be the hardest to find the answer to. I have spent the last 2 hours searching for the answer to this one. I'm sure it's on this site somewhere but the search is running way to slow for me to be of any use.

What exactly does the numeric color codes in VBA represent? I have downloaded a score of color pickers. utilities and none use these numbers in the way Access does. Ideally, I'd like to find a utility that will allow me to specify a particular color and then give me the corresponding code for that color.

TIA

View 2 Replies View Related

Access Error Codes

Jan 23, 2008

Does anyone out there have any ideas on how I can get a full list of the error codes and their descriptions for microsoft access?

I've set up a simple table with two fields, one for the error code and the other for the description. I've written a short bit of code (see below) to build the table for me, but it only generates 88 codes with the highest being 746.

Now I know that there are error codes up in the 3000 area because I'm trapping a few of them.

What I'm looking for is a list of the error code so I may write an extended list in my error trapping routines.


Code as follows:

Private Sub Form_Load()
Dim My_RecordSet As DAO.Recordset, My_DataBase As DAO.Database
Dim My_Error As Long
Dim My_Description As String

For My_Error = 0 To 4000

On Error Resume Next

Err.Raise My_Error
My_Description = Err.Description

If My_Description <> "" Then

If My_Description <> "Application-defined or object-defined error" Then

Set My_DataBase = CurrentDb
Set My_RecordSet = My_DataBase.OpenRecordset("ErrorCode_Table", dbOpenDynaset, dbAppendOnly)
With My_RecordSet
.AddNew
![ErrorCodes] = My_Error 'set error #
![ErrorString] = My_Description 'set error description
.Update
.Close
End With

End If

End If

Next My_Error

End Sub



Cheers muckers

D

View 3 Replies View Related

Input Mask For Zip Codes

May 23, 2005

I am working on a membership database that only has members from Canada and the United States. In the zipcode field, is it better to have two seaparate fields or is there an input mask that can handle both US and Canadian zip codes.

Thanks in advance.
24t42

View 2 Replies View Related

Commenting Out SQL Codes In Access

Jan 17, 2006

Hello,
I was wondering, is there a way to comment out some of your SQL codes in Access querries, like you do in Oracle or SQL Server or VB?
I need to know how to write comments in my SQL codes when usingh access

View 2 Replies View Related

Not Include Codes That Have A Letter On The Right

Jan 17, 2005

I have a list of codes:

K101
K101A
K101B
K101C
K101D
K101E
L101
L101A
L101B
L101C
L101D

I want a query that displays all codes that dont have a letter on the right.

View 3 Replies View Related

Reports :: Format Zip Codes

Feb 25, 2014

I have a report bound to a query that includes zip codes as a field. Zip codes are formatted in the table as 99999-9999 and display in this format when the query is run. However, when I place that field in the report text box as

=[ContactCity] & ", " & [StateAbbreviation] & " " & [ContactZip]

or even as [ContactZip]

The zip is not formatted.

View 1 Replies View Related

How To Set Codes Linked To Products

Mar 28, 2012

I am using Access 2010. I have 4 columns in my file. They are "Code", "Item", "Qty", and "Amount" . I have 5 products with my own codes. It means the codes are set by me. For example, 00001 for ruler, 00101 for book, 00201 for pencil, 00301 for rubber, 00401 for pen. My wish is to link the code and product together. It means that when I sell a pen, I must type the code for pen (in the "code column") and I must type pen in "Item Column", so I think it really takes long to do this because I will really make a mistake because the code and item are not linked at all. What I mean is that when I fill or know the code, I will get the product automatically in the "Item Column" or vice versa.

Now I have set the code 00401 for pen.

So when I need to fill the information. I wish to fill the code in the "Code Column" and then the word pen is automatically shown in the "Item Column". In this case, I will be able to get right code linked to its product.

View 1 Replies View Related

Unsuccessful Execution Of SQL Statement Within VBA Codes

Jan 1, 2006

I have a problem about running SQL statement in VBA code. I will appreciate a looot if you can help me solve the problem ASAP.

I tried to run the following statement in my VBA code to update a table in my database:

DoCmd.RunSQL "UPDATE TBL_GRANTBASEDATA, TBL_QUARTER SET TBL_GRANTBASEDATA.Retire_QTR = TBL_QUARTER!QUARTER WHERE ((([TBL_GRANTBASEDATA]![Retire_Date])<=[TBL_QUARTER]![End_Date] And ([TBL_GRANTBASEDATA]![Retire_Date])>=[TBL_QUARTER]![Start_Date]));"

It turns out that the table will not be updated if I run the above SQL statement with my other VBA codes. (ACCESS doesn't give any error messages even though the database was not updated.) But if I run the SQL statement by itself rather than within the other codes, the database will be updated successfully. (When I set a breakpoint at the above SQL statement and run it manually within the other codes, the database are updated successfully too.)

Apparently, the SQL statement and the other codes don't have any syntax errors. I wonder why ACCESS doesn't execute the SQL statement when the SQL statement is put within the other VBA codes. Is it because the table it tried to manipulate was locked by the other codes?

The following are all the VBA codes including the SQL statement I'm talking about. When I run the following codes together, the database is not modified by the SQL statement (the last sentence). But if I run the last sentence and the other codes separately, the database was modified successfully.


Dim rstDataLoad As New ADODB.Recordset
With rstDataLoad
Set .ActiveConnection = cnnSHELL
.CursorType = adOpenKeyset
.LockType = adLockOptimistic
.Source = "SELECT TBL_GRANTBASEDATA.* FROM TBL_GRANTBASEDATA;"
.Open
End With

'Calculate Retire_Date
rstDataLoad.MoveFirst
Do While Not rstDataLoad.EOF

Calculation omitted.

rstDataLoad.MoveNext
Loop
rstDataLoad.UpdateBatch
rstDataLoad.Close
Set rstDataLoad = Nothing

DoCmd.RunSQL "UPDATE TBL_GRANTBASEDATA, TBL_QUARTER SET TBL_GRANTBASEDATA.Retire_QTR = TBL_QUARTER!QUARTER WHERE ((([TBL_GRANTBASEDATA]![Retire_Date])<=[TBL_QUARTER]![End_Date] And ([TBL_GRANTBASEDATA]![Retire_Date])>=[TBL_QUARTER]![Start_Date]));"

View 4 Replies View Related

Deleting Several 3 Digit Codes In Two Columns

Aug 30, 2006

I have a query Im working on in the query are several fields. 2 fields (cat1 and cat 2) have nothing but 3 digit category codes (ex- 333, 334, 335 in the and some null values. Another field is the quantity of items I have which must be >0.

I have 7 codes I want to delete from cat1 and cat2 so my guess is I would place Not "333" And "334" And "335" in criteria for mcat 1. I also need to do the same for cat2. So I would apply the same criteria in the same row under cat2. So heres how my query would look in design view.

cat1 | cat2 | quantity
Not "333" And "334" And "335"| Not "333" And "334" And "335"| > "0"


Its not working, I can only seem to do one "Not" in all of the fields. So If I do Not "333" in cat1 I wont be able to do anything in cat 2 nor will I be able to add 334 to cat 1 or 2. I have tried Or it doesnt work I have tried using different colums and different rows.

There has to be a way to delete the same criteria from 2 different fields for multiple items per the same field.

Any thoughts? Much appreciated!

View 1 Replies View Related

Cities/Towns+Post Codes

Nov 21, 2005

I have a Contacts DB and at the moment I enter Cities/Towns and Post (zip) codes separately. I now want to set it up so I can select a city or town and have the appropriate post code fill it's own field without my intervention. Is this a case of cascading combo's or can I just bind a post code field to the city/town field? Can someone point me in the direction I need to go please?

View 1 Replies View Related







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