<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.optisoft.co.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Search_Tab</id>
	<title>Search Tab - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.optisoft.co.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Search_Tab"/>
	<link rel="alternate" type="text/html" href="https://www.optisoft.co.uk/wiki/index.php?title=Search_Tab&amp;action=history"/>
	<updated>2026-05-14T12:25:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.optisoft.co.uk/wiki/index.php?title=Search_Tab&amp;diff=709&amp;oldid=prev</id>
		<title>Abrown at 11:04, 30 May 2012</title>
		<link rel="alternate" type="text/html" href="https://www.optisoft.co.uk/wiki/index.php?title=Search_Tab&amp;diff=709&amp;oldid=prev"/>
		<updated>2012-05-30T11:04:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:04, 30 May 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l87&quot;&gt;Line 87:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 87:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Using &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;Report Generator|Back]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Using Report Generator|Back]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Abrown</name></author>
	</entry>
	<entry>
		<id>https://www.optisoft.co.uk/wiki/index.php?title=Search_Tab&amp;diff=708&amp;oldid=prev</id>
		<title>Abrown: Created page with &quot;All of Optisoft’s data is stored in tables relating to a specific element, the Patients table, for example, contains the patient data. These tables are broken down into fields,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.optisoft.co.uk/wiki/index.php?title=Search_Tab&amp;diff=708&amp;oldid=prev"/>
		<updated>2012-05-30T11:04:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;All of Optisoft’s data is stored in tables relating to a specific element, the Patients table, for example, contains the patient data. These tables are broken down into fields,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;All of Optisoft’s data is stored in tables relating to a specific element, the Patients table, for example, contains the patient data. These tables are broken down into fields, for example the FirstNames, Surname and Date of Birth fields.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example 1 ==&lt;br /&gt;
&lt;br /&gt;
In this example we will create a set of criteria that will find all of the patients with the surname of Smith.&lt;br /&gt;
&lt;br /&gt;
*Select the Patients table in the table box&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;IMAGE HERE&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Select the Surname field in the fields box&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;IMAGE HERE&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*This will open the Enter Search Value dialogue&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;IMAGE HERE&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Enter Smith into the Search For box&lt;br /&gt;
&lt;br /&gt;
*Click OK to add the criteria to the search list on the right side of the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;IMAGE HERE&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example 2 ==&lt;br /&gt;
&lt;br /&gt;
In this example we will create a set of criteria that will locate all of the patients on the database who are over 60 and have a prescription of +4 sphere or higher.&lt;br /&gt;
&lt;br /&gt;
*Select the Patients table in the table box&lt;br /&gt;
&lt;br /&gt;
*Select the Date of Birth field in the fields box &lt;br /&gt;
&lt;br /&gt;
*Double click on the &amp;lt; (less than) in the criteria box&lt;br /&gt;
&lt;br /&gt;
*This will open the Enter Search Value dialogue&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;IMAGE HERE&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Enter 01/01/1947 in the search box. This will provide the results for all patients whose date of birth was before 01/01/1947.&lt;br /&gt;
&lt;br /&gt;
*Click OK to add the criteria to the search list. &lt;br /&gt;
&lt;br /&gt;
*Now select the Patients Rxs table in the table box&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;IMAGE HERE&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Select the R Sphere field in the Fields list &lt;br /&gt;
&lt;br /&gt;
*Double click on the &amp;gt;= (greater than or equals to) in the criteria box&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;IMAGE HERE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Enter 4 into the Enter Search Value dialogue and click OK.&lt;br /&gt;
&lt;br /&gt;
These criteria will provide us with a list of all patients over 60 with a right sphere measurement of +4 or higher, but patients have two eyes so the criteria are not complete. We will need to use the OR statement to combine 2 separate queries.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;IMAGE HERE&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Click on the OR radio button&lt;br /&gt;
&lt;br /&gt;
*Select the Patients table in the table box again &lt;br /&gt;
&lt;br /&gt;
*Select the Date of Birth field in the fields box &lt;br /&gt;
&lt;br /&gt;
*Double click on the &amp;lt; (less than) in the criteria box&lt;br /&gt;
&lt;br /&gt;
*Enter 01/01/1947 in the Enter Search Value dialogue and click OK. &lt;br /&gt;
&lt;br /&gt;
*Click on the AND radio button to change the Combine Using method again. &lt;br /&gt;
&lt;br /&gt;
*Select the Patients Rxs table in the table box &lt;br /&gt;
&lt;br /&gt;
*Select the L Sphere field in the Fields list &lt;br /&gt;
&lt;br /&gt;
*Double click on the &amp;gt;= (greater than or equals to) in the criteria box &lt;br /&gt;
&lt;br /&gt;
*Enter 4 into the Enter Search Value dialogue and click OK.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;IMAGE HERE&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*We now have a set of criteria that will find patients over 60 with a right sphere of +4 or higher OR patients over 60 with a left sphere of +4 or higher.&lt;br /&gt;
&lt;br /&gt;
It is important to note that the OR method effectively draws a line under the previous set of criteria and starts a fresh query whose results are then added to those of the previous part.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Using the Report Generator|Back]]&lt;/div&gt;</summary>
		<author><name>Abrown</name></author>
	</entry>
</feed>