Hi ,
I am exporting (to excel) the database by calling customized ExportDBOnly (which I use throughout of the programme) from other fuction GapDetection.However the only bit imported is the name of the fields and no data is actually included in the excel file (despite IncludeAllFiled method used).
I attached the copy of my code.
Pawelski_33
Offline
Last seen: 5 years 8 months ago
Joined: 06/05/2018 - 12:16
Hi Pawelski_33,
Thanks for the code, there looks like there is an extra space between the TargetDb. and the Count, there should be a space and that is probably why you are not getting any data.
ExportData.PerformTask ExportPath, TaskName, ExportType, 1, TargetDb. Count, " "
Brian
Thank you Brian - you are GENIUS... that and space within double quote "" in relation to Criteria element of task.PerformTask was the primary root of the issue.
I ve spent couple of hours trying to figure out what the problem was - thank you.
I have been there, spending a couple of hours trying to figure out what is not working just to realize that all it was was an extra space or a forgotten period or comma, programming take patience and is definitely not for everyone lol