I'm assuming that the date data is still stored in memory as a string until it's loaded. I've changed my code to copy all string, int and float data into a buffer and am pointing the loader at the buffer memory. This works fine for everything except for dates. The code for copy string data looks...
Hmm.. well I still feel stupid.. This fixed the problem for strings, integers, etc. but dates still give me the same error message. I can't for the life of me figure it out.
Any help appreciated.
Cheers
Tom
Ah.. I think I've figured out my problem. I have wrapped the code to set values within a procedure, so for each call the set data I'm only recording the address of the reference variable. Because the procedure for setting dates using the matching procedure for setting strings, when the date...
Hi there
I know you're meant to be able to use dates with the path loader, but I can't seem to get it working.
I'm setting the Loader.DateFormat to 'dd/mm/yyyy' and the code that sets the column data is as follows:
Value := FormatDateTime('dd/mm/yyyy', DateValue)...