PC Review


Reply
Thread Tools Rate Thread

Changing Field Property AllowZeroLength Doesn't Change Design

 
 
Dennis W. Bulgrien
Guest
Posts: n/a
 
      11th Sep 2003
Given that the first field of the first table is Type = dbText, AllowZeroLength
= False, why does CurrentDb.TableDefs(0).Fields(0).AllowZeroLength = True show
in Watch that AllowZeroLength becomes True but when I open the Design and look
at the field properties it is still False?


 
Reply With Quote
 
 
 
 
Dennis W. Bulgrien
Guest
Posts: n/a
 
      11th Sep 2003
I had had another of the table Design windows open. I closed it, ran VBA again,
same effect. I closed Access, reopened, still showed to be False, ran it again,
it stuck; Design property shows True. I'm happy now.

"Dennis W. Bulgrien" <dbulgrien vcsd com> wrote in message
news:%(E-Mail Removed)...
....why does CurrentDb.TableDefs(0).Fields(0).AllowZeroLength = True show
....field properties it is still False?



 
Reply With Quote
 
Tim Ferguson
Guest
Posts: n/a
 
      11th Sep 2003
"Dennis W. Bulgrien" <dbulgrien vcsd com> wrote in
news:#(E-Mail Removed):

> why does CurrentDb.TableDefs(0).Fields(0).AllowZeroLength = True show
> in Watch that AllowZeroLength becomes True


How do you know which table is indexed as TableDefs(0)? AFAIK, the order of
objects in system collections is by definition undefined, so there is no
way of knowing which table you are altering.

Try CurrentDB().Tabledefs("MyTable").Fields("MyField").etc...

B Wishes


Tim F

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
double quotes characters not accepted in AllowZeroLength field Ray C Microsoft Access Forms 2 2nd Sep 2008 08:21 PM
Changing selectable values for a property in design mode Jonas Pohlandt Microsoft VB .NET 0 1st Oct 2004 08:56 AM
Changing a table field property Stephen Microsoft Access VBA Modules 2 25th Nov 2003 01:07 AM
How to Change the same property of multiple fields in table design view Spidey3721 Microsoft Access 3 17th Nov 2003 01:07 AM
Changing .Location property of Appt. doesn't fully work Andrew Cushen Microsoft Outlook VBA Programming 2 12th Nov 2003 12:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:26 PM.