Good day all, newbie here.
I have written the code to output the checkbox to a txt file for record purposes. The "Tick"......... . so that at run time it reads the "setting" of this box.
[CODE=vb]Dim set1 As String
fileName = App.Path & "\" & "\data\set1.txt "
set1 = FreeFile
Open fileName For Output As #set1
Print #set1, Check1
Close #set1[/CODE]
Firstly in my text file the result is listed as " 1" - Is that correct?
Secondly on reading the data back I am not sure what the parameter should be in the code below marked with "?" error = Method or datamember not found
[CODE=vb]Dim set1 As Integer
fileName = App.Path & "\" & "\data\set1.txt "
set1 = FreeFile
Open fileName For Input As #set1
While Not EOF(set1)
Line Input #set1, tempStr
Check1.Text ??????? = Check1.Text ???????? & tempStr
Wend
Close #set1[/CODE]
If anyone could shed light it would be appreciated
Thanks
I have written the code to output the checkbox to a txt file for record purposes. The "Tick"......... . so that at run time it reads the "setting" of this box.
[CODE=vb]Dim set1 As String
fileName = App.Path & "\" & "\data\set1.txt "
set1 = FreeFile
Open fileName For Output As #set1
Print #set1, Check1
Close #set1[/CODE]
Firstly in my text file the result is listed as " 1" - Is that correct?
Secondly on reading the data back I am not sure what the parameter should be in the code below marked with "?" error = Method or datamember not found
[CODE=vb]Dim set1 As Integer
fileName = App.Path & "\" & "\data\set1.txt "
set1 = FreeFile
Open fileName For Input As #set1
While Not EOF(set1)
Line Input #set1, tempStr
Check1.Text ??????? = Check1.Text ???????? & tempStr
Wend
Close #set1[/CODE]
If anyone could shed light it would be appreciated
Thanks
Comment