How to make a query be displayed in a subform (in datasheet mode) with the criteria inserted in a text box (on the main form), after pressing a command button to run it?
How to make a query be displayed in a subform (in datasheet mode) with the criteria inserted in a text box (on the main form), after pressing a command button to run it?
Last edited by newyorkyankee; 10-31-2012 at 08:45 AM. Reason: Clarifying the post because the previous one had too many unimportant information.
You want a multi-value field? I NEVER use multi-value fields but that's what your table looks like.
http://office.microsoft.com/en-us/ac...001233722.aspx
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Hello June7, yes this is the case of a multi-value field and you're right, they suck. So my strategy is to first convert the text attributes into numerical attributes and then split them in records, because it's easier to deal with numbers than strings.
I will re-write the thread to be more specific. Thanks for helping!
Build a query that expands the multi-value field to separate records, as demonstrated in the referenced link. If you have a table that associates the string values with number ID, join that table to the expanded query. Can then run UPDATE or MAKE TABLE actions.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.