Mensen. ben bezig met een scriptje te bouwen. waarbij ik eerst iets in een tabel wil wegschrijven en vervolgens het id dat er automatisch aangegeven word wil opvragen...
onderstaand is me code. het werkt echter niet...
adoRS.Open "customer", , 0, 3, &H0002
adoRS.Addnew
adoRS("cusName")=cus_cusName
adoRS("cusAddress")=cus_Address
adoRS("cusZipcode")=cus_Zippcode
adoRS("cusPostalAddress")=cus_PostalAddress
adoRS("cusPostalZipcode")=cus_PostalZipcode
adoRS("cusPostalCity")=cus_PostalCity
adoRS("cusPostalCountry")=cus_PostalCountry
adoRS("cusCity")=cus_Ciy
adoRS("cusTelnr")=cus_Telnr
adoRS("cusFaxnr")=cus_Faxnr
adoRS("cusWebsite")=cus_Website
adoRS("cusCountry")=cus_Country
adoRS.update
cusID =cusID("cusID")
onderstaand is me code. het werkt echter niet...
adoRS.Open "customer", , 0, 3, &H0002
adoRS.Addnew
adoRS("cusName")=cus_cusName
adoRS("cusAddress")=cus_Address
adoRS("cusZipcode")=cus_Zippcode
adoRS("cusPostalAddress")=cus_PostalAddress
adoRS("cusPostalZipcode")=cus_PostalZipcode
adoRS("cusPostalCity")=cus_PostalCity
adoRS("cusPostalCountry")=cus_PostalCountry
adoRS("cusCity")=cus_Ciy
adoRS("cusTelnr")=cus_Telnr
adoRS("cusFaxnr")=cus_Faxnr
adoRS("cusWebsite")=cus_Website
adoRS("cusCountry")=cus_Country
adoRS.update
cusID =cusID("cusID")