Hi,
Does any one know how to create a database field name dynamically or is there a function in crystal similar to the "eval" function in javascript.
I am tyring to loop thru 10 fields ... key0 thru key9 and I want to dynamically create them
Local StringVar str := "";
Local NumberVar i;
For i := 0 To 9 Do
(
str := str + totext({tablename.key[i]})
);
str
Eventually I want to get the value for str.
thanksI think you are trying to concatenate the string values
If so, there is no other way other than specifing the field names|||Yes, that is what I am trying to do... thanks anyway
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment