Insertion Anomaly

Oct 8, 2007

Hi everyone, Im new here, and wanted to get some help on understanding insertion anamolies, because the logic behind it I can't grasp, because I tend to think of work arounds to solve the issue, so I am wondering whether I could get some help on the matter.

How do I attach a table?

View Replies


ADVERTISEMENT

Insertion In To SQL Server

Sep 12, 2006

I have an Access front end to a table residing on an SQL server. I am accessing the SQL server through a VPN over a DSL line.

Now, I have some data I need to insert in to that table. It sits in a text file. All in all, there are around 9000 records in the text file.

I had excel reading the text file, then cleaning up the data, then I would link the excel table via ODBC, and link to the SQL Server table, then do an INSERT INTO ServerTable Select * from ExcelTable; That would take about 22 minutes to finish.

I cleaned things up a bit, using VB to directly read the text file, and I can insert in to the ServerTable directly via an ADO recordset in about 18 minutes.

I want to get the time down further.

Now, if I read that text file and use ADO, I can insert all the records in an Access table on network share across that same VPN in about 4 minutes, so I figure there is about 14 minutes of overhead in dealing with the SQL server.

So is there anything I can do to decrease the amount of time it takes to insert the 9000 records in to the ServerTable?

Thanks,
David

PS. Oddly, I tried to limit the number of fields I data I upload, and found it actually took MORE time to send one field than it did to send all 30 some fields in the full dataset. I really can't figure that out.

View 2 Replies View Related

Character Insertion Help!

Feb 14, 2007

Hi! I'm stuck and need some help. I have a list of about 1600 entries, all merchant names and i need to place an * at the beginning and end of each entry, example *Arizona Central*. Each entry has a different amount of characters...would any one know if there is a way of how I can do this easily in Access or Excel?

View 2 Replies View Related

Hiding The Insertion Point

Nov 17, 2006

Is there anyway to hide the insertion point in access?

View 1 Replies View Related

MS Access Time Delays After Insertion

Nov 6, 2006

Dear All,

I am facing a strange problem off late with the MS Access database. After Insertion of records, I close the recordset and not the connection as I use a global connection, which is set at the time of the app launch. Now, after closing the recordset I move on to the next job in the program flow and return a success to the calling function. Once the value is received by the calling function it opens the same table and finds no records there. I could come around this prob by providing a delay of a few seconds and then returning the value to the calling function. Can someone help me understand this prob and the solution to this?

Thanks in advance.

Chillgeek

View 6 Replies View Related

Prevention Incomplete Data Insertion

Oct 2, 2005

Hello,

Does anybody know of a quick and easy way of preventing data insertion to a table from a form, so that table doesn't get updated unless all form fields are populated?

Thanks

View 5 Replies View Related

Prevent Insertion Of Blank Records

Nov 27, 2006

I have a form that is opened by the following code:
Private Sub Status_AfterUpdate()
If Status.Value = "WIP - Snagged" Or Status.Value = "WIP - Suspended" Then
DoCmd.OpenForm "NotesJobChanged", , , acFormAdd
Forms!NotesJobChanged!txtJobNo.Value = Me!txtJobNo.Value
Forms!NotesJobChanged!Date.SetFocus
End If

This 'NotesJobChanged' form has three text boxes on it - JobNo, Date & Note. The JobNo is autofilled from the code above. If nothing is entered into the other fields and the form is closed this record is entered into the database with only the JobNo filled in.

What I want is a way to force the user to enter data into these fields. I don't want to set the 'Required' property of the field to yes as it generates an awful system error message. If the user attempts to close the form without filling it out can they be reminded that they have to, but with an option then to close the form if they really don't want to enter any data? If they do chose to close without filling it out can it be prevented from being added to the database.

Hope this makes sense :)

Many thanks in advance

Michael

View 1 Replies View Related

Forms :: Automatic Insertion Of The Value Of Field?

Aug 10, 2014

I have a form that when I insert a registration number I would like the value of the field "nom" the name automatically appears in the "nom" field of the form. The form uses a query.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved