A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

RECORD based on other Records



 
 
Thread Tools Display Modes
  #1  
Old July 8th, 2005, 02:20 PM
Greg McLandsborough
external usenet poster
 
Posts: n/a
Default 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.


Ads
  #2  
Old July 8th, 2005, 02:46 PM
Jeff Boyce
external usenet poster
 
Posts: n/a
Default

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  
Old July 8th, 2005, 10:44 PM
Greg McLandsborough
external usenet poster
 
Posts: n/a
Default

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  
Old July 8th, 2005, 11:42 PM
Jeff Boyce
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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 ? [email protected] Setting Up & Running Reports 1 May 18th, 2005 06:31 PM
help needed jkendrick75 Running & Setting Up Queries 19 March 17th, 2005 03: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 06:53 PM
New records can't be seen rleblanc Using Forms 6 August 14th, 2004 02:43 PM


All times are GMT +1. The time now is 04:43 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Copyright 2004-2022 OfficeFrustration.
The comments are property of their posters.