Thanks Quehay and MichaelRed for very enlightening contributions. I sense that you both are covering a lot of ground related to performance.
Yes Quehay, after some thinking and initial work I realized that you are right. After a second thought I realised that 3 query-tables I use to drive combiboxes with address information are updated directly from outlook or possibly from an other frontend. Only one problem. When I tried to generate tables I got myself into formatting trouble:
Dim tblCust As DAO.TableDef
' Create a new TableDef object.
Set tblCust = dbc.CreateTableDef("ActRep_Cust"

With tblCust
' Create fields and append them to the new TableDef object.
' This must be done before appending the TableDef object to
' the TableDefs collection of the Database.
For Each fld In rst.Fields
.Fields.Append .CreateField(fld.Name, fld.Type)
Next 'This assigns column names to a table - seems to works fine but maybe for the wrong reason?
Do Until rst.EOF
For Each fld In rst.Fields
.Fields.Append .CreateField(fld.Value, fld.Type, fld.Size) 'Regrettfully the fld.type does not seem to be compatible with the value type!
'Null values are also a problem. Also size 255 (or 256) was created, maybe default.
Debug.Print fld.Value & ";";
Next
' Debug.Print
rst.MoveNext
Loop
End With
Quehay, I also realised that multi-user update would be difficult to attain with this procedure for the core functions in my application. Your statement: "Using ADO unbound forms appears to be the real answer to speed with a system that is to remain totally Access driven in a networked, multiuser environment (but it's just a lot of development work)." inspired me to look at MS-library and I found following references:
-
-
Since I am running short of time I will use the method proposed by MichaelRed as far as it goes and see where it takes me.
Thereafter, I intend to try a clean ADO approach as suggested by Quehay, starting from scratch. Also, I have seen posts elsewere that supports the idea of systematic use of unbound forms.
MichaelRed, the approach you suggest requires a lot of interdisciplinary knowledge that I suspect is very rare indeed. When starting from scratch, I will try to address your proposed reasoning from the beginning including safety and possibly security aspects. My present application was a quick and dirty solution based on purely functional considerations just as you mentioned. My mind was set to visualise the feasability of a practical solution rather than doing a finished product. I attained my objective but this proved to be insufficient. So here I am...
Is anybody aware of ongoing and posted discussions for these two topics?
Hakan
Osaka 2001-03-03