If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
RECORD based on other Records
Is it possible to enter a record value with is a function of other record. I
want to be able automatically enter a concatinated string into a record, base on the value of two or more record value. I have a [project number] which I want to contain the first two digits of [client id]&"-"&[directory]&"-"&(Autonumber). Is this posible? Should I do this in the table of form. I could also probably leave it blank, and any program that requires it could create it! Any help appreciated. |
#2
|
|||
|
|||
Greg
No need to store redundant data (and some very good reasons not to!). Instead, create a query that concatenates these together. Use the query when you need the concatenated value. Good luck Jeff Boyce Access MVP "Greg McLandsborough" wrote in message ... Is it possible to enter a record value with is a function of other record. I want to be able automatically enter a concatinated string into a record, base on the value of two or more record value. I have a [project number] which I want to contain the first two digits of [client id]&"-"&[directory]&"-"&(Autonumber). Is this posible? Should I do this in the table of form. I could also probably leave it blank, and any program that requires it could create it! Any help appreciated. |
#3
|
|||
|
|||
Would it be rude to ask how to concatenate the values in a query, or at
least what I should look for under help? "Jeff Boyce" -DISCARD_HYPHEN_TO_END wrote in message ... Greg No need to store redundant data (and some very good reasons not to!). Instead, create a query that concatenates these together. Use the query when you need the concatenated value. Good luck Jeff Boyce Access MVP "Greg McLandsborough" wrote in message ... Is it possible to enter a record value with is a function of other record. I want to be able automatically enter a concatinated string into a record, base on the value of two or more record value. I have a [project number] which I want to contain the first two digits of [client id]&"-"&[directory]&"-"&(Autonumber). Is this posible? Should I do this in the table of form. I could also probably leave it blank, and any program that requires it could create it! Any help appreciated. |
#4
|
|||
|
|||
Greg
Create a new (empty) query. Add in the table with the (let's say) 2 columns you want to concatenate. Select the two columns for display/output. Create a third field/output for the query, something like: ThirdField: [YourFirstField] & [YourSecondField] (where you substitute your first and second field names as indicated). Run the query. Now, back in design mode, delete the first and second fields, leave only the one you created by concatenating. Run the query! Good luck Jeff Boyce Access MVP "Greg McLandsborough" wrote in message ... Would it be rude to ask how to concatenate the values in a query, or at least what I should look for under help? "Jeff Boyce" -DISCARD_HYPHEN_TO_END wrote in message ... Greg No need to store redundant data (and some very good reasons not to!). Instead, create a query that concatenates these together. Use the query when you need the concatenated value. Good luck Jeff Boyce Access MVP "Greg McLandsborough" wrote in message ... Is it possible to enter a record value with is a function of other record. I want to be able automatically enter a concatinated string into a record, base on the value of two or more record value. I have a [project number] which I want to contain the first two digits of [client id]&"-"&[directory]&"-"&(Autonumber). Is this posible? Should I do this in the table of form. I could also probably leave it blank, and any program that requires it could create it! Any help appreciated. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
eliminate dup records based on partial field contents | R2D2Groupie | Running & Setting Up Queries | 1 | May 29th, 2005 01:44 PM |
Access Mail Merge to Word.doc files ? | RNUSZ@OKDPS | Setting Up & Running Reports | 1 | May 18th, 2005 06:31 PM |
help needed | jkendrick75 | Running & Setting Up Queries | 19 | March 17th, 2005 02:37 PM |
One record out of many records will not come up on a form? It is . | Raymond 03077 | Using Forms | 0 | March 10th, 2005 05:53 PM |
New records can't be seen | rleblanc | Using Forms | 6 | August 14th, 2004 02:43 PM |