Ask a Question related to Microsoft Access, Design and Development.
-
Gary #1
Increment a number in a text field
I'm having problems getting a text field to automatically
increment, exp. when you add a record to a form, it
should automatically give a new id number, such as
Book-001, Book-002, etc. There is a knowledge base
article on this for Access 2000, but I'm using Access
2002 and cannot get that one to work, as it keeps giving
me an error, i.e., "not a defined data type". If anyone
has any ideas, I would really appreciate it. I've tried
searching the knowledge base for an hour, to no avail.
thanks
Gary Guest
-
Access update, CFLOOP, number increment
I have a table with four columns. field0 | field1 | field3 | field10 (primary key) L ABC 101 ... -
80020005 problem with Access field Types (text vs. number)
I'm baffled... I'm just trying to update data in an access db. All works well when I have text and memo fileds only. When I change one of the... -
Increment row number starting at 1
I have an asp page which displays database results in a table - (this is an invoice page). I have a variable called Row_Num which stores the row... -
finding a characters number in a text field
charPosToLoc uses a number to define which character in the text field you are querying. I want to know what number char of line is in a text... -
Auto Increment a number field
I have a memo field (History) and a number field (Count). What I require is that when the history field is updated then the count field will... -
Jim/Chris #2
Increment a number in a text field
I am not sure I understand. Only number fields can
increment, not test fields. If it is a number field is
the format in the table set to "autonumber"
Jim/Chris
>-----Original Message-----
>I'm having problems getting a text field to automatically
>increment, exp. when you add a record to a form, it
>should automatically give a new id number, such as
>
>Book-001, Book-002, etc. There is a knowledge base
>article on this for Access 2000, but I'm using Access
>2002 and cannot get that one to work, as it keeps giving
>me an error, i.e., "not a defined data type". If anyone
>has any ideas, I would really appreciate it. I've tried
>searching the knowledge base for an hour, to no avail.
>
>thanks
>
>
>.
>Jim/Chris Guest
-
Gary #3
Re: Increment a number in a text field
Ron;
Thanks for the help. I'll try it. This is similar to
what a Microsoft Knowledge base suggested for 2000, but a
bit here and there new.
I'm not sure why its poor design. On another database,
which uses this on Access 2000 (where it works fine), we
have >15,000 items listed. There, instead of "Book-001",
we use the year, i.e., "99-001"...."00-001"..... "03-
001".....where the 99, 00, etc. are text since we (and
our support group)couldn't figure out how to do it
differently and still have unique coding for each sample.
I'm trying to convert over all of these to 2002 and with
2003 coming, well....I'm not a programmer, but it seems
to work. The new one that I need is in 2002, thus
the "Book-001"....
Gary Guest



Reply With Quote

