russellmunday
Technical User
I have a prgram that stores infromation in an sql table through the program until the final page where the collected data is then used to place an order.
I want to be able to use the kit number values as part of the filename that i can then attach to an email.
for example if i had the kitnumbers rm001 and rm003 in the database i would want to send files named rmoo1.jpg and rm003.jpg as the email attachments.
I am ok on creating the filename and attaching it to the email for sending but i need help on getting just the information i need from the database to something i can use, in the past i have used a text box to create the file name eg. attachments.add "c:\myfiles\" & textbox1.text & ".jpg".
I will not know how many kits have been chosen so i need some way of looping through them. the database table column called kit holds the kitnumbers i will want to use.
any help appreciated
I want to be able to use the kit number values as part of the filename that i can then attach to an email.
for example if i had the kitnumbers rm001 and rm003 in the database i would want to send files named rmoo1.jpg and rm003.jpg as the email attachments.
I am ok on creating the filename and attaching it to the email for sending but i need help on getting just the information i need from the database to something i can use, in the past i have used a text box to create the file name eg. attachments.add "c:\myfiles\" & textbox1.text & ".jpg".
I will not know how many kits have been chosen so i need some way of looping through them. the database table column called kit holds the kitnumbers i will want to use.
any help appreciated