<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello Group,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>i have a form in which i can make 10 selections for
products, by checkboxes.</FONT></DIV>
<DIV><FONT face=Arial size=2>For each product their are several fields that
contain data, also for each produkt there are several other checkboxes that
gives you the possibillity for selections on different levels. With the
data from these produkts i make standard letters with code Nr2 from Helen
Feddema.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have troubles with the code for making the right
selections.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>For example</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>If chbProduct1 = True then</FONT></DIV>
<DIV><FONT face=Arial size=2>.Item("ProductCode1").Value =
Nz(Me![txtProductCode1])</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>' when this checkboxes is true the productCode1
must always be placed</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>' For this product1 i have 3 different checboxes.
When one of these is True (only one can be true and only when chbProdukt1 =
True) then i need the data places that belongs to this
checkboxes</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> <FONT face=Arial size=2>chbA1 = True then</FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>.Item("Aantal1").Value = "2000"</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>.Item("Prijs1").Value = Nz(Me![txtA1</FONT><FONT
face=Arial size=2>])</FONT></DIV>
<DIV> </DIV>
<DIV>chbB1 = True then</DIV></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2> <FONT face=Arial
size=2>.Item("Aantal1").Value = "3000"</FONT>
<DIV>
<DIV><FONT face=Arial size=2>.Item("Prijs1").Value = Nz(Me![txtB1</FONT><FONT
face=Arial size=2>])</FONT></DIV>
<DIV> </DIV>
<DIV>
<DIV>chbC1 = True then</DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2> <FONT face=Arial
size=2>.Item("Aantal1").Value = "4000"</FONT>
<DIV>
<DIV><FONT face=Arial size=2>.Item("Prijs1").Value = Nz(Me![txtC1</FONT><FONT
face=Arial size=2>])</FONT></DIV></FONT></FONT></DIV></DIV></DIV>
<DIV> </DIV>
<DIV>' How can i place these code together in a way that when chbProdukt1 =
true, the Produktcode is placed and i can make a selection of one of the three
checkboxes A1, B1, or C1so that only the data from one of these checkboxes is
placed.</DIV>
<DIV> </DIV>
<DIV>' And this i have to do for then products, maybe in total there is a
shorter way also.</DIV>
<DIV> </DIV>
<DIV>TIA</DIV>
<DIV><BR>Pedro Janssen</DIV></FONT></FONT></DIV></DIV></BODY></HTML>