v:variant;
Always fails with "Error creating variant or safe array,"
v:=VarArrayCreate( [0,1], varString );
but this is ok:
v:=VarArrayCreate( [0,1], varVariant );
So then I do:
V[0]:=mystring;
mydataset.Locate( 'Lastname', V, [] );
only to get "could not convert variant of type (array variant) into type
(string)."
The help text (in RAD 2007 Arch) is unhelpful; following it produces
about the same troubles. It's example text is too specific and doesn't
show a variety of scenarios.
I'd appreciate a nudge back on track. Thank you!
mydataset.Locate( 'Lastname', mystring, [] );
--
With best regards, Mike Shkolnik
Scalabium Software
http://www.scalabium.com
mshk...@scalabium.com
"Frank Burleigh" <burl...@indiana.edu> wrote in message
news:4840...@newsgroups.borland.com...