On Tuesday 30 November 2010 10:12:39 Benoît Minisini wrote: Ok, is working again ok, thanks, can save the patient's notes, insert pictures into notes again
Thanks. > > wasn't really paying attention to the discussion on this, but > > > > IsString is gone in the latest update and its blown away all our database > > saving routines (we don't use the gambas ones). > > > > This code: > > > > If IsString(field) Then no longer works. > > > > Any help appreciated. > > See the comments I made to Ron. > > IsString(value) must be replaced by TypeOf(value) = gb.String. > > And more generally, IsXXXX(value) must be replaced by TypeOf(value) = > gb.XXXX > > Only IsNull() has been kept. The other IsXXXX() functions now check if a > string can be converted safely to a boolean, an integer, a long, a float or > a date. > > But you should tell in which context you use IsString(), to be sure that > you didn't make a mistake by using it at the first place. > > > In the meantime - Benoit - How do I roll back to a previous SVN version > > so I can continue working/using my program. > > > > Richard > > svn update -r <REVISION> to update your local copy of Gambas sources to the > revision <REVISION>. > > Sorry for the inconvenience! > > Regards, > ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user