Thick Box + Sql insert

krzysiekk

Registered User.
Local time
Today, 11:53
Joined
Dec 2, 2009
Messages
74
Hi

I got form with calculated fields next step I created button which will be posted into table data from 6 fields

What I want to do is create thick box and if thick box is not selected for one field and selected for 5 other fields after pressed button script will be posted just 5 fields

I using standard sql insert procedure

Please advice
 
Sounds like you are storing the results from the calculations. This is not normally done. Instead a query is used to calculate the results as required.

How does the user decide which boxes to tick? If this can be expressed as a formula then the whole job can be automatic.

To store the values using SQL, the query is created dynamically in VBA. The code loops through the check boxes and adds the values to the query according to the ticks.
 

Users who are viewing this thread

Back
Top Bottom