One2OneComputers
New member
- Local time
- Today, 00:13
- Joined
- Aug 10, 2008
- Messages
- 4
Hi all, (first hello as im new here),
Ok, i have a few queries ive tried a few differnt ways but i must admit i am finding it hard switching my brain from excel to access, lol.
firstly, im using microsoft ACCESS (2007 PRO).
i have created an invoice form containing the usual fields, i.e.
Inv No, Date, Surname, Address, Post Code, Home Tel, Other Tel, etc etc.
my table is named Sales
my query being going through design view where would i put the code? i thought in default mask but when i look in form view still no number apppears... here is the code i have used.
=Nz(DMax("[Inv No]","Sales"),0)+1 (and is this code correct?)
also;
i am familiar more with using Vlookup in excel for when ive been using Sku codes with a database to fill in corresponding cells for example:
i have seperated fields in the following manner (the only way i know how)
amount1/sku1/item1/price1/less1/total1
amount2/sku2/item2/price2/less2/total2
and this carries on to accomodate the purchase of say 10 items
now im thinking along the lines (as i am a first timer at this access designing stage), of making yet another form which will up date a table named;
Price List
this of course will have x amount of sku codes in the table already and the rest would be updated via the new form.
so basically when someone for instance is looking for a product of course they will query that database, which will then produce the sku code, the sku code would then be put into the sku1/sku2/sku3 etc section of the invoice form which would cause the Item1/Price1 etc to be auto filled, like i said ive done this easily within excel, but am now looking at access as the best way of doing this.
my other query i believe would be quite a simple one for you guys and that is at the bottom of my form i have place a Finish button, i would like the document to forexample, save onto the table, print 3 copies and then close that form.
Any help with this would be greatly appreciated!!!
Ok, i have a few queries ive tried a few differnt ways but i must admit i am finding it hard switching my brain from excel to access, lol.
firstly, im using microsoft ACCESS (2007 PRO).
i have created an invoice form containing the usual fields, i.e.
Inv No, Date, Surname, Address, Post Code, Home Tel, Other Tel, etc etc.
my table is named Sales
my query being going through design view where would i put the code? i thought in default mask but when i look in form view still no number apppears... here is the code i have used.
=Nz(DMax("[Inv No]","Sales"),0)+1 (and is this code correct?)
also;
i am familiar more with using Vlookup in excel for when ive been using Sku codes with a database to fill in corresponding cells for example:
i have seperated fields in the following manner (the only way i know how)
amount1/sku1/item1/price1/less1/total1
amount2/sku2/item2/price2/less2/total2
and this carries on to accomodate the purchase of say 10 items
now im thinking along the lines (as i am a first timer at this access designing stage), of making yet another form which will up date a table named;
Price List
this of course will have x amount of sku codes in the table already and the rest would be updated via the new form.
so basically when someone for instance is looking for a product of course they will query that database, which will then produce the sku code, the sku code would then be put into the sku1/sku2/sku3 etc section of the invoice form which would cause the Item1/Price1 etc to be auto filled, like i said ive done this easily within excel, but am now looking at access as the best way of doing this.
my other query i believe would be quite a simple one for you guys and that is at the bottom of my form i have place a Finish button, i would like the document to forexample, save onto the table, print 3 copies and then close that form.
Any help with this would be greatly appreciated!!!