Thanks for your excellent suggestions.

I'm done!
here is my rough result for the people interested.
table 1 is the tick table first column needs to be called name the other columns can be any name.
table 2 is the result table
column 1 needs to be called name column 2 to needs to be called tick
The program is my rough draft looks a bid differnt in my project but has all the basics.
Maybe a bid odd to read for some of you but it corresponding to my JSP flow chart (Yes I'm old school)
----------------------------------------------------------------------
Function tickIT()
'JanZ June 2010
'INIT THE NEEDED PARAMETERS
Dim db As Database
Dim rstdb1, rstdb2 As Recordset
Dim sql As String
Dim ResultS As String
Dim skipC, skipCC As Long
'open table one in tick format
Set db = CurrentDb
sql = "SELECT Table1.* FROM Table1;"
Set rstdb1 = db.OpenRecordset(sql)
rstdb1.MoveFirst
'open table2 in named format
sql = "SELECT Table2.name, Table2.tick FROM Table2;"
Set rstdb2 = db.OpenRecordset(sql)
'END INIT THE NEEDED PARAMETERS
'1*1*1 REPEAT FOR ALL LINES IN DB1
Do While rstdb1.EOF = False
ResultS = ""
'1@4@2 ORDER SET COLUMN TO SKIP
skipC = 1
skipCC = 0
'1@4@2 END ORDER SET COLUMN TO SKIP
'2@4@2 DO
'1*1*3 REPEAT FOR ALL COLUMNS
For Each fld In rstdb1.Fields
skipCC = skipCC + 1
'1?3?4 QUESTION SKIP COLUMN
If skipCC <= skipC Or skipCC > rstdb1.Fields.Count - 1 Then
'no action goto next column
'1?3?4 END QUESTION SKIP COLUMN
Else
'1?3?4 QUESTION FOUND A 1
If rstdb1(fld.Name) = 1 Then
ResultS = ResultS & "," & rstdb1.Fields(skipCC).Name
'1?3?4 END QUESTION FOUND A 1
'2?3?4 QUESTION ALL OTHERS
Else
'END 2?3?4 QUESTION ALL OTHERS
End If
End If
Next fld
'1*1*3 END REPEAT FOR ALL COLUMNS
'2@4@2 END ORDER DO
'3@4@2 ORDER SAVE COLUMN
With rstdb2
.AddNew
!Name = rstdb1.Name
!tick = ResultS
.Update
End With
'3@4@2 ORDER END SAVE COLUMN
'4@4@2 ORDER NEXT LINE
rstdb1.MoveNext
'4@4@2 END ORDER NEXT LINE
Loop
'1*1*1 END REPEAT FOR ALL LINES IN DB1
'CLEAN
rstdb1.Close
rstdb2.Close
db.Close
'END CLEAN
End Function