>>>ok I can't repreduse the error when I take the navigation buttons out of the form following is the add button code, the refresh code and the navigation code
>>>
>>>and yes I know this is gonna look like kiddie code, but it works
>>>if you want more code to try and help me just say
Stephen,
Working on the assumption (from Nadya's post) that the Refresh is taking too long to do it's stuff you could try the following
This only evaluates the RGB value once and IIF's are apparently faster
(i've only done a few lines but you get the idea)
I also find it easier to read :)
Local lnRed, lnGrey
lnRed = RGB(128,0,0)
lnGrey = RGB(128,128,128)
.chkPurchase_gen.DISABLEDFORECOLOR = IIF(START.Purchase_gen, lnRed, lnGrey))
.chkPurchase_rec.DISABLEDFORECOLOR = IIF(START.Purchase_rec, lnRed, lnGrey))
.chkPurchase_mod.DISABLEDFORECOLOR = IIF(START.Purchase_mod, lnRed, lnGrey))
.chkReceipt_mod.DISABLEDFORECOLOR = IIF(START.Receipt_mod, lnRed, lnGrey))
.chkVendor.DISABLEDFORECOLOR = IIF(START.Vendor, lnRed, lnGrey))
Will Jones