Re: dynamic check boxes
- From: "Richard Harison" <noway@xxxxxxxxxxx>
- Date: Thu, 15 Dec 2005 16:34:32 -0500
Hi Tina...
working hard, even though I minimized variable name changes. Was careful to
change names in SQL & VB Code. Unfortunately this problem exists on closing the
main form:
Private Sub cmdClose_Click()
DoCmd.Close , , acSaveNo
CurrentDb.Execute "DELETE * FROM tblAttendees WHERE aPresent = False", _
dbFailOnError
End Sub
Displays a compile error "variable not defined" (dbFailOnError). Suspect this
close event is what filters the report for only attendee volunteers, as when I
preview a sample report, ALL volunteers print out, even tho only 3 checked.
On your demo...the close event runs fine. So what's up?
--
All the Best
Richard Harison
"tina" <nospam@xxxxxxxxxxx> wrote in message
news:ew5of.156304$qk4.19564@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> you're welcome. :)
> the "key" to how the setup works is in the tables' primary and foreign key
> fields and the table relationships. if you study the demo forms to
> understand how those fields/relationships are utilized, you should be able
> to "translate" the setup for your db, using your own table/field names.
>
> hth
>
>
> "Richard Harison" <noway@xxxxxxxxxxx> wrote in message
> news:u6jE$pOAGHA.532@xxxxxxxxxxxxxxxxxxxxxxx
>> WOW!
>> Thanks so much Tina. I had a hunch that a many-to-many relationship was
> in the
>> works somehow! My final problem now is to replace the sample volunteer
> table
>> with the real one, which of course has its own field names, which I cannot
>> change without disrupting the entire database. (the query, SQL etc.)
>> So thanks again for your valuable help!!!
>>
>> --
>> All the Best
>> Richard Harison
>>
>>
>
>
.
- References:
- dynamic check boxes
- From: Richard Harison
- Re: dynamic check boxes
- From: tina
- Re: dynamic check boxes
- From: Richard Harison
- Re: dynamic check boxes
- From: tina
- Re: dynamic check boxes
- From: Richard Harison
- Re: dynamic check boxes
- From: tina
- Re: dynamic check boxes
- From: Richard Harison
- Re: dynamic check boxes
- From: tina
- Re: dynamic check boxes
- From: Richard Harison
- Re: dynamic check boxes
- From: Richard Harison
- Re: dynamic check boxes
- From: Richard Harison
- Re: dynamic check boxes
- From: tina
- dynamic check boxes
- Prev by Date: Re: Help with balance calculation....
- Next by Date: Where have I gone wrong with this bit of code?
- Previous by thread: Re: dynamic check boxes
- Next by thread: Re: dynamic check boxes
- Index(es):
Relevant Pages
|