I'm running the FoxPro ODBC driver from Euphoria and not VB, but this should still work:
SQLCmd = "Pack CustTbl"
data = execDirectODBC(hconn,SQLCmd)
As long as the table "CustTbl" is not open by anyone else, it packs just fine.
Note, this isn't documented anywhere on the...
Never mind. I answered my own question. I was looking at it backwards. Figured it should be in the String class somewhere. Instead its in the Decimal class.. this works fine.
Decimal dc = Decimal.Parse("123");
dc = 123
Ahh, the joys of programming :)
I think strong typing is gonna drive me nuts :)
I have a string, say MyString = "12345" and I want to convert the second character to an int. I VB it was easy: val(mid(MyString,2,1)) = 2
In C# its somewhat tougher, since I can't convert a string OR a char[] to an integer.
These...
This one seems to work and be clear on the subject
http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=320
I'm going through the same thing, so perhaps we can commisurate here.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.