XFormDBF Forum

  | Discussion | Reply | Next | Previous | Up |

Bottom | Unframe

Efficiency of XForm xform_run method

From: NN
Keywords: XFormDBF, Suggestion
Remote Name: 216.112.191.129
Remote User:
Date: 09/07/00
Time: 09:49

Comments

In XForm Run method, AFAIK, currently you use: APPEND BLANK then REPLACE &Repline1; &Repline2; etc.

approach. You also noted, that there is a limitation of maximum number of clauses in a single Replace command.

I was thinking, is it possible to change like this:

scatter memo name loFields blank append blank

Then assign values to loFields.fields like store expval to ('loFields.'+m.fldname) in a for ... next loop

and then

gather memo name loFields release loFields

This is just an idea and I don't know, what should work faster: Replace or this technique. If you can run some tests to compare the speed, it would be great.

| Reply | Next | Previous | Up |

| Top | Unframe | Help |

 | Contents | Discussion | Search | Post


VFPUtils message edited: 09/17/03 20:44, auto-updated: 06/30/07 11:40
URL: http://ideaxchg.com/ix08/d1/0000002a.htm
Brought to you by SpaceTime Systems.  All rights reserved.