Quote from
m.burdess on June 22, 2026, 4:42 pm
Can anyone point me to where to find the answer to my problem.
I want to be able to copy new records from on table to another and not to delete the data and copying it again.
ie: if I add 30 records, it only copies the selected fields from these records, to make the Master index.
Regards
Michael
dbpQuery "GOON" "MASTER" "CAT = [#34]GRO Index[#34]"
If "[GOON.MASTER.$RecCount]" "=" "0"
dbpExecSQL "GOON" "INSERT INTO Master|SELECT AFN_R,CAT,SUBCAT,SURN,Givn,EDATE FROM GRO;" ""
Else
MessageBox "Delete" "Delete all found records?" "Yes?No" "[Result]"
If "[Result]" "=" "1"
EndIf
EndIf
Can anyone point me to where to find the answer to my problem.
I want to be able to copy new records from on table to another and not to delete the data and copying it again.
ie: if I add 30 records, it only copies the selected fields from these records, to make the Master index.
Regards
Michael
dbpQuery "GOON" "MASTER" "CAT = [#34]GRO Index[#34]"
If "[GOON.MASTER.$RecCount]" "=" "0"
dbpExecSQL "GOON" "INSERT INTO Master|SELECT AFN_R,CAT,SUBCAT,SURN,Givn,EDATE FROM GRO;" ""
Else
MessageBox "Delete" "Delete all found records?" "Yes?No" "[Result]"
If "[Result]" "=" "1"
EndIf
EndIf