3
When I need to use array const I usually do so:
var
Campos : array [0..2,0..1] of string = (('campoa','AAA'),
('campob','BBB'),
('campoc','CCC'));
I would like to declare the above const as of Variant.
Example:
var
Campos : array [0..2,0..1] of variant = (('campoa',ftString),
('campob',ftInteger),
('campoc',ftDate));
Would any of you have any idea how I should proceed?
Good morning @Melissa Thanks for your attention. Cool your tip. Junior Moreira had soiled using a TRECORD.. but I didn’t think to use it the way you showed it. I think it will work.. I’ll encode it here to see how it looks.. Thanks) Thanks :)
– Ricardo M.Souza
Good afternoon.. It worked perfectly for the proper purposes .. thank you :)
– Ricardo M.Souza