Hi All
I want to get a grip on a field that I know by string.
This is the code:
Clear(Xml003)
Xml003{Prop:Sql} = 'Select recid,xmlTag,Table,Field from xml003'
Loop
Next(Xml003)
If Errorcode() Then Break.
In Table I have the string 'SAD120'
In Field I have the string 'RefNr'
lFieldString = Xml003:Table & ':' & Xml003:Field
What I want to do is give refnr from Sad120 a new value
Normally that would be SAD120:RefNr = '23ABC'
But I only have the string 'Sad120:Refnr'.
How can I get grip on the field with this string?
Something like referenceveld &= GetFieldByString(lVeldString)
End
Regards,
Joep
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 292 |
Nodes: | 16 (2 / 14) |
Uptime: | 187:04:30 |
Calls: | 6,616 |
Files: | 12,165 |
Messages: | 5,314,966 |