Hi all there.
I have to do a certain task, that would otherwise not require this, but it’s asked anyway.
The task is to create a form, in which the user can check the data of a table and modify the contents of that table through buttons, and therefore, I need to write the macros that affect the table control element in the form and more specifically columns.
To be more precise I have to create buttons to:
1-Change all the values of a column of the table from S to N(and would be very nice to be able to switch back)
2-Hide a specific column from the table
3-Create a small filter that will make the table show only one specific result(aka search engine, I was thinking about adding a filter for one column and the data of the filter should be a string taken from a textbox)
Now, I’m not really… that experienced writing macros and most of the things I have managed so far have been thanks to small tutorials and a manual, but I’m still left dazzled by many things, because I don’t know how to make the code reference the table control and change it, I have only been able to add text to the form in itself and parts of it and recording the macro has not helped(doesn’t seem to record anything that happens inside table control).
So if I were to be more specific: How can I make a macro for an element inside a form and what functions and syntaxis do I have avaliable to change things inside a table control?
The table I want to change is inside the odb.