Creating a Form

D

Damian

Can't figure out how to do something.
I have two tables:

TblCrew
cCrewID <PK Auto#)
cFName
cLName
cCrewTypeID <Number><linked to TblCrewType>

TblCrewType
ctCrewTypeID <PK Auto #)
ctType <text>

When I create a Form Using cFName, cLName and cCrewTypeID HOW can I make the
box for cCrewTypeID display whats in ctType?

cCrewTypeID is an auto Number and is assigned to each ctType BUT on a form I
dont want to see 1 or 5 I would like to see the type/text behind it like
Carpenter.

I tried look up combo box and I can see the ctType but when I select it
nothing happens since cCrewTypeID is set to accept only numbers and not text.

How can I go around that?
Thank You.
 
D

Damian

Its not working. Nothing shows up in the Combo Box.
My Raw Source is " SELECT TblCrewType.ctType FROM TblCrewType; "

Does Colums count or Bound Column has anything to do with it?
 
D

Damian

The control Source was cCrewTypeID.
I played around with it and changed it to "= [TblCrewType]![ctType] "
Which gives me the list in combo box BUT I cant chose any, its wont let me.
 
G

Gina Whipp

Doing it they way you did will not allow you to make and changes to the
Combo Box.

I just realized your Combo Box is incorrect... I had more coffee. Please
set it up the way I said in my first reply with the 2 columns...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Damian said:
The control Source was cCrewTypeID.
I played around with it and changed it to "= [TblCrewType]![ctType] "
Which gives me the list in combo box BUT I cant chose any, its wont let
me.

Gina Whipp said:
Damian,

Okay, the first thing is change the Column Widths on the Comb Box to 1.
The
second thing is what is the Control Source of the Combo Box?

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 
D

Damian

Still cant get it to work,

here come the screen shot...
http://img262.imageshack.us/img262/470/form1.png

Gina: Going back to my original post about the design of tables and the
relationship. I posted a screen shot of the corrections I made. If you dont
mind taking a last look at it, its on 2nd page of this forum.
Thank you,

Gina Whipp said:
Doing it they way you did will not allow you to make and changes to the
Combo Box.

I just realized your Combo Box is incorrect... I had more coffee. Please
set it up the way I said in my first reply with the 2 columns...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Damian said:
The control Source was cCrewTypeID.
I played around with it and changed it to "= [TblCrewType]![ctType] "
Which gives me the list in combo box BUT I cant chose any, its wont let
me.

Gina Whipp said:
Damian,

Okay, the first thing is change the Column Widths on the Comb Box to 1.
The
second thing is what is the Control Source of the Combo Box?

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Its not working. Nothing shows up in the Combo Box.
My Raw Source is " SELECT TblCrewType.ctType FROM TblCrewType; "

Does Colums count or Bound Column has anything to do with it?

:

Damian,

In your combo box where is say Column Widths put 0;1

This will make cType show up but it will store the number.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Can't figure out how to do something.
I have two tables:

TblCrew
cCrewID <PK Auto#)
cFName
cLName
cCrewTypeID <Number><linked to TblCrewType>

TblCrewType
ctCrewTypeID <PK Auto #)
ctType <text>

When I create a Form Using cFName, cLName and cCrewTypeID HOW can I
make
the
box for cCrewTypeID display whats in ctType?

cCrewTypeID is an auto Number and is assigned to each ctType BUT on
a
form
I
dont want to see 1 or 5 I would like to see the type/text behind it
like
Carpenter.

I tried look up combo box and I can see the ctType but when I select
it
nothing happens since cCrewTypeID is set to accept only numbers and
not
text.

How can I go around that?
Thank You.
 
G

Gina Whipp

1. Where it says Row Source just put tblCrewType
2. Return the Control Source fo your Combo Box to ctCrewTypeID

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Damian said:
Still cant get it to work,

here come the screen shot...
http://img262.imageshack.us/img262/470/form1.png

Gina: Going back to my original post about the design of tables and the
relationship. I posted a screen shot of the corrections I made. If you
dont
mind taking a last look at it, its on 2nd page of this forum.
Thank you,

Gina Whipp said:
Doing it they way you did will not allow you to make and changes to the
Combo Box.

I just realized your Combo Box is incorrect... I had more coffee. Please
set it up the way I said in my first reply with the 2 columns...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Damian said:
The control Source was cCrewTypeID.
I played around with it and changed it to "= [TblCrewType]![ctType] "
Which gives me the list in combo box BUT I cant chose any, its wont let
me.

:

Damian,

Okay, the first thing is change the Column Widths on the Comb Box to
1.
The
second thing is what is the Control Source of the Combo Box?

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Its not working. Nothing shows up in the Combo Box.
My Raw Source is " SELECT TblCrewType.ctType FROM TblCrewType; "

Does Colums count or Bound Column has anything to do with it?

:

Damian,

In your combo box where is say Column Widths put 0;1

This will make cType show up but it will store the number.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Can't figure out how to do something.
I have two tables:

TblCrew
cCrewID <PK Auto#)
cFName
cLName
cCrewTypeID <Number><linked to TblCrewType>

TblCrewType
ctCrewTypeID <PK Auto #)
ctType <text>

When I create a Form Using cFName, cLName and cCrewTypeID HOW can
I
make
the
box for cCrewTypeID display whats in ctType?

cCrewTypeID is an auto Number and is assigned to each ctType BUT
on
a
form
I
dont want to see 1 or 5 I would like to see the type/text behind
it
like
Carpenter.

I tried look up combo box and I can see the ctType but when I
select
it
nothing happens since cCrewTypeID is set to accept only numbers
and
not
text.

How can I go around that?
Thank You.
 
D

Damian

Thank you Gina.

Is there a way to have a box next to it that would display the actual name?
First box would be the autoNumber assigned for the specific name and next to
it would be a box that would display the name.

Thanks

Gina Whipp said:
1. Where it says Row Source just put tblCrewType
2. Return the Control Source fo your Combo Box to ctCrewTypeID

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Damian said:
Still cant get it to work,

here come the screen shot...
http://img262.imageshack.us/img262/470/form1.png

Gina: Going back to my original post about the design of tables and the
relationship. I posted a screen shot of the corrections I made. If you
dont
mind taking a last look at it, its on 2nd page of this forum.
Thank you,

Gina Whipp said:
Doing it they way you did will not allow you to make and changes to the
Combo Box.

I just realized your Combo Box is incorrect... I had more coffee. Please
set it up the way I said in my first reply with the 2 columns...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

The control Source was cCrewTypeID.
I played around with it and changed it to "= [TblCrewType]![ctType] "
Which gives me the list in combo box BUT I cant chose any, its wont let
me.

:

Damian,

Okay, the first thing is change the Column Widths on the Comb Box to
1.
The
second thing is what is the Control Source of the Combo Box?

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Its not working. Nothing shows up in the Combo Box.
My Raw Source is " SELECT TblCrewType.ctType FROM TblCrewType; "

Does Colums count or Bound Column has anything to do with it?

:

Damian,

In your combo box where is say Column Widths put 0;1

This will make cType show up but it will store the number.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Can't figure out how to do something.
I have two tables:

TblCrew
cCrewID <PK Auto#)
cFName
cLName
cCrewTypeID <Number><linked to TblCrewType>

TblCrewType
ctCrewTypeID <PK Auto #)
ctType <text>

When I create a Form Using cFName, cLName and cCrewTypeID HOW can
I
make
the
box for cCrewTypeID display whats in ctType?

cCrewTypeID is an auto Number and is assigned to each ctType BUT
on
a
form
I
dont want to see 1 or 5 I would like to see the type/text behind
it
like
Carpenter.

I tried look up combo box and I can see the ctType but when I
select
it
nothing happens since cCrewTypeID is set to accept only numbers
and
not
text.

How can I go around that?
Thank You.
 
G

Gina Whipp

Damian,

You CAN do it like that but it begs the question why you would WANT to do it
like that? Normally, showing the PK in a table is not needed or neccessary.
The End-User should never even see it, nor should they care what the
Autonumber is.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Damian said:
Thank you Gina.

Is there a way to have a box next to it that would display the actual
name?
First box would be the autoNumber assigned for the specific name and next
to
it would be a box that would display the name.

Thanks

Gina Whipp said:
1. Where it says Row Source just put tblCrewType
2. Return the Control Source fo your Combo Box to ctCrewTypeID

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Damian said:
Still cant get it to work,

here come the screen shot...
http://img262.imageshack.us/img262/470/form1.png

Gina: Going back to my original post about the design of tables and the
relationship. I posted a screen shot of the corrections I made. If you
dont
mind taking a last look at it, its on 2nd page of this forum.
Thank you,

:

Doing it they way you did will not allow you to make and changes to
the
Combo Box.

I just realized your Combo Box is incorrect... I had more coffee.
Please
set it up the way I said in my first reply with the 2 columns...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

The control Source was cCrewTypeID.
I played around with it and changed it to "= [TblCrewType]![ctType]
"
Which gives me the list in combo box BUT I cant chose any, its wont
let
me.

:

Damian,

Okay, the first thing is change the Column Widths on the Comb Box
to
1.
The
second thing is what is the Control Source of the Combo Box?

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Its not working. Nothing shows up in the Combo Box.
My Raw Source is " SELECT TblCrewType.ctType FROM TblCrewType; "

Does Colums count or Bound Column has anything to do with it?

:

Damian,

In your combo box where is say Column Widths put 0;1

This will make cType show up but it will store the number.

--
Gina Whipp

"I feel I have been denied critical, need to know,
information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Can't figure out how to do something.
I have two tables:

TblCrew
cCrewID <PK Auto#)
cFName
cLName
cCrewTypeID <Number><linked to TblCrewType>

TblCrewType
ctCrewTypeID <PK Auto #)
ctType <text>

When I create a Form Using cFName, cLName and cCrewTypeID HOW
can
I
make
the
box for cCrewTypeID display whats in ctType?

cCrewTypeID is an auto Number and is assigned to each ctType
BUT
on
a
form
I
dont want to see 1 or 5 I would like to see the type/text
behind
it
like
Carpenter.

I tried look up combo box and I can see the ctType but when I
select
it
nothing happens since cCrewTypeID is set to accept only
numbers
and
not
text.

How can I go around that?
Thank You.
 
S

Steve

Hello Damian,

You've been at this and you're not getting good help!!

Base your form on TblCrew. Use a combobox for the field cCrewTypeID. With
your form in design view, select the combobox. Open properties and go to the
Data tab. Set the rowsource property to TblCrewType. Still under the Data
tab, set the Bound Column property to 1. Go to the Format tab. Set Column
Count to 2 and Column Width to 0;2. Close properties.

Open your form and try your combobox. It should display ctType but will save
ctCrewTypeID for the selected crew type.

Steve
(e-mail address removed)
 
B

BruceM

You won't help your cause by sniping at others. You can post your own
suggestion if you think the exchange is missing the mark, but you aren't
going to make yourself look bigger by trying to dig a hole under somebody
else. Quite the contrary: you are the one on his knees clawing at the
dirt.
 
D

Damian

Never Ming Gina... I had it right all along the way you said it.
I dont know why I was seeing the PK in there.

Gina Whipp said:
Damian,

You CAN do it like that but it begs the question why you would WANT to do it
like that? Normally, showing the PK in a table is not needed or neccessary.
The End-User should never even see it, nor should they care what the
Autonumber is.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Damian said:
Thank you Gina.

Is there a way to have a box next to it that would display the actual
name?
First box would be the autoNumber assigned for the specific name and next
to
it would be a box that would display the name.

Thanks

Gina Whipp said:
1. Where it says Row Source just put tblCrewType
2. Return the Control Source fo your Combo Box to ctCrewTypeID

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Still cant get it to work,

here come the screen shot...
http://img262.imageshack.us/img262/470/form1.png

Gina: Going back to my original post about the design of tables and the
relationship. I posted a screen shot of the corrections I made. If you
dont
mind taking a last look at it, its on 2nd page of this forum.
Thank you,

:

Doing it they way you did will not allow you to make and changes to
the
Combo Box.

I just realized your Combo Box is incorrect... I had more coffee.
Please
set it up the way I said in my first reply with the 2 columns...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

The control Source was cCrewTypeID.
I played around with it and changed it to "= [TblCrewType]![ctType]
"
Which gives me the list in combo box BUT I cant chose any, its wont
let
me.

:

Damian,

Okay, the first thing is change the Column Widths on the Comb Box
to
1.
The
second thing is what is the Control Source of the Combo Box?

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Its not working. Nothing shows up in the Combo Box.
My Raw Source is " SELECT TblCrewType.ctType FROM TblCrewType; "

Does Colums count or Bound Column has anything to do with it?

:

Damian,

In your combo box where is say Column Widths put 0;1

This will make cType show up but it will store the number.

--
Gina Whipp

"I feel I have been denied critical, need to know,
information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Can't figure out how to do something.
I have two tables:

TblCrew
cCrewID <PK Auto#)
cFName
cLName
cCrewTypeID <Number><linked to TblCrewType>

TblCrewType
ctCrewTypeID <PK Auto #)
ctType <text>

When I create a Form Using cFName, cLName and cCrewTypeID HOW
can
I
make
the
box for cCrewTypeID display whats in ctType?

cCrewTypeID is an auto Number and is assigned to each ctType
BUT
on
a
form
I
dont want to see 1 or 5 I would like to see the type/text
behind
it
like
Carpenter.

I tried look up combo box and I can see the ctType but when I
select
it
nothing happens since cCrewTypeID is set to accept only
numbers
and
not
text.

How can I go around that?
Thank You.
 
G

Gina Whipp

Glad it got worked out!

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Damian said:
Never Ming Gina... I had it right all along the way you said it.
I dont know why I was seeing the PK in there.

Gina Whipp said:
Damian,

You CAN do it like that but it begs the question why you would WANT to do
it
like that? Normally, showing the PK in a table is not needed or
neccessary.
The End-User should never even see it, nor should they care what the
Autonumber is.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Damian said:
Thank you Gina.

Is there a way to have a box next to it that would display the actual
name?
First box would be the autoNumber assigned for the specific name and
next
to
it would be a box that would display the name.

Thanks

:

1. Where it says Row Source just put tblCrewType
2. Return the Control Source fo your Combo Box to ctCrewTypeID

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Still cant get it to work,

here come the screen shot...
http://img262.imageshack.us/img262/470/form1.png

Gina: Going back to my original post about the design of tables and
the
relationship. I posted a screen shot of the corrections I made. If
you
dont
mind taking a last look at it, its on 2nd page of this forum.
Thank you,

:

Doing it they way you did will not allow you to make and changes to
the
Combo Box.

I just realized your Combo Box is incorrect... I had more coffee.
Please
set it up the way I said in my first reply with the 2 columns...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

The control Source was cCrewTypeID.
I played around with it and changed it to "=
[TblCrewType]![ctType]
"
Which gives me the list in combo box BUT I cant chose any, its
wont
let
me.

:

Damian,

Okay, the first thing is change the Column Widths on the Comb
Box
to
1.
The
second thing is what is the Control Source of the Combo Box?

--
Gina Whipp

"I feel I have been denied critical, need to know,
information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Its not working. Nothing shows up in the Combo Box.
My Raw Source is " SELECT TblCrewType.ctType FROM TblCrewType;
"

Does Colums count or Bound Column has anything to do with it?

:

Damian,

In your combo box where is say Column Widths put 0;1

This will make cType show up but it will store the number.

--
Gina Whipp

"I feel I have been denied critical, need to know,
information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Can't figure out how to do something.
I have two tables:

TblCrew
cCrewID <PK Auto#)
cFName
cLName
cCrewTypeID <Number><linked to TblCrewType>

TblCrewType
ctCrewTypeID <PK Auto #)
ctType <text>

When I create a Form Using cFName, cLName and cCrewTypeID
HOW
can
I
make
the
box for cCrewTypeID display whats in ctType?

cCrewTypeID is an auto Number and is assigned to each
ctType
BUT
on
a
form
I
dont want to see 1 or 5 I would like to see the type/text
behind
it
like
Carpenter.

I tried look up combo box and I can see the ctType but when
I
select
it
nothing happens since cCrewTypeID is set to accept only
numbers
and
not
text.

How can I go around that?
Thank You.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top