<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — import problem]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=8939</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=8939&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in import problem.]]></description>
		<lastBuildDate>Thu, 09 May 2024 13:39:03 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: import problem]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50852#p50852</link>
			<description><![CDATA[<p>You are using a database like an excel spreadsheet, this is not at all the way a database works, you should have a table for the patients containing first name, last name and other patient related information and they must be unique, they are identified by a unique ID. You should have a table containing the medication names with maybe details about the medication. You could also have a table for insurances. Then you use relationships to link the patient to the medicine and the insurance. Then you have a table that stores all these information together using ids. Have a look at the Myvisualdatabase inventory example.</p>]]></description>
			<author><![CDATA[null@example.com (tcoton)]]></author>
			<pubDate>Thu, 09 May 2024 13:39:03 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50852#p50852</guid>
		</item>
		<item>
			<title><![CDATA[Re: import problem]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50849#p50849</link>
			<description><![CDATA[<p>thank you guys <br />you helped me alot<br />I could finally converted excel to cvs and inserted the data into the project.<br />there is one slight problem though<br />in the search form , I used combobox to show first name and last name of a patient.<br />the patient use similar or sometimes different medicine everyday and that&#039;s why there is only one <strong>patient name</strong> and sometimes similar drugs in the form.<br />the problem is that the combobox in the search form shows repeated names?<br />is it possible that the repeated names in that combobox are not shown?<br />please forget about the schema of the attached project because its a sample one and it fits my purpose.</p>]]></description>
			<author><![CDATA[null@example.com (identity)]]></author>
			<pubDate>Thu, 09 May 2024 06:26:52 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50849#p50849</guid>
		</item>
		<item>
			<title><![CDATA[Re: import problem]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50844#p50844</link>
			<description><![CDATA[<div class="quotebox"><cite>identity wrote:</cite><blockquote><p>I tried to convert excel file to csv format but I couldn&#039;t so I only have Excel files</p></blockquote></div><p>I think, the very first step would be to get the CSV files: <a href="https://www.exceldemy.com/convert-excel-to-csv-comma-delimited/">https://www.exceldemy.com/convert-excel … delimited/</a> <br />Every version of MS Excel, libreoffice or OpenOffice, even Mac OS Numbers can do that.</p><p>Or you can go through the links provided by Sparrow but this is more advanced.</p><p>To import data:</p><p>You can create a button with no action on your form with an OnClick event like so:</p><div class="codebox"><pre><code>procedure Form1_ButtonImportData_OnClick (Sender: TObject; var Cancel: boolean);
begin
Form1.mniImportData.Click;
end;</code></pre></div><p>Or you can use SQLiteStudio to import the data directly into the tables of your choice, but this is working directly in the database.</p><p>I found out that using the button to import CSV data coming straight from Excel was difficult due to Excel using double quotes for data and that is trouble, you might have to edit the CSV files in notepad or notepad++ to remove all double quotes.</p>]]></description>
			<author><![CDATA[null@example.com (tcoton)]]></author>
			<pubDate>Tue, 07 May 2024 21:36:44 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50844#p50844</guid>
		</item>
		<item>
			<title><![CDATA[Re: import problem]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50842#p50842</link>
			<description><![CDATA[<p>In addition to the previous links, I would like to give a link to another project from &quot;prahousefamily&quot;.<br /><a href="https://myvisualdatabase.com/forum/viewtopic.php?id=5175">https://myvisualdatabase.com/forum/view … hp?id=5175</a></p><p>The project allows you to batch process files and display progress in a TableGrid. The only thing missing in this project is saving it in a SQLite database. But this can be fixed. You just need to add the command.</p><br /><p>And I want to provide an updated project from &quot;prahousefamily&quot; with an optimized progressbar function (increased performance, improved display, eliminated flickering).</p>]]></description>
			<author><![CDATA[null@example.com (sparrow)]]></author>
			<pubDate>Tue, 07 May 2024 13:54:43 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50842#p50842</guid>
		</item>
		<item>
			<title><![CDATA[Re: import problem]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50841#p50841</link>
			<description><![CDATA[<p><a href="http://myvisualdatabase.com/forum/viewtopic.php?id=5143">http://myvisualdatabase.com/forum/viewtopic.php?id=5143</a></p><p><a href="http://myvisualdatabase.com/forum/viewtopic.php?id=5163">http://myvisualdatabase.com/forum/viewtopic.php?id=5163</a></p><p><a href="https://myvisualdatabase.com/forum/viewtopic.php?id=6986">https://myvisualdatabase.com/forum/view … hp?id=6986</a></p>]]></description>
			<author><![CDATA[null@example.com (sparrow)]]></author>
			<pubDate>Tue, 07 May 2024 10:59:31 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50841#p50841</guid>
		</item>
		<item>
			<title><![CDATA[Re: import problem]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50840#p50840</link>
			<description><![CDATA[<p>Hi Identity, Salut Jean,<br />Before trying to import data, are you sure that your data schema is correct?&nbsp; <br />I am surprised that somethings like &#039;unit price&#039;, &#039;currency&#039;, &#039;nongovprice&#039; are held on the &#039;drug&#039; table (ie specific to each individual patient) and not common to all (and therefore would typically be held on the &#039;medicinetype&#039; table).&nbsp; Also, why are &#039;firstname&#039;, &#039;lastname&#039; and &#039;patientid&#039; held on the &#039;drug&#039; table when there is already a relationship bewtween the &#039;drug&#039; and &#039;patient&#039; tables?<br />In the sample Excel file you attached, there are repeated data rows (eg Albomin 50 appears 15 times).&nbsp; Anomalies like this need to be corrected before you try to import your data or you will just be importing problems and creating extra re-work..<br />Also, there are things that appear unusual on your forms;<br />1. you use the &#039;patient&#039; table on &#039;tablegrid3&#039; on the &#039;searchfrm&#039; and yet you include drug information on it&nbsp; <br />2. on the &#039;patientinfo&#039; form, &#039;tablegrid4&#039; is using the &#039;patient&#039; table - shouldn&#039;t this be the &#039;drug&#039; table?<br />There may be other things - I didn&#039;t look any further.<br />Regards,<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Tue, 07 May 2024 10:15:27 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50840#p50840</guid>
		</item>
		<item>
			<title><![CDATA[Re: import problem]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50838#p50838</link>
			<description><![CDATA[<p>thanks JB for the fast reply<br />I Don&#039;t know how to import excel in the first place so there is no error message.<br />excel sheets have titles the same as the textboxes in the project. I just need the data in the columns of the attached sample excel file to be imported into the project.<br />the data of the excels are only numbers (prices of medicines) as well as the name of the patient and type of medicine.<br />I tried to convert excel file to csv format but I couldn&#039;t so I only have Excel files</p>]]></description>
			<author><![CDATA[null@example.com (identity)]]></author>
			<pubDate>Tue, 07 May 2024 06:36:18 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50838#p50838</guid>
		</item>
		<item>
			<title><![CDATA[Re: import problem]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50837#p50837</link>
			<description><![CDATA[<p>Hello identity<br />Can you tell us more<br />- Do you get error messages during import?<br />- Does this concern a problem with formats, import of cells with titles, date format, etc.?<br />- CSV format not compliant?<br />More information will help us help you<br />Sincerely<br />JB</p>]]></description>
			<author><![CDATA[null@example.com (jean.brezhonek)]]></author>
			<pubDate>Tue, 07 May 2024 06:12:07 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50837#p50837</guid>
		</item>
		<item>
			<title><![CDATA[import problem]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50836#p50836</link>
			<description><![CDATA[<p>Hi every one<br />I have encountered a problem and its killing me. <br />I have searched through the forum looking for importing excel and I couldn&#039;t find any post that fits my purpose.<br />I have about 100 excel sheets that I need to import them into my project <br />I have attached the project and a sample excel file (all the Excel files are the same, only with different data)<br />I wonder whether it&#039;s possible to import these files into the forms of the project? <br />it&#039;s very important for me because I can&#039;t enter them manually (so help me please if you can)</p>]]></description>
			<author><![CDATA[null@example.com (identity)]]></author>
			<pubDate>Tue, 07 May 2024 05:19:06 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50836#p50836</guid>
		</item>
	</channel>
</rss>
