Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a question about Refresh 1

Status
Not open for further replies.

VickyC

Technical User
Sep 25, 2010
206
0
0
CA
hello

I often see code like this...

Code:
Set ind = tdf.CreateIndex(strIdxName)
    ind.Fields.Append ind.CreateField(strFldName)
    tdf.Indexes.Append ind
    tdf.Indexes.[b][u]Refresh[/u][/b]

The same is seen when changing a field name, adding a field, etc.

Is the Refresh only useful for displaying updates, or could errors be introduced by NOT using Refresh? In other words, could NOT refreshing introduce errors in any code that follows by using 'old' non-updated values? Just wondering.
 
The Refresh method is not mandatory.
Its main purpose is to commit the changes made on the collection to other users.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top