I have to get some records out of the database for a text file for import. The fields are Jobcode, jobphase, and jobname, jobphasename. However the format needs to be:
for the first record of the job:
Jobcode Blank jobname
and subsequent records
jobcode jobphase jobphasename
so for the results would look similiar to:
Jobcode,Phase,Job or Jobphase name
100000,,Install Job
100000,0100,Lights
100000,0200,switches
100000,0300,rentals
100001,,RepairJob
100001,0100,Lights
100001,0200,switches
100001,0300,ServiceLabor
Any ideas?
for the first record of the job:
Jobcode Blank jobname
and subsequent records
jobcode jobphase jobphasename
so for the results would look similiar to:
Jobcode,Phase,Job or Jobphase name
100000,,Install Job
100000,0100,Lights
100000,0200,switches
100000,0300,rentals
100001,,RepairJob
100001,0100,Lights
100001,0200,switches
100001,0300,ServiceLabor
Any ideas?