2 questions on ado

lukisf

Member
Joined
Apr 3, 2007
Messages
13
Programming Experience
1-3
Hi there,

I have a project to which i attached a MS access db using jet 4.0

1 briefly, I have a customer form and also a customer table in my db. I want to add the customer details to the db by filling in the textboxes in the form. How can I save this in my database? Is there any particular code to add to a button?

2 I also have another form which consists of a groupbox and a couple of labels which i'm dragging (during runtime) to set up my form (basically it's a simulation of an arena and the labels are the seats). How can i save this?

Thank you

Luke
 
1) Read the DW2 link in my signature, section on saving data in a database..

2) Erm.. save it however you like? Take a picture of it with PrtScrn and save it as a BMP if you want..
 
thanks for the reply. However, if i have to log in the system again, and i would've saved it with printscreen, i presume i wouldn't be able to move the labels again when i load it ej.
 
Of course.. You'll have to pardon my lack of telepathy; I'm not as good with it as I used to be when I was a nipper.. Only you know how your code works, only you can decide how to save this. I recommend that you apply the reverse procedure of whatever it is you do when the user drags a label into a destination..

I cant imagine this for you though, your brain is going to have to do some work on this one..
 
Back
Top