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: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 56:28:22 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
3 files (2,684K bytes) |
| Messages: | 285,806 |