First off Hey!!! been a while...:wave: lol
Ok, my wife owns a flower shop.. and she wants a POS system, we tried MANY of them (even ones that are for flower shops) and well, they are either too "generalized" for all retail, or if they are for a flower shop, they are terrible!
(I found one that cost 2500 and had so MANY quality issues and errors that i dont understand how people think its worth even $1!!!) - ok.. back story done.
Heres my issue/question.
in Access I have tables
Customers
Orders
OrderDetail
SendTo
(also Items and category - but not important)
so, the order has been taken, all info filled in etc etc...
Now she hits save (or whetever) and i need to write all the parts in...
INSERT Customer IF NEW - GET CUST ID back?? < so if its a new customer and it inserts it, how do i get the AutoNum back to then insert into the Orders Table
Got CUST ID...
INSERT Order INTO ORDERS < again.. this will have a new ORDER_ID how do i get that back?
etc etc
basically when i insert a new item into a table, i need to pull the new ID number to use in other tables so they are all linked.
What is the best way to do this? (Its been a long time (like vb6 long time) since i have created this kind of project so be nice!! lol)
I have some table adapters set so i can pull info like items and categories to put into the order, but thats all so far
Thanks!
(Side note question: in Vb.net 201x - if i make a change to the a table/field in Access, how do i get Vs to see that? thanks)
Ok, my wife owns a flower shop.. and she wants a POS system, we tried MANY of them (even ones that are for flower shops) and well, they are either too "generalized" for all retail, or if they are for a flower shop, they are terrible!
(I found one that cost 2500 and had so MANY quality issues and errors that i dont understand how people think its worth even $1!!!) - ok.. back story done.
Heres my issue/question.
in Access I have tables
Customers
Orders
OrderDetail
SendTo
(also Items and category - but not important)
so, the order has been taken, all info filled in etc etc...
Now she hits save (or whetever) and i need to write all the parts in...
INSERT Customer IF NEW - GET CUST ID back?? < so if its a new customer and it inserts it, how do i get the AutoNum back to then insert into the Orders Table
Got CUST ID...
INSERT Order INTO ORDERS < again.. this will have a new ORDER_ID how do i get that back?
etc etc
basically when i insert a new item into a table, i need to pull the new ID number to use in other tables so they are all linked.
What is the best way to do this? (Its been a long time (like vb6 long time) since i have created this kind of project so be nice!! lol)
I have some table adapters set so i can pull info like items and categories to put into the order, but thats all so far
Thanks!
(Side note question: in Vb.net 201x - if i make a change to the a table/field in Access, how do i get Vs to see that? thanks)