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: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 04:13:43 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
921 files (14,318M bytes) |
| Messages: | 264,528 |