THE UPDATE QUERY DOESN'T WORK IN FORM  
Author Message
Mürşit Hakan ÇİL





PostPosted: Visual Basic General, THE UPDATE QUERY DOESN'T WORK IN FORM Top

Hi All

The update query doesn't work during the period of form using or User Interface.The acceptchanges method calling gets similar summary.No enough hierarchic source.

How can I realise Do you know about it Would you like to send me nformation Detailed Update

I wish you all all of the best.Thanks...

Mur it HakanC L



Visual Basic16  
 
 
Ayhan Yerli





PostPosted: Visual Basic General, THE UPDATE QUERY DOESN'T WORK IN FORM Top

Hi Mursit,

If you can tell me more about the problem, I may hep you.



 
 
spotty





PostPosted: Visual Basic General, THE UPDATE QUERY DOESN'T WORK IN FORM Top

When you say the data is not updated .

Often what occurs is that the database file within the project has a property which will copy the database file to the bin folder each time the program is run. So you run the application - it updates the database but next time you run the application to data is not there as its recopied to original database.

This is the most common cause for people to think that the database is not being written. Go to the solution explorer and right click the database file and look at the properties - the copy to output folder should be set to dont copy or copy if newer.

This will mean that the one in the bin folder wont be overwritten every time you run the application, giving you an illusion that its not actually saving the data.

See if this helps.


 
 
Mur?it Hakan C?L





PostPosted: Visual Basic General, THE UPDATE QUERY DOESN'T WORK IN FORM Top

GOD BLESS YOU .TAHNKS.I'LL COPY TO BIN FOLDER IT. OR CHANGE PROPERTIES.