Does anyone have any code or know of any code, or just know where to find
the procedures/functions, that would allow me to set the value of
Parameters by Parameter Name (field Names) for prepared statements instead
of the index?
If I have the following:
myStatement = Db.compileStatement("Insert into myTable (load_id, load_name)
values (?, ?);
Ie. I want to do something like the following :
myStatement.parambyName(“load_id”).value = 123;
myStatement.parambyName(“load_name”).value = 456;
instead of :
myStatement.bindString(1, “123”);
myStatement.bindString(1, “456”);
I’m sure someone has done the work, and I would prefer not to duplicate it
if possible.
Thanks for any help.
Sincerely,
Brad Gies
-----------------------------------------------------------------
Brad Gies
27415 Greenfield Rd, # 2,
Southfield, MI, USA
48076
www.bgies.com www.truckerphone.com
www.EDI-Easy.com www.EDI-Simple.com
-----------------------------------------------------------------
Moderation in everything, including abstinence
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---