Group:  Other Microsoft Office Products ยป microsoft.public.infopath
Thread: Purchase Order

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Purchase Order
KLaw 10.07.2006 21:01:03
I'm trying to create a Purchase Order which has a main connection to an
Access DB and several secondary connections used to filter data. I've worked
out all of my fields and they work fine, my issues start when I submit to the
DB. The Main connection to the DB is an Orders table (which automatically
assigns a PO number) and an Orders Detail table which will keep the line
items (from my repeating table). When I submit the form to the DB, it
assigns a PO number to each Order Detail item instead of just one for the
main Order Form. Can anyone help me with this? (I'm not a programmer, just
an InfoPath wannabe!)
RE: Purchase Order
IT PHYTOSAN 27.07.2006 02:36:02
I am completely unfamiliar with Access, but if you where to do this with SQL
server, you would create an PO table and a PODetail table and have one of the
fields in PODetail be a foreign key to the POnumber. You would establish your
data connection with the primary table being the PO and the second table the
PO Detail. You would display both tables as repeating tables with n details
per order. The PO number is asigned at the PO level and would exist only
once.

I hope you are able to extrapolate this to the Access world.

IT PHYTOSAN

"KLaw" wrote:

[Quoted Text]
> I'm trying to create a Purchase Order which has a main connection to an
> Access DB and several secondary connections used to filter data. I've worked
> out all of my fields and they work fine, my issues start when I submit to the
> DB. The Main connection to the DB is an Orders table (which automatically
> assigns a PO number) and an Orders Detail table which will keep the line
> items (from my repeating table). When I submit the form to the DB, it
> assigns a PO number to each Order Detail item instead of just one for the
> main Order Form. Can anyone help me with this? (I'm not a programmer, just
> an InfoPath wannabe!)

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net