View Full Version : populating multiple field values with checkbox


btrflym
07-12-2001, 08:48 AM
I have two sections of information in one table: ship to and bill to info. If the Bill to is the same as the Ship to, how do I make a checkbox to populate the fields from Ship to to Bill to automatically? I'm a beginner, so the simpler and more explained, the better - thanks!!!

charityg
07-12-2001, 11:21 AM
In the onClick event of the checkbox use something like this

if chkName-1 then
me!BillAddress=me!shipAddress
me!billCity=me!shipCity
me!billState=me!shipState
me!billZip=me!shipZip
end if

Just change the control names to suit you purpose and you should be set.

~Charity