Re: Autonumber using alphanumerics
- From: "Jeff Boyce" <JeffBoyce_IF@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 19 Aug 2005 05:02:46 -0700
I'm not sure I understand, but I suspect you are working directly in the
table, rather than via queries and forms. Access (JET) tables store data,
forms (and reports) display data.
A search through this newsgroup (tablesdbdesign) will reveal a strong
consensus against using lookup data type fields in your table definitions.
The more commonly recommended approach is to create independent tables
holding your lookup values, and to use queries to return those values to
combo boxes in forms.
Good luck
Jeff Boyce
<Access MVP>
"Katharine Jansen" <KatharineJansen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:8DC01083-A840-44E0-AF73-EDE0D7509264@xxxxxxxxxxxxxxxx
> Hi there,
> I received some good advice relating to having an alphanumeric reference
> number, which I have been able to create and it works well in a query.
Thanks
> to those who took the time to give me the advice. However, the data that I
am
> able to obtain from the query is not displayed in the underlying table or
> form.
>
> The Table has 3 fields relative to the query; "ClientID Number", a 3 digit
> autonumber, "ClientID Name", a 3 digit manually created alpha figure, and
> "ClientRef", which displays a combination of both these data to display
the
> alphanumeric figure that I need. The query draws on the information from
the
> "Corporate Client Details" Table, where all related fields are found.
>
> In the underlying table I tried to use the lookup wizard to recall the
data
> from the query for display in the table/form, but when doing so got the
> message "no valid fields can be found in 'Corporate Client Details Query'.
> You may have selected a query that uses the table your adding the lookup
> column to. Please select a new source".
>
> I guess the error message is self-explanatory, but I'm wondering how I can
> get around this problem. Off the top of my head it seemed appropriate to
then
> create another table which holds the alpha and the numeric fields, along
with
> the client name, then only keep the ClientRef, which is a combination of
the
> two fields in the "Corporate Client Details" Table. Upon doing so, I was
> still unable to recall the data from the query using the lookup wizard. Is
> there a way around this?
>
> The other problem that I have is that I want the alpha figures in the
> ClientRef to appear in uppercase. I have enabled this to happen in the
table,
> but it does not in the query when I combine the two fields together. Does
> this matter that it doesn't appear in the query, or is it that once I
manage
> to combine the "ClientID Number" and "ClientID Name" in a single field I
can
> then set it to view in uppercase?
>
> Thanks in advance
> Katharine
.
- Follow-Ups:
- Re: Autonumber using alphanumerics
- From: Katharine Jansen
- Re: Autonumber using alphanumerics
- References:
- Autonumber using alphanumerics
- From: Katharine Jansen
- Autonumber using alphanumerics
- Prev by Date: Re: Autonumber using alpanumerics
- Next by Date: Re: Reduce duplicate entries in my database
- Previous by thread: Autonumber using alphanumerics
- Next by thread: Re: Autonumber using alphanumerics
- Index(es):
Relevant Pages
|