Ethereal
Warcraft III Player
- Local time
- Today, 06:23
- Joined
- Jan 17, 2006
- Messages
- 99
OK, I have a table which has the following fields of relevence to my issure. SamID, SamSeqNo. SamID is allowed to have duplicates, as well as sam seqNo BUT the combination of the 2 is unique
1|1
1|2
1|3
2|1
2|2
2|3
3|1
4|1 Etc, ETC...
When a user enters something like 1|2 into that table, I want to make the table looklikt this
1|1
1|2 <--newly entered
1|3<--- old 1|2
1|4 < --- old 1|3
2|1
2|2 etc etc
i have two questions.
1) how do i implement the Dlookup function to detect duplicate records because at some pt between 1|1,1|2,1|3,1|4 it will look like 1|1,1|2,1|2,1|3
2) how to i call up a record and change one of its values ? to make the old 1|2 ===> 1|3 ? I am assuming this can all be done in vba. Or maybe a query ? Plz help!
1|1
1|2
1|3
2|1
2|2
2|3
3|1
4|1 Etc, ETC...
When a user enters something like 1|2 into that table, I want to make the table looklikt this
1|1
1|2 <--newly entered
1|3<--- old 1|2
1|4 < --- old 1|3
2|1
2|2 etc etc
i have two questions.
1) how do i implement the Dlookup function to detect duplicate records because at some pt between 1|1,1|2,1|3,1|4 it will look like 1|1,1|2,1|2,1|3
2) how to i call up a record and change one of its values ? to make the old 1|2 ===> 1|3 ? I am assuming this can all be done in vba. Or maybe a query ? Plz help!