How to handle dynamic tables and fill the data in test rigor - testrigor

How to handle dynamic tables and fill the data in test rigor.
We have tables displayed according to the item selected and number of rows vary based on the item, our goal is to fill some column data. how to achieve this using test rigor

You can use the conditional (if exist) for an unknown amount of rows.
As an example, consider the following table which has rows
101, 102, and 103:
enter image description here
Let's assume that the table's amount of rows can vary from 1 to 5 rows or more.
In this case from 101 to, say, 105. Well, the following conditional should
handle the extra rows if they exist:
enter "It's a trap!" into table "actions" at row "101" and column "Additional Data" if exist
enter "It's a trap!" into table "actions" at row "102" and column "Additional Data" if exist
enter "It's safe." into table "actions" at row "103" and column "Additional Data" if exist
enter "Where am I?" into table "actions" at row "104" and column "Additional Data" if exist
enter "Hello There!" into table "actions" at row "105" and column "Additional Data" if exist

Related

MS Access form: Mother combo box not showing correctly in table, but daughter combo is

I set up two combo boxes, a mother and daughter. Mother (one) controls the daughter (many). Mother consists of 7 columns, I only need 2 to display correctly. the first column is the Identifier column, the second column is the name. Once the item in the mother combo is selected, the daughter is filtered to only show those associated names to the mother.
Everything works fine, but, when I look at the data in the table, the identifying number is in the name column where there should be a name. In the properties I have the following set up:
Tab Format: Column Count 7
Column Width: 1;3;0;0;0;0;0
Tab Data: Bound Column 1
When I change this to 2, it puts the proper information into the table, but it breaks the link to the daughter - I see no information in the daughter combo box in the form.
Row source is basically a query from the table where this data is being retrieved.
Daughter cell has basically the same set up except in the Row source query, the associating ID column has code that goes something like: [Forms]![frm_Master]![cboMain] - in the Criteria of the MainIDs column. This column is the key column in the Mother table.
Forgive me - as I'm a newby at this I'm happy to work offline. I may have done this completely wrong, but, I don't think so, because most of it works except that one piece.
Edit: The row source for the mother is as follows.
SELECT tbl_Main.MainIDs, tbl_Main.MainAccount, tbl_Main.Main_City, tbl_Main.Main_State, tbl_Main.Main_mgr, tbl_Main.MainE, tbl_Main.Main_Date FROM tbl_Main GROUP BY tbl_Main.MainIDs, tbl_Main.MainAccount, tbl_Main.Main_City, tbl_Main.Main_State, tbl_Main.Main_mgr, tbl_Main.MainE, tbl_Main.Main_Date ORDER BY tbl_Main.MainAccount;

Combo Box Dropdown List from Table

First time creating forms to insert into a database.
I'm trying to create a drop down combo box that lists the entries in the second column...
This is in a seperate table. The issue I'm running into is how do I show what's in the Description column, but when I insert into the form, it's corresponding PMRT_Need value is put in the table.
The database is as such that it HAS to be the PMRT_NEED value unfortunately.
Thanks for your time!
After setting the Row Source to your appropriate table/query:
Set the Bound Column to column 1 (i.e. the PMRT_NEED field)
Set the Column Count to 2
Set the Column Widths to something like 0cm;5cm (adjusting the second width to suit your data) such that the first column isn't displayed to the user.
This ensures that your combo box returns the value of the PMRT_NEED field for the selected item, but only the Description is displayed to the user.

Displaying columns that contain no data

These is a sample data that I'm getting right now:
... where row 3 of the header is a 'Priority'. Group 3 has no records with Priority 1, 3, or 4, so the report only shows 1 column with Priority 2 for that group. What I need is to display all 4 columns for each group, even if there are no records with this priority, it just should have zeros as a count in that column. Here is an example of what this should look like:
Any help is greatly appreciated!
Depending on how your database is set up, try this:
Go to file -> report options -> and check "Convert Database NULL Values to Default" and "Convert Other NULL Values to Default." The reason why it's doing this, is because the value is not 0, it is actually just null.
You would have to create an 'expected' table with the PK values from your source table. Including even the ones without data, then left outer join the expected table with your actual source.
Or you can use a 'union all' on the rows from your source table and the stub rows with values of zero instead of null.

How to show the result of a subreport only when a column value in the master report changes

I want to show the result of a subreport only when a column value in the master report changes
In the picture above first two rows have same values (Test) for "Name" column.
in the third row "Name" column have FEDEX value so Name column value changing
here I want to show subreport result. similarly when "Name" column value changes from FEDEX to UPS again subreport result should be shown.
In the report designer, you can add a group. The group by expression should be the $F{Name} field. Then, if needed, you can add a group header and / or a group footer.
Everything should be in place with this. Also, you should check the comment from AlexK on your other question: Did you read about Data Grouping?

Conditionally clear content of cells subject to Data>Validity

In CALC I have a column which I set up to be filled with values from a specified cell range (using Data > Validity menu). This column represent a "Forecast date" in a spreadsheet used as a TODO list. Now another column in this sheet represent the effective date when an item is done.
I would like that, when this "Done Date" column is filled in a row, then the corresponding value in the "Forecast date" disappears. I thought it would be straightforward to put in the Forecast date column a formula IF(ISBLANK()) but I can't have in this column a formula AND a Data>Validity: if I choose an item in the list the formula is cleared, etc. Is there a way to do so?
Edit:
Screenshot as requested. Column A is where user selects a date within the list, and I want to remove that date if something is filled in Column B.