Access Database Error!!!!!
Hii Evrey body
i Have A probleme in my database ,when i click in add button and write the information (in textbox's) without minimized my app form it's work and save it to the database, but when i minimized my form to copying and paste it to textbox's it's not work and don't save it, i guess it's probleme of timeout but i put this code in my form_load.
----------------------------------
Adodc1.ConnectionTimeout = 0
Adodc1.CommandTimeout = 0
----------------------------------
so it's not work , please corecct this code to me or give me a solution
Thnk's
Milen
Re: Access Database Error!!!!!
So when you add the data in the text boxes and save it (uh when?) it works, but if you minimise your form, to copy data then paste it into your form text boxes the record is not saved or a blank record is saved?
Or do you put the data in the text boxes but then it doesn't save?
You probably need to send a .update or .save method on your data controls.
Good luck
Re: Access Database Error!!!!!
could you post your code for saving the record, so that we can analyse and help you better...
Re: Access Database Error!!!!!
yes what ganeshmoorthy is saying right.. u please post the code
Re: Access Database Error!!!!!
Did you try a reasonable Timeout period like 5 seconds instead of expecting instant data transfer?
Re: Access Database Error!!!!!
Sorry, For my late i was studing in the university
This is my save code guys
-----------------------------------------------------
If MsgBoxEx2.Result = mbYes Then
Adodc1.Recordset.Update
Adodc1.Refresh
ARButton10.Enabled = False
ARButton7.Enabled = False
ARButton9.Enabled = True
ARButton5.Enabled = True
ARButton8.Enabled = True
c(2).Caption = Adodc1.Recordset.RecordCount
MsgBoxEx3.Show
Call Command3_Click
End If
------------------------------------------------
Re: Access Database Error!!!!!
Is there any answer guy's PLz
Re: Access Database Error!!!!!
where are you assigning values to the recordset...are they bound controls..
Re: Access Database Error!!!!!
No Bound controls, i set automateclly option of saving
Re: Access Database Error!!!!!
Adodc1 suggests a bound control