Two Issues With Access Database App

Please support our MS Access and FileMaker Pro advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Mar 2005
Posts: 263
Reputation: Toulinwoek is an unknown quantity at this point 
Solved Threads: 2
Toulinwoek's Avatar
Toulinwoek Toulinwoek is offline Offline
Posting Whiz in Training

Two Issues With Access Database App

 
0
  #1
Jun 15th, 2006
I'm creating an app with an Access database backend, and I seem to have encoutered two problems that I can neither explain nor solve.

1. When I run the app, there is a blank record that I can neither edit nor delete, and I am forced to click to add a record. Why can't I edit or delete what seems like a blank record upon startup?

2. I have two checkboxes on the form, when I add a new record, I expect both to be in an unchecked state, but they always appear in an indeterminate state. In the IDE, I have the "Checked" property set to "False" and the "CheckedState" property set to "Unchecked". I also checked the database file itself, and the values of those fields are set to "null".

I would appreciate if anyone could either provide an answer, or point me to a source.

Thanks!
:!: In The Beginning, God; In The End, God. In between, believe whatever you like. :)
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 16
Reputation: Uncle Gizmo is an unknown quantity at this point 
Solved Threads: 0
Uncle Gizmo Uncle Gizmo is offline Offline
Newbie Poster

Re: Two Issues With Access Database App

 
0
  #2
Nov 7th, 2006
I am not entirely sure about your first question, I would probably need more information. however I think what you are referring to is just a blank record placeholder which Microsoft access automatically generates.

Regarding the check boxes, the reason they are gray is because there is an indeterminate value, usually referred to as a null value in the underlying table. If you open the form in design view and select the check box, open the property sheet for the check box, you will see listed a "default value" set the default value to "true" or "false" whichever you prefer. You can also use numbers, I think they are zero and -1. I think you can also use "yes" and "no"
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