dbTalk Databases Forums  

Continuous forms colours

comp.databases.ms-access comp.databases.ms-access


Discuss Continuous forms colours in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Phil
 
Posts: n/a

Default Re: Continuous forms colours - 11-17-2011 , 12:32 PM






On 17/11/2011 18:21:27, "Albert D. Kallal" wrote:
Quote:
Ok so as noted my suggestion was based on if the colors can be hard
coded and not really be charged by end users.

You digging up code to add CF seems like a good idea - I not aware of
some vba 3 limit bug but you have to use the newest file formats and
not a mdb but acceb

Albert k.

Using Access 2010, but without the SP1 applied. Last time I tried that the
SP1 the program consistantly crashed the seconon time after doing a decompile
and compact as well as just after a compact. I believe there is a fix for
this, but quite frannkly I'm scared to try it again. Phil

Reply With Quote
  #12  
Old   
Albert D. Kallal
 
Posts: n/a

Default Re: Continuous forms colours - 11-17-2011 , 11:13 PM






"Phil" wrote in message news:ja3k02$brd$1 (AT) speranza (DOT) aioe.org...

Quote:
Using Access 2010, but without the SP1 applied. Last time I tried that the
SP1 the program consistantly crashed the seconon time after doing a
decompile
and compact as well as just after a compact. I believe there is a fix for
this, but quite frannkly I'm scared to try it again. Phil
I seen this issue somewhere, but cannot remember the fix. I thought the
issue was that you have to use a accDB in place of mdb.


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
Pleasenospam_kallal (AT) msn (DOT) com

Reply With Quote
  #13  
Old   
Albert D. Kallal
 
Posts: n/a

Default Re: Continuous forms colours - 11-19-2011 , 08:29 AM



"Albert D. Kallal" wrote in message
news:BPlxq.22279$Mg.8638 (AT) newsfe13 (DOT) iad...

"Phil" wrote in message news:ja3k02$brd$1 (AT) speranza (DOT) aioe.org...

Quote:
Using Access 2010, but without the SP1 applied.
As a follow up - just to be sure, you are using A2010, but you are using a
accDB file?

Most of the new features for 2010 cannot be used in older format mdb files.
I reasonable sure you checked this, but my spider sense says the 3 limit for
CF should only exists in mdb files.

Have you tried manually adding say 5 CF's to a database - does that work?

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
Pleasenospam_kallal (AT) msn (DOT) com

Reply With Quote
  #14  
Old   
Phil
 
Posts: n/a

Default Re: Continuous forms colours - 11-19-2011 , 08:46 AM



On 19/11/2011 14:30:02, "Albert D. Kallal" wrote:
Quote:
"Albert D. Kallal" wrote in message
news:BPlxq.22279$Mg.8638 (AT) newsfe13 (DOT) iad...

"Phil" wrote in message news:ja3k02$brd$1 (AT) speranza (DOT) aioe.org...

Using Access 2010, but without the SP1 applied.

As a follow up - just to be sure, you are using A2010, but you are using
a
accDB file?

Most of the new features for 2010 cannot be used in older format mdb
files.
I reasonable sure you checked this, but my spider sense says the 3 limit
for
CF should only exists in mdb files.

Have you tried manually adding say 5 CF's to a database - does that
work?

Thanks for following up.
The problem is solved, but just to keep you in the picture
Yes, I am using Access 2010 wit AccDbs.

The line
Set FormatCond = Me!AreaColour.FormatConditions.Add _
(acExpression, (acExpression, , "[AreaColour] = " &
Me.RecordsetClone!AreaColour)

only works up to a limit of 3 times .... unless
If you manually add 4 conditions, then that line works fine up to the limit
of 49 or is it 50. So in the code I posted, that is why I deleted the format
conditions, but left the last 4. I then added about another 10 format
conditions, making 14 in all, then applied the new formats to the 4th
condition onwards up to the 14 condition.

Phil

Reply With Quote
  #15  
Old   
Albert D. Kallal
 
Posts: n/a

Default Re: Continuous forms colours - 11-20-2011 , 12:33 PM



"Phil" wrote in message news:ja8ffm$35k$1 (AT) speranza (DOT) aioe.org...

Quote:
only works up to a limit of 3 times .... unlessIf you manually add 4
conditions, then that line works fine up to the limit
of 49 or is it 50. So in the code I posted, that is why I deleted the
format
conditions, but left the last 4. I then added about another 10 format
conditions, making 14 in all, then applied the new formats to the 4th
condition onwards up to the 14 condition.
Ok, dogs barking and yelping in the night - who would have guessed?

Thanks for the follow up.


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
Pleasenospam_kallal (AT) msn (DOT) com

Reply With Quote
Reply




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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.