I'm building an application thats linked to a .mdf file and I want to export the data out from one of the tables as a .csv file into a folder called Export Files in the current project path
I have some code I've used in Access and I'm trying to update it into VB.NET in Visual Studio 2008.
Any Ideas on how to change it, I'm having problems.
Dim getTables As String
Dim csvName As String
Dim BoatName As String
'Copies the tblSurveys
BoatName = Form!lblBoatName.Caption
getTables = "tblSurveys"
csvName = CurrentProject.Path & "\" & "Export Files\" & BoatName & getTables & ".csv"
DoCmd.TransferText transfertype:=acExportDelim, _
specificationname:="tblSurveys Export Specification", _