dbTalk Databases Forums  

Linking Fields & Autofill

comp.databases.filemaker comp.databases.filemaker


Discuss Linking Fields & Autofill in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jeff
 
Posts: n/a

Default Linking Fields & Autofill - 03-06-2007 , 07:54 PM






I have created a quote form for my business but am having trouble getting 1
function to work.

I have a field called item and a field called price, quantity, total..

The math works fine but I would like to select the item from a drop down box
and have that selection

automatically fill in the price that goes with that item.


Right now I have to select the item and manually fill in the price, This is
getting old fast with 100's of items.

Any help would be greatly appreciated, I am sure it is something simple, I
was successful in access so I assume

it is achievable in FM



Thanks
Jeff




Reply With Quote
  #2  
Old   
Grip
 
Posts: n/a

Default Re: Linking Fields & Autofill - 03-06-2007 , 09:52 PM






On Mar 6, 6:54 pm, "Jeff" <jeff.bo... (AT) comcast (DOT) net> wrote:
Quote:
I have created a quote form for my business but am having trouble getting 1
function to work.

I have a field called item and a field called price, quantity, total..

The math works fine but I would like to select the item from a drop down box
and have that selection

automatically fill in the price that goes with that item.

Right now I have to select the item and manually fill in the price, This is
getting old fast with 100's of items.

Any help would be greatly appreciated, I am sure it is something simple, I
was successful in access so I assume

it is achievable in FM

Thanks
Jeff
It's not clear how your database is already set up. How are you
selecting the item currently? It sounds like you're not typing it in
manually, so where does it come from? Is there another table which
stores the items?

If you were to start if from scratch, you would need to make another
table named Items with at least three fields: ItemName, ItemPrice, and
ItemID. Set ItemID to be an Auto-Enter serial number field, so each
ItemID is the unique identifying number for that item. Add an ItemID
field to your line items table or whatever table you're currently
entering the quantity in. Then you relate the Items table to the
LineItems table via that field. In the field definition for Price,
you can set an Auto-Enter Lookup, using the value from your related
Items table.

G



Reply With Quote
  #3  
Old   
Jeff
 
Posts: n/a

Default Re: Linking Fields & Autofill - 03-07-2007 , 01:48 AM



That was what I am trying to do, and that part works but when I have several
lines For items in the same form all lines duplicate each others results.

Item Price

Item Price

Item Price

When I Fill In the 1st they all come back with the same results, If I change
the second They all change to match.

Thanks Jeff

"Grip" <grip (AT) cybermesa (DOT) com> wrote

Quote:
On Mar 6, 6:54 pm, "Jeff" <jeff.bo... (AT) comcast (DOT) net> wrote:
I have created a quote form for my business but am having trouble getting
1
function to work.

I have a field called item and a field called price, quantity, total..

The math works fine but I would like to select the item from a drop down
box
and have that selection

automatically fill in the price that goes with that item.

Right now I have to select the item and manually fill in the price, This
is
getting old fast with 100's of items.

Any help would be greatly appreciated, I am sure it is something simple,
I
was successful in access so I assume

it is achievable in FM

Thanks
Jeff

It's not clear how your database is already set up. How are you
selecting the item currently? It sounds like you're not typing it in
manually, so where does it come from? Is there another table which
stores the items?

If you were to start if from scratch, you would need to make another
table named Items with at least three fields: ItemName, ItemPrice, and
ItemID. Set ItemID to be an Auto-Enter serial number field, so each
ItemID is the unique identifying number for that item. Add an ItemID
field to your line items table or whatever table you're currently
entering the quantity in. Then you relate the Items table to the
LineItems table via that field. In the field definition for Price,
you can set an Auto-Enter Lookup, using the value from your related
Items table.

G




Reply With Quote
  #4  
Old   
Grip
 
Posts: n/a

Default Re: Linking Fields & Autofill - 03-07-2007 , 08:54 AM



Again I don't know how your database is set up, but I'm guessing
you're using pre-built form that relies on repeating fields instead of
a separate table for line items. You need a third table, for line
items. If that's not the case, you need to explain your current
databse structure better.

G

On Mar 7, 12:48 am, "Jeff" <jeff.bo... (AT) comcast (DOT) net> wrote:
Quote:
That was what I am trying to do, and that part works but when I have several
lines For items in the same form all lines duplicate each others results.

Item Price

Item Price

Item Price

When I Fill In the 1st they all come back with the same results, If I change
the second They all change to match.

Thanks Jeff

"Grip" <g... (AT) cybermesa (DOT) com> wrote in message

news:1173239549.803669.121150 (AT) h3g2000cwc (DOT) googlegroups.com...

On Mar 6, 6:54 pm, "Jeff" <jeff.bo... (AT) comcast (DOT) net> wrote:
I have created a quote form for my business but am having trouble getting
1
function to work.

I have a field called item and a field called price, quantity, total..

The math works fine but I would like to select the item from a drop down
box
and have that selection

automatically fill in the price that goes with that item.

Right now I have to select the item and manually fill in the price, This
is
getting old fast with 100's of items.

Any help would be greatly appreciated, I am sure it is something simple,
I
was successful in access so I assume

it is achievable in FM

Thanks
Jeff

It's not clear how your database is already set up. How are you
selecting the item currently? It sounds like you're not typing it in
manually, so where does it come from? Is there another table which
stores the items?

If you were to start if from scratch, you would need to make another
table named Items with at least three fields: ItemName, ItemPrice, and
ItemID. Set ItemID to be an Auto-Enter serial number field, so each
ItemID is the unique identifying number for that item. Add an ItemID
field to your line items table or whatever table you're currently
entering the quantity in. Then you relate the Items table to the
LineItems table via that field. In the field definition for Price,
you can set an Auto-Enter Lookup, using the value from your related
Items table.

G



Reply With Quote
  #5  
Old   
Ursus
 
Posts: n/a

Default Re: Linking Fields & Autofill - 03-07-2007 , 12:55 PM



And if you are trying to link to seperate field (getting sdeperate results)
you need separate TableOccurances. One for each unque field you are trying
to relate to. Obviously tou are getting the same result over and over agian
because you are using the same relation each time.

Ursus


"Grip" <grip (AT) cybermesa (DOT) com> schreef in bericht
news:1173279287.210713.284260 (AT) v33g2000cwv (DOT) googlegroups.com...
Quote:
Again I don't know how your database is set up, but I'm guessing
you're using pre-built form that relies on repeating fields instead of
a separate table for line items. You need a third table, for line
items. If that's not the case, you need to explain your current
databse structure better.

G

On Mar 7, 12:48 am, "Jeff" <jeff.bo... (AT) comcast (DOT) net> wrote:
That was what I am trying to do, and that part works but when I have
several
lines For items in the same form all lines duplicate each others results.

Item Price

Item Price

Item Price

When I Fill In the 1st they all come back with the same results, If I
change
the second They all change to match.

Thanks Jeff

"Grip" <g... (AT) cybermesa (DOT) com> wrote in message

news:1173239549.803669.121150 (AT) h3g2000cwc (DOT) googlegroups.com...

On Mar 6, 6:54 pm, "Jeff" <jeff.bo... (AT) comcast (DOT) net> wrote:
I have created a quote form for my business but am having trouble
getting
1
function to work.

I have a field called item and a field called price, quantity, total..

The math works fine but I would like to select the item from a drop
down
box
and have that selection

automatically fill in the price that goes with that item.

Right now I have to select the item and manually fill in the price,
This
is
getting old fast with 100's of items.

Any help would be greatly appreciated, I am sure it is something
simple,
I
was successful in access so I assume

it is achievable in FM

Thanks
Jeff

It's not clear how your database is already set up. How are you
selecting the item currently? It sounds like you're not typing it in
manually, so where does it come from? Is there another table which
stores the items?

If you were to start if from scratch, you would need to make another
table named Items with at least three fields: ItemName, ItemPrice, and
ItemID. Set ItemID to be an Auto-Enter serial number field, so each
ItemID is the unique identifying number for that item. Add an ItemID
field to your line items table or whatever table you're currently
entering the quantity in. Then you relate the Items table to the
LineItems table via that field. In the field definition for Price,
you can set an Auto-Enter Lookup, using the value from your related
Items table.

G





Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.