Dear All,
Thank you all for a great forum!
I have the following problem.
The code below is giving me a
I have tried changing a number of things but to not avail...
The query for this export also takes a value off the MainScreen form.
Please help I have been banging my head on this one
Thank you for all the forthcoming help
Thank you,
Kind regards
Triacona
Thank you all for a great forum!
I have the following problem.
The code below is giving me a
Code for button below.error said:Run-time error 31532.
EH Reports was unable to export the data.
Code:
[blue]Private Sub CpOutputQueryToXML_Click()[/blue]
[green]'*COMMERCIAL PREMISES CP OUTPUT TO XML BUTTON[/green]
[blue]Dim[/blue] stDocName [blue]As String[/blue]
stDocName = Me!ListCP.Column(2)
[blue]Dim[/blue] sFullPath [blue]As String[/blue]
sFullPath = txtPath & stDocName & ".xml"
Application.ExportXML acExportQuery, stDocName, sFullPath & ".xml"
End Sub
I have tried changing a number of things but to not avail...
The query for this export also takes a value off the MainScreen form.
Code:
Like "*" & [forms]![MainScreen]![SubFrmInput].[form]![cmbCpTradeAs] & "*"
Please help I have been banging my head on this one
Thank you for all the forthcoming help
Thank you,
Kind regards
Triacona