T
TonyT
Hi,
I have a client who is having a problem on one client pc when trying to
Insert one row into a table with under 5,000 records. The single Insert takes
8-15 seconds to complete. Other pc's on the network take sub 2 seconds. The
code is;
strSQLJDEnter = "INSERT INTO JobDatesTbl (JobNum, ModelID, MachID,
MachSerNum, MachEngNum, InDate, CustID, DelAddRef, JobStat, " _
& "MachTot, SubTot, VATPr, GrTot, MSales) " _
& "VALUES(" & lngNewJN & ", " & Me.txtModID & ", " &
Me.txtMachID & ", '" & Me.txtSerNum & "', '" & Me.txtEngNum & "', " _
& "" & fncSQLDate(Date) & ", " & Me.txtCustID & ", " &
Nz(Me.txtDelAddNum, "Null") & ", '3', " & Me.txtMSellEx & ", " _
& "" & Me.txtMSellEx & ", " & Round(curEx, 2) & ", " & curTot &
", '-1')"
db.Execute strSQLJDEnter, dbFailOnError
front and backends are on Windows XP running Office 2003 Pro. Network is
100MBit.
All references are set correctly.
I have compacted and repaired the back-end, created a new front-end,
decompiled and re-compiled it, disabled firewall on both server and front end
& checked anti-virus is not active.
File copy/paste tests in explorer perform adequately with large jpeg files.
The only issue I've had is a recent problem with the original server
crashing, and as a temporary measure they are using a pc running XP Home,
this means that they have a problem connecting 5 pc's simultaneously, but
even with just the one problem pc connected it's just as slow. Strangely, the
most complex form in the system bound by inconsistant updates to a complex
query based on many other queries opens in under 3 seconds - this is always
the form that shows up network and pc limitations (and also the next form for
a complete re-working).
Where should I be looking next?
I have a client who is having a problem on one client pc when trying to
Insert one row into a table with under 5,000 records. The single Insert takes
8-15 seconds to complete. Other pc's on the network take sub 2 seconds. The
code is;
strSQLJDEnter = "INSERT INTO JobDatesTbl (JobNum, ModelID, MachID,
MachSerNum, MachEngNum, InDate, CustID, DelAddRef, JobStat, " _
& "MachTot, SubTot, VATPr, GrTot, MSales) " _
& "VALUES(" & lngNewJN & ", " & Me.txtModID & ", " &
Me.txtMachID & ", '" & Me.txtSerNum & "', '" & Me.txtEngNum & "', " _
& "" & fncSQLDate(Date) & ", " & Me.txtCustID & ", " &
Nz(Me.txtDelAddNum, "Null") & ", '3', " & Me.txtMSellEx & ", " _
& "" & Me.txtMSellEx & ", " & Round(curEx, 2) & ", " & curTot &
", '-1')"
db.Execute strSQLJDEnter, dbFailOnError
front and backends are on Windows XP running Office 2003 Pro. Network is
100MBit.
All references are set correctly.
I have compacted and repaired the back-end, created a new front-end,
decompiled and re-compiled it, disabled firewall on both server and front end
& checked anti-virus is not active.
File copy/paste tests in explorer perform adequately with large jpeg files.
The only issue I've had is a recent problem with the original server
crashing, and as a temporary measure they are using a pc running XP Home,
this means that they have a problem connecting 5 pc's simultaneously, but
even with just the one problem pc connected it's just as slow. Strangely, the
most complex form in the system bound by inconsistant updates to a complex
query based on many other queries opens in under 3 seconds - this is always
the form that shows up network and pc limitations (and also the next form for
a complete re-working).
Where should I be looking next?