I hope someone can help. I am writing a call logging database with a VB front end that saves the information entered into an access database. I am connecting to the access database via a data control. The program was working up until yesterday however for some reason it has stopped saving the...
Yes I have read the FAQ thanks. I did get my problem fixed I copied my project files over to a different network drive and tried to run it from there but the data environment wasn't picking up the commands. I had to delete the data environment and then clicked on add file to insert it back in to...
I have created a program with Data environments and commands in it on my pc. However when I open and run my program on any other pc on the network, other than my PC which I wrote it on, I lose the connection to my data environment and all the commands associated to it. Does anyone know the...
Whenever I open and run my VB project on any other pc on the network other than the one I wrote the project on I lose the connection to my data environment and all the commands associated to it. Does anyone know the reason for this and how I can get around it.
Thanks
Hi
What I need to know is if there is a way I can access the information gathered by a data control in 1 form on a different form.
The code I am using below lets me access the database using data2 from form1 so that I can find a particular record and display all the information in the fields...
Hi
I am creating an application to log calls and require a user to be able to retrieve any call by entering the unique reference number.
I have connected my application to an Access DB via a data control.
To search for the reference number entered by a user I have used the code below that...
Sorry for the confusion CCLINT.
This is the code I am using maybe this will help
Private Sub form_load()
Data2.Refresh
Data2.Recordset.AddNew
Data3.Refresh
temp = (CInt(txtBssRef))
ref = (temp + 1)
lblBssRef.Caption = ref
txtBssRef.Text = ref...
Thanks for the reply that works but not for what I want to do.
What I am doing is creating a fault logging database whereby a new unique reference number is created every time a fault is logged.
I am doing this by connecting a data control to a table to obtain a number and then adding 1 to...
Can anyone tell me the code to create a new record in a recordset whilst loading a form. I have tried the code "Data2.Recordset.addnew" but it gives me a run time 91 error object variable or with block variable not set.
Cheers Nick
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.