how to make tables in latex - tabs

i'm new to latex i'm trying to make the table in the figure below but i can't:
here is my code:
\begin{xltabular}{\linewidth}{|c|c|c|X|}
\hline
KDD & SEMMA & CRISP-DM
\\\hline
--- & --- & Business Understanding \\[3ex]\hline
Selection & Sample &\multirow{1}{*}{ Data Understanding}\\\hline
Preprocessing & Explore\\\hline
Transformation & Modify&\Data Preparation\\\hline
Data Mining & Model& Modeling\\\hline
Interpretation/Evaluation & Assess&Evaluation\\\hline
--- & ---& Deployment\\\hline
\caption{Tableaux comparatif
\cite{KDD3}.}
\label{tab:1}
\end{xltabular}
\FloatBarrier
if someone can help me i will be very grateful

I'm assuming the issue is with the "Data Understanding" cell. I didn't see anything else wrong, but please point out any other issues if I missed them.
I think what you want is a \cline command:
Selection & Sample &\multirow{2}{*}{Data Understanding}\\
\cline{1-2}
Preprocessing & Explore & \\\hline
Also, for future questions LaTeX questions, you may get a faster/better response on https://tex.stackexchange.com/

Related

Singular express refer to nonexisting object?

I am using below code for reporting purpose, everything was fine but all of sudden this code started giving error saying Singular expression refer to nonexisting object
I also break the whole code bit by bit & able to trace the problem but confused what to use in there & why its giving that error statement.
if I remove following part I am able to get the results & relevance works perfectly fine but that will break the formatting which required to csv output.
(html it) of concatenations of
<?relevance
(html it) of concatenations of ( "%22" &
name of computer of it & "%22|%22" &
name of issuer of action of it & "%22|%22" &
name of action of it & "%22|%22" &
status of it as string & "%22|%22" &
state of action of it & "%22%0d%0a"
)
of results of bes actions whose (name of it starts with "Config_item")
?>
I was able to solve it, actually the output which this code is generating against each from was not available for some property which cause the problem.
after I made the below changes into it with else condition it solve the problem.
(html it) of concatenations of ( "%22" &
(name of computer of it | "None") & "%22|%22" &
name of issuer of action of it & "%22|%22" &
name of action of it & "%22|%22" &
status of it as string & "%22|%22" &
state of action of it & "%22%0d%0a"
)
This line actually helped in solving this - (name of computer of it | "None")

writing csv in vbscript with multiline fields

I have been wrestling with this problem with past 4 hours and to be honest really exhausted... I am trying to write a CSV file through vbscript with multi lines in few of the fields... thought it would be easy peasy ... not so ...My original code is
summary = "This is my brief summary"
description = "Hello" & vbCrLf & "Today, I am going to describe my issue."
reference_id = "0000102203"
Set fso = CreateObject("Scripting.FileSystemObject")
Set csv = fso.CreateTextFile(download_file_name,True)
csv.WriteLine summary & "," description & "," & "Consulting" & "," & reference_id
csv.close
set csv = Nothing
All I am trying to do is create a csv, and when I use excel to open the file would show up as
This is my brief summary| Hello |Consulting| 0000102203
| Today, I am going to describe my issue. |
And what I am getting with numerous tries of replacing vbCrLf with vbCr,vbLf, chr(10), chr(13), "\n", "\n", "\r","\r" and heaps more
This is my brief summary| Hello
Today, I am going to describe my issue. |Consulting| 0000102203
Is there anyway I can actually solve this problem?
Thanks
There is no actual standard. This RFC came well after CSVs were invented. So you can do what you want, but you'll also need code to read your own standard as other tools won't. Implement CR as a special character (code 222 has historical meaning for me - SurveyCraft) and replace with CR after importing.
From https://www.rfc-editor.org/rfc/rfc4180 (also see https://en.wikipedia.org/wiki/Comma-separated_values)
Definition of the CSV Format
While there are various specifications and implementations for the
CSV format (for ex. [4], [5], [6] and [7]), there is no formal
specification in existence, which allows for a wide variety of
interpretations of CSV files. This section documents the format that
seems to be followed by most implementations:
Each record is located on a separate line, delimited by a line
break (CRLF). For example:
aaa,bbb,ccc CRLF
zzz,yyy,xxx CRLF
The last record in the file may or may not have an ending line
break. For example:
aaa,bbb,ccc CRLF
zzz,yyy,xxx
OKay, after 4 hours of literally banging my head on the keyboard, I finally figure out how to solve the problem. So if anyone is interested ... Just changed this part of the code
description = "Hello" & vbCrLf & "Today, I am going to describe my issue."
csv.WriteLine summary & "," description & "," & "Consulting" & "," & reference_id
to
desc1 = "Hello"
desc2 = "Today, I am going to describe my issue."
csv.WriteLine summary & ",""" desc1 & vbCrLf & desc2 & """," & "Consulting" & "," & reference_id
Ta Da ... worked like a charm ...

Access 2010 txt Search Box to Search multiple fields?

I have multiple combo & text boxes to search for different values in my main table on my front end. The code is as follows, just replicated for different types etc. This all works fine.
If Not IsNull(Me.strSearch) Then
strWhere = strWhere & "([tbl_Main.Description] Like ""*" & Me.strSearch & "*"") AND "
End If
My Problem is, I'm trying to create a text box which searches 2 columns simultaneously in my tbl_Main (tbl_Main.LessonsLearnt & tbl_Main.RecommendedAction) but can't figure out how to modify my current code to add another column in, searchable from the same textbox.
Disclaimer: I'm very much a beginner in MS Access - so please keep the explanation as simple as possible :D
If you need any other info - just let me know!
Thanks in advance
strWhere = strWhere & "(tbl_Main.Description Like '*" & Me.strSearch & "*' OR tbl_Main.OtherField Like '*" & Me.strSearch & "*') AND "
This will search for the strSearch being in either Desscription or OtherField. I also replaced your double double quotes with single quotes for better code readability and cross compatibility with other DBMS and removed the brackets that are only needed if you have spaces in your table/field names (something you really should never do anyway).

HTML doesnt work when i copy paste into another document

I have written some HTML with notepad, when i open it with IE it works fine and loads the google map on the page.
I have then converted that text into vb.net stream writer. when it creates the html document it wont load the google map. but, if i copy the html that the application creates and paste it into a html document i make with notepad it works fine.
Whats going on?
I use
Using writer As StreamWriter = New StreamWriter("C:\CarPosition" & Loc & ".htm", True)
to write the bulk of the HTML
and i have a loop in the application to write an array, i use the following line to do that:
My.Computer.FileSystem.WriteAllText("C:\CarPosition" & Loc & ".htm", vbNewLine & "['Car:" & CarNumber & "'," & " -" & LatsDecimal & "," & " " & LongsDecimal & ", " & Count & "],", True)
I want to know if vb.net writes some hidden characters in text documents or notepad does? because if i analyse the two html documents they are identical, one loads correctly in IE and one doesnt.
thanks,
Mike
Tips:
Do a binary diff between the two files to find the difference. You can do it online
Check BinaryReader for reading the file in the first place https://stackoverflow.com/a/10353961/390330

use msgbox to tell how many records have been inserted and updated

How do I incorporate a mysql query into a messagebox in vba. What I want to do is when a user sends data into the database using dgv. How can I get a messagebox to show how many records are going in as updatse and how many are going in as inserts.
FYI I am using on duplicate key update function.
Thanks
It might help to see a little bit of your code, but you just need to set up a variable represent each element you want to display (say nUpdates and nInserts). Then just display that variable in the message box:
MsgBox("Records going in as updates:" & nUpdates & vbNewLine & vbNewLine & _
"Records going in as inserts:" & nInserts)