Page 1 of 1

Posted: Fri May 02, 2003 4:55 am
by WoMaWil
Yes,

Write a Job1 where you select the Table with the timestamps, than start your loadjob and give him the timestamp as parameter. In the where part of the reading select (suppose the Name of the Parameter is TimeAfter) you write Selectdate>#TimeAfter#. That is it.

If this doesn't work, maybe that the two timestamps don't fit to each other. Best than is to change them to string or so.

Wolfgang

Posted: Fri May 02, 2003 3:57 pm
by ds_developer
Here is some code that would be in your Job1 job:

hJob1 = DSAttachJob("LoadJob", DSJ.ERRFATAL)
ErrCode = DSSetParam(hJob1, "TimeAfter", TimeAfter)

The first argument to DSSetParam is the handle of the job.
The second argument is the parameter in the LoadJob job.
The third argument is the variable (or a parameter of Job1) that contains the date you want the TimeAfter parameter set to.

Hope this helps,
John