I am testing the X# RDD (DBFCDX) in C# app, it opens the file and can set the order, etc.
However, I see that the FieldGet and FieldPut() which accept a Field Name string, are missing.
Looking at the XSharp.RT.Functions, I found the internal functions __FieldGet, and __FieldSet() which mimics FieldPut in VO.
I think those functions need to be exposed.
Jamal
RDD FieldGet() and FieldPut() missing
-
- Posts: 774
- Joined: Wed May 17, 2017 8:50 am
- Location: Germany
RDD FieldGet() and FieldPut() missing
Hi Jamal,
X# does the same as VO does. The VO Fieldget() function doesn´t accept fieldnames, only numeric field positions. What you might do is to overload the Fieldget() function.
or create - similar the FieldGetSym() logic - a function named FieldGetString() instead.
regards
Karl-Heinz
X# does the same as VO does. The VO Fieldget() function doesn´t accept fieldnames, only numeric field positions. What you might do is to overload the Fieldget() function.
Code: Select all
FUNCTION FIELDGET ( cField AS STRING ) AS USUAL
RETURN FieldGet( FieldPos ( cField ) )
regards
Karl-Heinz
RDD FieldGet() and FieldPut() missing
Jamal,
What Karl-Heinz said.
Robert
What Karl-Heinz said.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
RDD FieldGet() and FieldPut() missing
Hi Guys,
I was thinking DBServer which has those methods! You are right.
Jamal
I was thinking DBServer which has those methods! You are right.
Jamal