D
daksport00
I am creating a database program for my company.
I am on a part right now where I am dealing with Drawing Numbers,
namely creating, updating, maintaining.
The particular drawing series that I am working with is Fabrication
Drawings. These are logged by the job that they pertain to.
A sample drawing number is FB12-02, where FB12 is the next number in an
incremental list, and -02 refers to the drawing type.
I already have a table that is setup with all the existing numbers in
it. My problem is on the subject of creating a new drawing.
I would like to have a combo box where the user can select the F?-##
number from the drop down, and be able to add another -## to it.
So, what I need is to create a query, or do this through code, where I
can eliminate the -## form all the drawings in the table, and be able
to eliminate duplicate values, so that the list doesnt have the same
number (say FB12) 12 times (if there happenes to be 12 drawings for
that job).
Yea, I am bad at explaining things, but I hope this is enough to get
across what I am looking to do.
I envision that there will be use of the command LEFT([Drawing
Number],4), Im just not sure about the duplicate values.
I am on a part right now where I am dealing with Drawing Numbers,
namely creating, updating, maintaining.
The particular drawing series that I am working with is Fabrication
Drawings. These are logged by the job that they pertain to.
A sample drawing number is FB12-02, where FB12 is the next number in an
incremental list, and -02 refers to the drawing type.
I already have a table that is setup with all the existing numbers in
it. My problem is on the subject of creating a new drawing.
I would like to have a combo box where the user can select the F?-##
number from the drop down, and be able to add another -## to it.
So, what I need is to create a query, or do this through code, where I
can eliminate the -## form all the drawings in the table, and be able
to eliminate duplicate values, so that the list doesnt have the same
number (say FB12) 12 times (if there happenes to be 12 drawings for
that job).
Yea, I am bad at explaining things, but I hope this is enough to get
across what I am looking to do.
I envision that there will be use of the command LEFT([Drawing
Number],4), Im just not sure about the duplicate values.