B
Blair
I have 2 farms so I have 2 copies of the db in two different directies, but
when I put the farm name in one db it changes the name of the other so both
db's are using the same farm name file. I have included the way I managed to
save the farm name below. Does anyone have a suggestion on how I can isolate
each file.
Thanks Blair
Option Compare Database
Option Explicit
Public FarmName As String
Private Sub Form_Load()
Open "Farm Name" For Random As #1 Len = 50
Get #1, 1, FarmName
Close #1
Text1 = FarmName
End Sub
Private Sub Text1_AfterUpdate()
FarmName = Text1
Open "Farm Name" For Random As #1 Len = 50
Put #1, 1, FarmName
Close #1 ' Close file.
End Sub
when I put the farm name in one db it changes the name of the other so both
db's are using the same farm name file. I have included the way I managed to
save the farm name below. Does anyone have a suggestion on how I can isolate
each file.
Thanks Blair
Option Compare Database
Option Explicit
Public FarmName As String
Private Sub Form_Load()
Open "Farm Name" For Random As #1 Len = 50
Get #1, 1, FarmName
Close #1
Text1 = FarmName
End Sub
Private Sub Text1_AfterUpdate()
FarmName = Text1
Open "Farm Name" For Random As #1 Len = 50
Put #1, 1, FarmName
Close #1 ' Close file.
End Sub