Subject My Integer Problem
Author ShofB
Again, thanks to all that offered advice. I did a few experiments and found what seems to be a bug in the .net interface. I am using the following code:

FbCommand cmd = new FbCommand("ADDDIRECTORY", conn);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Add("@ID",ids[(int)FileTypes.Other]++);
cmd.Parameters.Add("@PATH", path);
cmd.Parameters.Add("@STORAGEID",0);

Having the STORAGEID hardcoded to 0 causes the problem. If I create an integer, assign the value to it and then reference the int in the Parameters.Add it works fine.
________________________________________________________________
Shof Beavers

"One mans magic is another mans science" - Lazarus Long

http://l_and_l.home.comcast.net/vfm.html
http://home.comcast.net/~shofb/unfinished.html
http://home.comcast.net/~shofb/tns.html

----------

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.7/153 - Release Date: 11/1/2005


[Non-text portions of this message have been removed]