hmm,iam kind of newcomer at BC,pls help me how to this
I have 2 file to compare,example
File 1:
[Data 1]//every record always begin by this [Data No.] and ended by 1 blank space
Name=Data
Address=Add
Buy=
Phone=
Detail=
[Data 2]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
//and so on (i have sumthing like 7000+ record)
File 2:
[Data 1]//every record always begin by this [Data No.] and ended by 1 blank space
Name=Data
Address=Add
Buy=-
Phone=-
Date=-
Reason=
Detail=
[Data 2]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Date=
Detail=
//and so on (i have sumthing like 7000+ record)
the question is i want the file compared by reading the [Data No.] and ended by blank space, not
so if sumthing diff from Record [Data 1] File 1 and Record [Data 1] File 2 it showed.Have tried
with default BC rules,sumtimes(hmm,my english so bad,so i think it will be good if give u example:
[Data 1]//every record always begin by this [Data No.] and ended by 1 blank space
Name=Data
Address=Add
Buy=
Phone=
Detail=
[Data 2]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
[Data 3]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
[Data 4]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
File 2:
[Data 1]//every record always begin by this [Data No.] and ended by 1 blank space
Name=Data
Address=Add
Buy=-
Phone=-
Date=-
Reason=
Detail=
[Data 2]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Date=
Detail=
[Data 4]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
[Data 3]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
[Data 5]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
as u can see file 1 have Data Record 1,2,3,4 but file 2 have 1,2,4,3,5 . if i use default rules the BC if given like that state
always Compare [Data 3] in file 1 with [Data 4] in file 2 and [Data 4] in file 1 with [Data 3] in file 2.what i want is BC compare
by Data Number so [Data 3] file 1 compared with [Data 3] file 2 even the Data record skipped by other Data no. , and 1 more thing
after that condition i want BC leave Data Record which didn't have 'pair' (like [Data 5] on file 2 , file 1 didn't have [Data 5] right so
DC will put it down of the compared result.Thx for reading,really need your help
I have 2 file to compare,example
File 1:
[Data 1]//every record always begin by this [Data No.] and ended by 1 blank space
Name=Data
Address=Add
Buy=
Phone=
Detail=
[Data 2]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
//and so on (i have sumthing like 7000+ record)
[Data 1]//every record always begin by this [Data No.] and ended by 1 blank space
Name=Data
Address=Add
Buy=-
Phone=-
Date=-
Reason=
Detail=
[Data 2]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Date=
Detail=
//and so on (i have sumthing like 7000+ record)
so if sumthing diff from Record [Data 1] File 1 and Record [Data 1] File 2 it showed.Have tried
with default BC rules,sumtimes(hmm,my english so bad,so i think it will be good if give u example:
[Data 1]//every record always begin by this [Data No.] and ended by 1 blank space
Name=Data
Address=Add
Buy=
Phone=
Detail=
[Data 2]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
[Data 3]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
[Data 4]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
[Data 1]//every record always begin by this [Data No.] and ended by 1 blank space
Name=Data
Address=Add
Buy=-
Phone=-
Date=-
Reason=
Detail=
[Data 2]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Date=
Detail=
[Data 4]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
[Data 3]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
[Data 5]
Name=Data
Address=Add
Buy=
Phone=
Reason=
Detail=
always Compare [Data 3] in file 1 with [Data 4] in file 2 and [Data 4] in file 1 with [Data 3] in file 2.what i want is BC compare
by Data Number so [Data 3] file 1 compared with [Data 3] file 2 even the Data record skipped by other Data no. , and 1 more thing
after that condition i want BC leave Data Record which didn't have 'pair' (like [Data 5] on file 2 , file 1 didn't have [Data 5] right so
DC will put it down of the compared result.Thx for reading,really need your help
Comment