howto substring IFieldObject

muupeetz

Member
Joined
Apr 30, 2009
Messages
5
Programming Experience
1-3
hi friends :),

i want to display the record from sql server field with vb.2005 & sql server 2005

the sql fieldname is period1 with datatype varchar(50) it contains date format like 8/12/2009. i don't use any datetime field.

when i display it into crystal report viewer it doesn't have no error. :)
but i'm having trouble how to separate it into date, month, year..

i was trying by manipulate the IFieldObject width but still i have the trouble when i want to display middle string data..

my question :
1. i want to substring the 8/12/2009 text, then i want to display it into the report with values 8. how i do it ? :(

thank you so much for any replies :)
 
Last edited:
Back
Top