PC Review


Reply
Thread Tools Rate Thread

Combine number in a Table field

 
 
Frank
Guest
Posts: n/a
 
      24th May 2010
Is the following possible

I have Table 1 with Field IDTable1 [autonumber] [and other fields] and Table
2 with Field IDTable2 [autonumber] and Field GRV set to text [and other
Fields]
Is the following posibble:
Can I automatically generate a number that can be used in GRV field of Table
2 consisting out of a combination of IDTable1 and IDTable2 written as
IDTable1/IDTable2 in the GRV field of Table 2, Example IDtbale1 [primarykey
autonumber] combined with IDTableT [primary key autonumber] automatically
written in the GRV field of Table 2 as example 12/100

I want this GRV number as a unique number identifying the data in Table 1
and Table 2

Thanks for your time
 
Reply With Quote
 
 
 
 
NG
Guest
Posts: n/a
 
      25th May 2010
Hi Frank,

sure, this is possible, but I can't see why you would want to do this. As I
understand it you want to denormalize your tables, which is seldom a good
idea.
Your tables already have a unique primary key field, and calculations can
always be made in a query.
--
Kind regards
Noƫlla


"Frank" wrote:

> Is the following possible
>
> I have Table 1 with Field IDTable1 [autonumber] [and other fields] and Table
> 2 with Field IDTable2 [autonumber] and Field GRV set to text [and other
> Fields]
> Is the following posibble:
> Can I automatically generate a number that can be used in GRV field of Table
> 2 consisting out of a combination of IDTable1 and IDTable2 written as
> IDTable1/IDTable2 in the GRV field of Table 2, Example IDtbale1 [primarykey
> autonumber] combined with IDTableT [primary key autonumber] automatically
> written in the GRV field of Table 2 as example 12/100
>
> I want this GRV number as a unique number identifying the data in Table 1
> and Table 2
>
> Thanks for your time

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I combine a One to Many table into a Memo Field Eric Microsoft Access VBA Modules 2 7th Feb 2008 10:14 PM
Combine a text and number field to create a date =?Utf-8?B?R3J1bmVu?= Microsoft Access Getting Started 2 6th Feb 2007 08:24 PM
Do I have to have equal number of records in each table to combine them? david.isaacks@mail.va.gov Microsoft Access Queries 14 20th Apr 2006 10:27 PM
I need to combine to fields in a table to populate a third field =?Utf-8?B?Y2JoZWFsdGg=?= Microsoft Access Database Table Design 3 7th Mar 2006 11:00 PM
How do I combine text and number in table? =?Utf-8?B?QXZpZCBNYXJpbmU=?= Microsoft Access 1 23rd Dec 2005 05:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:29 PM.