I am looking at extracting some data from a Clarion .TPS file and I have been using the TopScan Application to open them.
When I look at the tables there are lots of hidden fields.
Are they just protected fields i.e. to stop someone from seeing the information or are they something to do with the indexes?
Also would using the ODBC driver reveal what they are?
Reards
The first time you open a TPS table using Topscan, it only shows the first few columns (15 I think) and the rest are set as "hidden". This is only a feature of Topscan, not a developer or technical restriction.
To view them, click on the menu Column » Show/Hide.... It will show a dialog with all the columns in the table, click the button Select all and OK and all columns will be displayed.
After you close the table, a new file tablename.SCN will be created, it saves the visible/hidden status of the columns and any other changes you make the view (column width, position, picture, etc.)
Related
Ive built this exercise routine creation tool in Google Sheets. I can build the routines from other sheets where I search & select the exercises and then populate my template (the right side of the image below). I've added Save functionality where I can then save all my routines (on the right side of the image) and call them up again to edit individually as needed.
The next step in my project is to be able to search through the existing rows of data on the right (each routine is in one row) by using keywords from the dropdowns at the top. So If I wanted to see all the beginner workouts, I select "Beginner" from the dropdown, and by creating a button called "Search Routines" I will then be able to populate my template with records matching the "Beginner" keyword. I want to be able to scroll through each routine (record) (Next,Previous) until I find a suitable routine for my client, and then print it.
I've been searching for days. Literally. Without luck. Seems like I need to connect my sheet to an external form builder or database that allows you to scroll though records meeting the search criteria. I'd love to be able to build something inside Sheets, however.
https://docs.google.com/spreadsheets/d/1HLmN_ukXuWHxUaq4TEVcZG22fAJMMw9ksaIInLGTwao/edit?usp=sharing
Any ideas?
try to filter it:
=FILTER(H:L; H:H=D1)
How do people tend to let users re-order the grid columns and save that ordering for later?
The only way I can think of to do it, at least in Vaadin 7, is:
Listen for column re-ordering via addColumnReorderListener(…)
When re-order triggered, if user initiated, get columns from getColumns() and save to DB with any identifying information
When pull Grid back up, read grid ordering from DB and apply the same order with setColumnOrder(columns)
So is there a better way to do this? I just checked the Directory, could not find anything obvious to make this easier. Just looking for how others have addressed this user requirement. If Vaadin 14 already supports such actions a little easier, that would be good to know as well, as it might give me some ideas on how to get that ability short term before I can upgrade to Vaadin 14.
For a more customizable grid you can (in addition to what you've already done) add a button that opens a dialog that lists all possible columnnames, together with a checkbox.
Unchecking the checkbox removes the column, checking the checkbox adds the column.
Even more comfortable is when the dialog lists all available columns in a Grid with draggable rows and editable checkboxes, so that the user can show, hide and sort all columns in one place. After that you have to reorder all columns by calling grid.setColumnOrder.
Just so people know how I solved this issue, based on the comments:
When load data into Grid, first check database for columns of this Grid/user combination. If find such a column order, call setColumnOrder(userColumns).
Added 2 buttons to top, one to save column order, one to reset it.
"Save" button only enabled after moving at least one column.
"Reset" button only enabled if at least one column was moved. One column was moved either because of the DB, or because user JUST moved a column.
On save, save to DB. On reset, clear from DB, and reset Grid to original column order.
We chose not to save the column order each time they changed the order, directly in the addColumnReorderListener, because we realized sometimes users might move columns around temporarily, and one really want to save that column order for the future. That said, the saving inside the addColumnReorderListener worked well.
We don't currently need to save the column sizes, as suggested by #Simon Martinelli, but we are keeping it as an idea for the future. I fully expect it would work.
I created a simple DB with Database desktop (Name, Age, Mail, Place etc.).
One name can include more Places (for example Steve: London, Bukarest, Ukraine).
I want to choose from these places in a new checklistbox or similar component. Is there any way to add these items from the DBGRID into the checklistbox to choose from?
I could not find any tool in the Data controls palette where i can select more items.
dgMultiSelect in dbgrid-->Options allows users to select more than one row.
IIRC it returns bookmarks which are not the easiest thing to work with :(
I've been looking around for quite some time, and I'm not entirely sure how to accomplish this in Sharepoint 2007.
I'm trying to create a web part view that takes the entries of a particular data source, groups the entries by the user, and then sums up a calculated column from said source.
I've found similar tutorials online about creating the web part views and making calculated columns; however, I can't figure out how to sum up the columns for each user listed.
Any ideas?
If you are using a List View Web Part, modify your view by selecting "Modify this view" in the view-picker (drop down list at the top right of the web part).
On the view settings page, expand the Group By section and specify which column(s) you will group by. Expand the Totals section and select which aggregations you want to perform on which columns.
Click OK.
The results are overall totals at the top of the column, and group totals above each group.
I have a SharePoint feature which programatically creates 3 lookups in a custom list, one from each of 3 different lists via extremely similar CAML markup.
The only differences in the CAML are the List, ID, Name, DisplayName and StaticName properties yet one of these lookups looks slightly different (has a slightly more "modern" drop-down arrow) than the other two and this same menu requires I double-click in order to select an item instead of single-clicking as I do with the other lookups.
Might anyone have seen this before and have an idea of what I might look into to make this lookup operate as a single-click menu?
The style of dropdown displayed is usually related to the number of items, although it also renders as a standard select element when viewed in firefox.
For any other field type it would make sense to create a custom field control, but due to code that expects things to be named "Lookup", lookup fields are next to impossible to extend.
The best way to customize a specific field is probably with javascript/jquery. When you click on the dropdown arrow, ShowDropdown (in core.js) is called. This creates a select element with options set from the pipe delimited list in the choices attribute of the textbox.
Add some code to the page so that on load EnsureSelect and FilterChoice or similar are called to create the select element. Set properties on the textbox and select elements so that the textbox as hidden and the select element is a visible dropdown. Have SetCtrlFromOpt called on change rather than on blur/double click so that the control that the server will read and save is properly updated.
The same approach could be used to keep the combo box but add a click event to set the value rather than requiring a double click.
How many items has the source list of every lookup field?
Lookup fields shows a "Combo" when the source list has 10 items (I'm not sure if 10 item is the exact limit). When the source list has more than 10 items the lookup field shows a "ListArea" control that works as you said.
I have exactly the same problem. One difference I have noticed is that the one listbox that requires a double-click is a lookup field, whereas the one that doesn't is a choice field with pre-populated choices. Don't know if that helps.