Hello,
I got a new problem...
I have a table with a col called "table.nr", in each line is different value
e.g. 23, 18 or 65
Now I want write a function that opens, line after line, the table ...
Is it possible to change the sourcetable of recordvar during the execution?
redStripe
0
Answers
thanks for your tip. if i use recordref and fieldref like that
how can i get the value of the field?
redStripe
doesn't work ...
What error message do you get?
Or is it a flowfield?
I get every Information but Value is empty.
Did I mistake?
redStripe
What is the value of Record."Field No." ?
Why have you programmed a message with an other variable than the FieldRef?
FieldRef.VALUE returns a Variant with the value.
If it is a flowfield you should use calcfields first.
i edit the code for the forum and forget to rename my variable.
here is the code again:
>What is the value of Record."Field No." ?
The number of the field, which I want the value. e.g. 5
btw it is no flowfield.
redStripe
You should eitger do a get/find or pass a record to the recordref.
and I also do a find a few lines above.
here ist the original code:
tmpTable = RecordRef
tmpField = FieldRef
the problem ist that I get every information of the table and the field,
but not the tmpField.VALUE
Without a find or get it is the same as defining a record variable and message a fieldvariable without a get or find.