Link to home
Start Free TrialLog in
Avatar of prosit
prositFlag for United States of America

asked on

MS Access to vb.net type question

Hi,

I'm converting an Access database to vb.net and there's a type like this:

Private Type Record1
         Name      As String * 30
         Duns      As String * 9
         FileNo    As String * 2
         Store     As String * 4
         ShipTo    As String * 12
         VenTO     As String * 8
         FIll1     As String * 4
         StartDate As String * 8
         UDF1      As String * 20
         LeadDays  As String * 20
         StartPo   As String * 30
         EndPo     As String * 30
         ReqDate   As String * 8
         PrtFlag   As String * 1
         OregDte   As String * 1
         CrRet     As String * 1
         LnFd      As String * 1
     End Type

What does the * <number> mean?

Is it string(<length>)?

tnx
~J
ASKER CERTIFIED SOLUTION
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It is to declare fixed length string. If you need to do it in .Net, check https://msdn.microsoft.com/en-us/library/microsoft.visualbasic.vbfixedstringattribute.aspx
Avatar of prosit

ASKER

Yes of course.... that makes sense...