B
Brent
Creating a sequencial membership number based on previous record using DMax.
While the code works great, I need to protect the records with membership
numbers already assigned in that the code is executed upon "Click". Tried
criteria portion of DMAX but always returns a DataType error.......The field
is Number. Code: [mem num]=dmax("[mem num]","memberlist") + 1 ----this
works, but
--[mem num]=dmax("[mem num]","memlist",[mem num]![memlist] is null
results in a "type mismatch"......mem num is set as a number in properties.
Please Help ...... Same error when attemping the "if" statement
Brent
While the code works great, I need to protect the records with membership
numbers already assigned in that the code is executed upon "Click". Tried
criteria portion of DMAX but always returns a DataType error.......The field
is Number. Code: [mem num]=dmax("[mem num]","memberlist") + 1 ----this
works, but
--[mem num]=dmax("[mem num]","memlist",[mem num]![memlist] is null
results in a "type mismatch"......mem num is set as a number in properties.
Please Help ...... Same error when attemping the "if" statement
Brent