Also, you are referencing the same part of the string here (and an invalid one) for each of your fields

Nthfield literally stands for the 'n'th Field of a string where you pass (Contents as string, FieldDelimiter as string, index as integer)

In this case Contents is set to be the 'n'th part of your file
FieldDelimiter is set to be EndOfline

Nthfield(Networks(n),EndOfLine,1) -> get's you the 1st line of the string Nthfield(Networks(n),EndOfLine,2) -> get's you the 2nd line of the string

- Tom

On 16/02/2007, at 6:25 PM, Tom Benson wrote:

You error here is on the third line down, where you modified my statement by trying to pass the integer variable "n" without casting it to a string.

Try changing it to str(n) and see what happens....

- Tom

On 16/02/2007, at 5:20 PM, Jeffrey Ellis wrote:

database.SQLexecute('INSERT INTO DBServers SET Networks =
'"+Nthfield(Networks(n),EndOfLine,0)+"' A =
'"+n'"+Nthfield(Networks(n),EndOfLine,0)+ KEY_FIELD =
'"'"+Nthfield(Networks(n),EndOfLine,0)+'"+Nthfield(Networks (n),EndOfLine,0)+
"'")

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to