David McAfee
davidmcafee at gmail.com
Mon Mar 30 11:43:11 CDT 2009
Rocky, sorry I took so long to respond, here's how I did it in my old A97/A2K sample. I did it the "kludgey way" :) Create two text boxes: one named txtlblCompanyName, the other named txtCompanyName Here are the parameters for txtlblCompanyName: Control Source: =IIf(nz([txtCompanyName])="","Company Name","") Back Style: Normal Fore Color: 9868950 Text Align: Center Tab Stop: No Here are the parameters for txtCompanyName: Control Source: = nothing selected (my form was unbound) Back Style: Transparent Fore Color: 0 Text Align: General Tab Stop: Yes Click on txtlblCompanyName and "Send to Back" (Format ->Send To Back) Click on txtCompanyName and "Send to Front" (Format ->Send To Front) Position txtCompanyName directly over txtlblCompanyName and test. David McAfee 2009/3/29 Rocky Smolin at Beach Access Software <rockysmolin at bchacc.com> > A client writes in to ask: > > "Can combo boxes and text boxes be configured to display a pre-selected > text > if the field is null or the record is new. For example, could the fields > on > the TimeSheet that have no labels have the "labels" show on the combo box > or > text box until a user enters something for that field? " > > These are bound combos and text boxes. I can think of a couple kludgey > ways > to do this - overlays with label text that are visible only if there's > nothing in the field would be one. But is there a really good way? > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com <http://www.e-z-mrp.com/> > > www.bchacc.com <http://www.bchacc.com/> > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > >