Record Locking question

D

d9pierce

Hi all,
On my forms I have a checkbox with code to lock record and do certain
things on the form via code by using Tag on fields and such.

I also have a check box on one form that I use to enabel or disable a
field. Is there a way to use more than one tag on a single field such
as Txt or Cbo? If So, How? I have tried several things but seams to be
out of my knowledge.

Thanks
Dave
 
A

Allen Browne

Any object has only one Tag property.

If you really need the Tag to store multiple items, you can store a
delimited list, such as:
ShowThis=True; DisableThis = False; RememberSomething = 999

You can then use Split to parse the items into an array, and loop through
the array to find the value you want to know about.
 
D

d9pierce

Any object has only one Tag property.

If you really need the Tag to store multiple items, you can store a
delimited list, such as:
ShowThis=True; DisableThis = False; RememberSomething = 999

You can then use Split to parse the items into an array, and loop through
the array to find the value you want to know about.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.








- Show quoted text -

Thanks,
How did I just know this couldn't be something simple!
i just have to laugh at this point!
Thanks,
Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top