WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-10-2006, 05:17 AM
pete61uk's Avatar
pete61uk pete61uk is offline
WebProWorld Veteran
 

Join Date: Jul 2003
Location: United Kingdom - Wales
Posts: 353
pete61uk RepRank 0
Default Check box control of text box "is visible" propert

Hi,

In MS Access 2000, Forms-[Event Proceedure]: getting the is visible property of a text box to change using a check box (its properties true/false with false the default).

The "on-click" event works fine. However, when moving between recordsets on the form it remains visible despite in the new/following recordset the check box property is "false".

Any suggestions would be welcome
__________________
Pete

www.celna.co.uk

Nothing ever changes - Still stuck in the same damned corner!
Reply With Quote
  #2 (permalink)  
Old 02-10-2006, 05:22 AM
SteveF SteveF is offline
WebProWorld Pro
 

Join Date: Aug 2004
Location: UK
Posts: 130
SteveF RepRank 0
Default

Try the Oncurrent Event
if (it needs to be visible) then
tickbox.visible
else
tickbox.visible = false
__________________
SteveF
Projectors
Reply With Quote
  #3 (permalink)  
Old 02-10-2006, 08:02 AM
pete61uk's Avatar
pete61uk pete61uk is offline
WebProWorld Veteran
 

Join Date: Jul 2003
Location: United Kingdom - Wales
Posts: 353
pete61uk RepRank 0
Default

Hi Steve,

Thank you very much for your reply.

Typically, my logic slower than I can type for assistance, I have already realised my error and correctly placed the event proceedure as you suggested.

Sometimes, it appears, in formulating the question the solution bites you!

The error, should anyone be interested, was in placing the event on the control and not on the form.

Thanks again Steve.

Another, more complex problem, is that of cascading combo box lists. I've seen a good example where the list is restricted according to an earlier combo selection, but in this each lists' records are held within a seperate table.

I have seen none where a single table is used for all records from where the list needs to be restricted to only those relevant.

In this I am assuming an on Update proceedure to specifiy specific records from within the table but have not found any examples.

Further complicating the issue(?), there are 3 combo boxes, 1 on the Main Form and 2 on a subForm.

Any suggestions welcome
__________________
Pete

www.celna.co.uk

Nothing ever changes - Still stuck in the same damned corner!
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Tags: box, check, control, propert, quotis, text, visiblequot



Thread Tools
Display Modes

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

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



Search Engine Friendly URLs by vBSEO 3.0.0