Reply

Join Date: Aug 2008
Posts: 9
Reputation: breezyy is an unknown quantity at this point 
Solved Threads: 0
breezyy breezyy is offline Offline
Newbie Poster

Checkboxes

 
0
  #1
Aug 16th, 2008
So here I am, with a new problem lol,
I have a form, and it saves its information in a random file. Now, is there any way to save the values of the check boxes in the file, and so as i can retrieve them later?

Private Sub cmdSave_Click()

    With reservation
        .chkboxA = chkboxA.Value
        .chkboxB = chkboxB.Value
        etc, etc,
        
    End With
     
    Put #fnum2, recno2, reservation
    
End Sub

Right now, when i run the code , it says I can't Get or Put an object reference variable/udt containing an object reference.
Am not really sure that it's the right way to proceed, and hope you guys can enlighten me


Thanks
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 9
Reputation: gsbr is an unknown quantity at this point 
Solved Threads: 0
gsbr gsbr is offline Offline
Newbie Poster

Re: Checkboxes

 
0
  #2
Aug 16th, 2008
Hi,

Need to see the declarations and setting up
Like :
Dim recno2 as long

or
Dim Records(50) as long
How many records ?
etc..
In other words
a bit more details ...like the program
Them one could help.
f=freefile

Open #f as ....for ....
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC