Visual aids on tables and divs
It seem in dreamweaver cs6, my divs and tables had little dotted outlines around them, so i can see where they were. In CC those have vanished and there is a blue outline when I click on them. I found the doted outlines a great visual design aid, how do i get them back.
I am a newbie, and am teaching myself how to create html e-mail. I, too cannot see table outlines. CSS is not an option for my application.
I have a split view, code on the bottom and "site" on the top.
I clicked insert > table and selected 1 row, one column, width 98%, thickness 0, padding 0, spacing 0, header none.
Then, within that table I did the same thing but this time with 4 rows for the parts of the e-mail: planning header, content 1, content 2, footer
I could not see table borders, so I read that you can make the borders 1 instead of 0 for the creation, and then go back and reset to 0 once done -- note this is live view.
In follow on with this thread, I would prefer to see the outlines in design view -- the expanded table view I've seen discussed. But when I switch to design view, there is no table, even with the cursor placed within the table in the code:
Pffffft - nothing's there. In either view, if I go to modify > table in either view, all the options are greyed out. And, if I right click I get a standard context menu with cut, copy, paste, etc.
This is Dreamweaver 2014.1 -- what am I missing?
Similar Messages
-
Okay to use tables and DIVs?
I am new to web design and although I have spent countless
hours trying to grasp CSS I am still beginning. Can I use some
tables to layout my page and some DIVs? For instance, I have a
#wrapper to center the site on the screen, I have a DIV that
contains my header and footer. I also used table cells to add my
nav bar, text and a few others things. Is this okay while I'm still
learning?> I tried setting it in a table, the appearance varied
greatly in different
> browsers so I gave up.
This is only a reflection of your skill, not the ability of
tables to
contain a stable layout.
> I have tried setting the page using apdivs
Yes - that's definitely a mistake.
> Should I be laying out the page differently? Using a
combination of divs /
> apdivs / tables?
http://apptools.com/examples/pagelayout101.php
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"NickJ_London" <[email protected]> wrote in
message
news:g9dfpt$ku8$[email protected]..
> I'm also having issues deciding if I should use divs /
apdivs / tables to
> lay
> out my page.
>
> I tried setting it in a table, the appearance varied
greatly in different
> browsers so I gave up.
> I have tried setting the page using apdivs - one
container with the rest
> nesting, this gives a great layout but is anchored to
the left. What is
> the
> #wrapper command you used to centre the page on screen?
>
> Should I be laying out the page differently? Using a
combination of divs /
> apdivs / tables?
> -
Dreamweaver table border visual aids
When using tables in dreamweaver I can't see the dotted
borders to help me see where rows and cells are. I am using
standard mode and have check visual aids for table widths and
borders. Both are turned on. I have searched extensively for a
solution to this and the most information I have found was on
forums where the only advice was to reinstall - which to me doesn't
sound right. Perhaps this is a bug - but it seems as if there
should be a preference to turn on, which I have yet to find.
Here are two people who have had similar problems:
http://forum.powweb.com/archive/index.php/t-17008.html
http://www.photoshopcafe.com/cafe/viewthread.php?tid=36769
Any help would be GREATLY appreciated.Is this true when you create a new page and drop a table on
it, with no
styling?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"aakern" <[email protected]> wrote in
message
news:eqa6pe$211$[email protected]..
> When using tables in dreamweaver I can't see the dotted
borders to help me
> see
> where rows and cells are. I am using standard mode and
have check visual
> aids
> for table widths and borders. Both are turned on. I have
searched
> extensively
> for a solution to this and the most information I have
found was on forums
> where the only advice was to reinstall - which to me
doesn't sound right.
> Perhaps this is a bug - but it seems as if there should
be a preference to
> turn
> on, which I have yet to find.
>
> Here are two people who have had similar problems:
>
>
http://forum.powweb.com/archive/index.php/t-17008.html
>
>
http://www.photoshopcafe.com/cafe/viewthread.php?tid=36769
>
> Any help would be GREATLY appreciated.
> -
CS4 table borders visual aid does not display
I am using CS3 and now CS4 (upgrade) on an Mac with a website
built on tables
The background to the page is 'black'
In CS3 the table borders appear using the visual aid as
'white on black'
In CS4 they don't appear as they seem to be 'black on black'
Does anyone know how to change this behavior???There are many things about the Mac platform's UI/OS that are
different.
For example, you cannot import a Word Document on the Mac OS
but you can on
the PC.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Osgood" <[email protected]> wrote in
message
news:ghnt1q$rid$[email protected]..
> pr-photo wrote:
>> Thanks for the replies guys
>>
>> I'm still new to the Html stuff but it appears that
my software testing
>> skills are still on the ball.
>>
>> A Case has been opened for visual aids on a 'black
background'. This is
>> ok on windows machines but seems to be an issue on
Mac OS x
>>
>
> Yep I was testing on Mac. That really is a basic and
poor error on Adobes
> part. How that wasn't picked up at beta stage is beyond
me to be
> honest....or it was and they couldn't put it right on
the Mac platform in
> time for release.
> -
Table and field for Department ID, Department ID desc, and DIV
Hi,
We're planning to develop a "Z" report, by extending CJI3 transaction. I want to add the following fields to this new report. I just wanted to know from what tables these fields are coming from standard SAP (I believe these fields might be related to controlling, so I'm posting in this forum):
1. Department ID
2. Department ID Description
3. Division (DIV)
AmanHi Asim ,
The currency in Material Master is updated from the Company Code.
At first system checks the company code for which the Plant is assigned and picks the currecy from the company code.
You can find the same in Table T001 ; Field - WAERS
What do u mean by Product ID ? Let me know where does it exist in Material Master.
If you know the view, press F1 and then Technical Inf to get the table and Field Name.
Regards
Ramesh Ch -
I have difficulty in hearing conversation around the table when many are speaking. Can I put my Iphone 4 3G in the centre of the table and tune it to my hearing aid to join in the converstion?
There are hearing aids that support a BlueTooth connection to a phone. However, to make that work, you'd need to put someone elses phone in the middle of the table, then call it from your phone which you had connected to your aids using BT. I can't imagine that the quality of a call over speaker phone would really be good enough to help, though.
Best of luck. -
How to retrieve multiple data from table and represent it in jsp page
Hi
The below JavaScript code is used to add row in the table when I want to add multiple row data into table for single entry no field.
<html> function addRow()
i++;
var newRow = document.all("tblGrid").insertRow();
var oCell = newRow.insertCell();
oCell.innerHTML = "<input name='srno"+i+"' type='text' id='srno"+i+"' size=10>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input name='itmcd"+i+"' type='text' id='itmcd"+i+"' size='10'>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input name='itmnm"+i+"' type='text' id='itmnm"+i+"' size='15'>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input name='indentqty"+i+"' type='text' id='indentqty"+i+"' size='10'>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input name='uom"+i+"' type='text' id='uom"+i+"' size='10'><input type='hidden' name='mcode"+i+"'id='mcode"+i+"'>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input name='packqty"+i+"' type='text' id='packqty"+i+"' size='10'>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input name='packuom"+i+"' type='text' id='packuom"+i+"' size='10'><input type='hidden' name='pack"+i+"' id='pack"+i+"'>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input name='rate"+i+"' type='text' id='rate"+i+"' size='10'>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input name='dor"+i+"' type='text' id='dor"+i+"' size='0' onClick='"+putdate(this.name)+"'>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input name='bccode"+i+"' type='text' id='bccode"+i+"' size='10'></td><input type='hidden' name='bcc"+i+"' id='bcc"+i+"'>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input name='cccode"+i+"' type='text' id='cccode"+i+"' size='10'></td><input type='hidden' name='ccc"+i+"' id='ccc"+i+"'>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input name='remark2"+i+"' type='text' id='remark2"+i+"' size='20'>";
oCell = newRow.insertCell();
oCell.innerHTML = "<input type='button' value='Delete' onclick='removeRow(this);' />";
// oCell = newRow.insertCell();
// oCell.innerHTML = "<input type='button' value='Clear' onclick='clearRow(this);' />";
}<html> Then this data are send to the next Servlet for adding into two table.
My header portion data are added into one table which added only one row in table. while footer section data are added into the no of rows in another table dependent on No. of
Rows added into jsp page.
Here is an code for that logic.
<html>
ArrayList<String> mucode = new ArrayList<String>();
ArrayList<Integer> serials = new ArrayList<Integer>();
ArrayList<Integer> apxrate = new ArrayList<Integer>();
ArrayList<Integer> srname = new ArrayList<Integer>();
ArrayList<String> itcode = new ArrayList<String>();
ArrayList<String> itname = new ArrayList<String>();
ArrayList<Integer> iqnty = new ArrayList<Integer>();
ArrayList<String> iuom = new ArrayList<String>();
ArrayList<Integer> pqnty = new ArrayList<Integer>();
ArrayList<String> puom1 = new ArrayList<String>();
ArrayList<Integer> arate = new ArrayList<Integer>();
ArrayList<String> rdate = new ArrayList<String>();
ArrayList<String> bcs = new ArrayList<String>();
ArrayList<String> ccs = new ArrayList<String>();
ArrayList<String> remarkss = new ArrayList<String>();
//ArrayList<Integer> qtyrecs = new ArrayList<Integer>();
//ArrayList<String> dors = new ArrayList<String>();
//ArrayList<String> remarks = new ArrayList<String>();
String entryn = request.getParameter("entryno");
String rows = request.getParameter("rows");
out.println(rows);
//String Entryno = request.getParameter("entryno");
// out.println(Entryno);
int entryno = 0,reqqty = 0,srno = 0,deprequest = 0,rowcount = 0;
if(!Entryno.equals("")){
entryno = Integer.valueOf(Entryno);
if(!rows.equals("")){
rowcount = Integer.valueOf(rows);
for(int i=1;i<=rowcount;i++){
if(request.getParameter("srno"+i)!=null){
serials.add(Integer.valueOf(request.getParameter("srno"+i).trim()));
out.println(serials.size());
for(int i=1;i<=rowcount;i++){
if(request.getParameter("srno"+i)!=null){
srname.add(Integer.valueOf(request.getParameter("srno"+i).trim()));
out.println(srname.get(0));
for(int i=1;i<=rowcount;i++){
if(request.getParameter("itmcd"+i)!=null){
itcode.add(request.getParameter("itmcd"+i).trim());
} //out.println(itcode.get(i));
for(int i=1;i<=rowcount;i++){
if(request.getParameter("itmnm"+i)!=null){
itname.add(request.getParameter("itmnm"+i).trim());
}//out.println(itname.get(i));
for(int i=1;i<=rowcount;i++){
if(request.getParameter("indentqty"+i)!=null){
iqnty.add(Integer.valueOf(request.getParameter("indentqty"+i).trim()));
for(int i=1;i<=rowcount;i++){
if(request.getParameter("uom"+i)!=null){
iuom.add(request.getParameter("uom"+i).trim());
}//out.println(iuom.get(i));
for(int i=1;i<=rowcount;i++){
if(request.getParameter("mcode"+i)!=null){
mucode.add(request.getParameter("mcode"+i).trim());
for(int i=1;i<=rowcount;i++){
if(request.getParameter("packqty"+i).equals("")){
pqnty.add(0);
}else
pqnty.add(Integer.valueOf(request.getParameter("packqty"+i).trim()));
for(int i=1;i<=rowcount;i++){
if(request.getParameter("pack"+i)!=null){
puom1.add(request.getParameter("pack"+i).trim());
}else
puom1.add("");
for(int i=1;i<=rowcount;i++){
if(request.getParameter("rate"+i).equals("")){
arate.add(0);
}else
arate.add(Integer.valueOf(request.getParameter("rate"+i).trim()));
/* for(int i=1;i<=rowcount;i++){
if(request.getParameter("rate"+i)!=null){
arate.add(Integer.valueOf(request.getParameter("rate"+i).trim()));
for(int i=1;i<=rowcount;i++){
if(request.getParameter("dor"+i)!=null){
try{
rdate.add(dashdate.format(slashdate.parse(request.getParameter("dor"+i).trim())));
}catch(ParseException p){p.printStackTrace();}
}else
{ rdate.add("");}
for(int i=1;i<=rowcount;i++){
if(request.getParameter("bcc"+i)!=null){
bcs.add(request.getParameter("bcc"+i).trim());
}out.println(bcs.get(0));
for(int i=1;i<=rowcount;i++){
if(request.getParameter("ccc"+i)!=null){
ccs.add(request.getParameter("ccc"+i).trim());
}out.println(ccs.get(0));
for(int i=1;i<=rowcount;i++){
out.println("remark2");
if(request.getParameter("remark2"+i)!=null){
remarkss.add(request.getParameter("remark2"+i).trim());
}out.println(remarkss.get(0));
ArrayList<String> Idate = new ArrayList<String>();
for(int i=1;i<=rowcount;i++){
if(request.getParameter("dateindent"+i)!=null){
try{
Idate.add(dashdate.format(dashdate.parse(request.getParameter("dateindent"+i).trim())));
}catch(ParseException p){p.printStackTrace();}
String Rdate = dashdate.format(new java.util.Date());
String tdate = dashdate.format(new java.util.Date());
// String Indentdate = dashdate.format(new java.util.Date());
// String ApprovedT1 = dashdate.format(new java.util.Date());
// String ApprovedT2 = dashdate.format(new java.util.Date());
// String ApprovedT1=" ";
//String ApprovedT2="";*/
String ApprovedT1= dashdate.format(new java.util.Date());
out.println (ApprovedT1);
String ApprovedT2=dashdate.format(new java.util.Date());
out.println(ApprovedT2);
String Indentdate=(dashdate.format(slashdate.parse(request.getParameter("dateindent").trim())));
out.println(Indentdate);
String Cocode ="BML001";
out.println(Cocode);
String Deptcode = request.getParameter("dept1");
out.println(Deptcode);
String Empcode = request.getParameter("emp");
out.println(Empcode);
String Refno =request.getParameter("rtype");
out.println(Refno);
String Divcode = request.getParameter("todiv1");
out.println(Divcode);
String Usercode = "CIRIUS";
String Whcode = request.getParameter("stor");
out.println(Whcode);
// String Itemgroupcode = request.getParameter("");
String Itemgroupcode ="120000";
out.println(Itemgroupcode);
String Supplytypecode = request.getParameter("stype");
out.println(Supplytypecode);
String Delcode = request.getParameter("deliverycode");
out.println(Delcode);
String Itemclass="WS";
out.println(Itemclass);
// String Itemclass = request.getParameter("iclass");
// out.println(Itemclass);
String unitcode = request.getParameter("uni");
out.println(unitcode);
String Todivcode = request.getParameter("todiv1");
out.println(Todivcode);
String Appxrate = request.getParameter("rate");
out.println(Appxrate);
String Srno = request.getParameter("srno");
out.println(Srno);
/* String Indqty = request.getParameter("indentqty");
out.println(Indqty);*/
String Itemcode = request.getParameter("itmcd");
out.println(Itemcode);
String Othersp = request.getParameter("remark1");
out.println(Othersp);
String Reqdt = request.getParameter("dor");
out.println(Reqdt);
String Munitcode = request.getParameter("mcode");
out.println(Munitcode);
String Packqty = request.getParameter("packqty");
out.println(Packqty);
String Packuom = request.getParameter("pack");
out.println(Packuom);
String Remark2 = request.getParameter("remark2");
out.println(Remark2);
String BC = request.getParameter("bcc");
out.println(BC);
String CC = request.getParameter("ccc");
out.println(CC);
try{
st=connection.createStatement();
connection.setAutoCommit(false);
String sql="INSERT INTO PTXNINDHDR(COCODE,DEPTCODE,EMPCODE,APPROVEDT1,APPROVEDT2,INDDT,ENTRYNO,REFNO,REMARKS,DIVCODE,USERCODE,WHCODE,ITEMGROUPCODE,SUPTYPECODE,DELCODE,UNITCODE,TODIVCODE,ITEMCLASS)VALUES('"+Cocode+"','"+Deptcode+"','"+Empcode+"','"+ApprovedT1+"','"+ApprovedT2+"','"+Indentdate+"',"+Entryno+",'"+Refno+"','"+Othersp+"','"+Divcode+"','"+Usercode+"','"+Whcode+"','"+Itemgroupcode+"','"+Supplytypecode+"','"+Delcode+"','"+unitcode+"','"+Todivcode+"','"+Itemclass+"')";
out.println(sql);
st.addBatch(sql);
for(int i=0;i<serials.size();i++){
out.println("Inside the Statement");
String query3="test query for u";
out.println(query3);
String queryx="Insert into PTXNINDDTL(APXRATE,ENTRYNO,BRKNO,INDQTY,ITEMCODE,OTHERSPFCS,MUNITCODE,PACKQTY,PACKUOM,REMARKS,DIMSUBGRPCODE,DIMCODE,REQDT)VALUES("+arate.get(i)+","+entryno+","+srname.get(i)+","+iqnty.get(i)+","+itcode.get(i)+",'"+Othersp+"','"+mucode.get(i)+"',"+pqnty.get(i)+",'"+puom1.get(i)+"','"+remarkss.get(i)+"','"+bcs.get(i)+"','"+ccs.get(i)+"','"+rdate.get(i)+"')";
out.println(queryx);
st.addBatch(queryx);
int[] result=st.executeBatch();
connection.commit();
for(int k=0;k<result.length;k++)
out.println("rows updated by "+(k+1)+"insert sta:"+result[k]+"");
catch(BatchUpdateException bue)
out.println("error1;"+bue+"");
catch(SQLException sql)
out.println("error2;"+sql+"");
catch(Exception l)
out.println("error3;"+l+"");
</html>
Now I looking for to retrieve this footer section data available in multiple rows from footer table and present it in jsp page .
I am finding difficulties in how to show this multiple row data for dynamic no of rows .i.e. variable no. of rows.
I have able to show the data in Header portions of page in this ways
here i am adding the part of code which shows the data from header part of table i.e from Header table
<html>
<h2 align="center"><b>Indent Preparation</b></h2>
<div align="left">
<table width="849" border="0" cellspacing="3" cellpadding="3" align="center">
<tr>
<td ><div align="left"><b>Indent No.</b></div></td>
<td ><label>
<input name="indentno" type="text" id="indentno" size="15" value="" /><input type="hidden" name="no" id="no">
</label></td>
<td ><div align="center"><strong>Indent Date</strong></div></td>
<td ><label>
<div align="center">
<input name="dateindent" type="text" id="dateindent"value="<%=date1%>"/><input type="hidden" name="no" id="no">
</div>
</label></td>
<td> </td>
<td><div align="right"><strong>Entry No.</strong></div></td>
<%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
<td><input type="text" value="<%=hdrcode.get(3)%>" size="10"></td>
<%}else{%>
<td><input type="text" name="entryno" id="entryno" value="<%=entryNo%>"/></td>
<%}%>
<div align="right"></div>
</tr>
<tr>
<td><b>Division</b></td>
<%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
<td><input type="text" value="<%=hdrdetails.get(9)%>" size="20"</td>
<td><input type="hidden" name="div1" id="div1" value='<%=hdrcode.get(10)%>'></td>
<%}else{%>
<td><input type="text" name="div" id="div" /></td>
<td><input type="hidden" name="div1" id="div1" /> </td>
<%}%>
<td> </td>
<td> </td>
<td><div align="right"><strong>Unit</strong></div></td>
<%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
<td><input type="text" value="<%=hdrdetails.get(14)%>" size="20"</td>
<td><input type="hidden" name="uni" id="uni" value='<%=hdrcode.get(12)%>'></td>
<%}else{%>
<td><input type="text" name="unit" id="unit" /></td>
<td><input type="hidden" name="uni" id="uni" /> </td>
<%}%>
</tr>
<tr>
</html>
Any suggestion on any above works is highly appreciated.
Thanks and regards
harshalToo much code. It's also not well intented nor formatted. I don't see a question either or it got lost in that heap of unformatted code.
I will only answer the question in the thread's subject:
How to retrieve multiple data from table and represent it in jsp pageTo retrieve, make use of HttpServletRequest#getParameterValues() and/or #getParameter().
To display, make use of JSTL's c:forEach. -
Hi all,
Long time ago, I manually created a Database (APGriMMRP) and 3 Tables (dbo.Table_1_XYcoordinates, dbo.Table_2_Soil, and dbo.Table_3_Water) in my SQL Server 2012 Management Studio (SSMS2012). The dbo.Table_1_XYcoordinates has the following columns: file_id,
Pt_ID, X, Y, Z, sample_id, Boring. The dbo.Table_2_Soil has the following columns: Boring, sample_date, sample_id, Unit, Arsenic, Chromium, Lead. The dbo.Table_3_Water has the following columns: Boring, sample_date, sample_id, Unit, Benzene, Ethylbenzene,
Pyrene. The dbo.Table_1_XYcoordinates is a Parent Table. The dbo.Table_2_Soil and the dbo.Table_3_Water are 2 Child Tables. The sample_id is key link for the relationship between the Parent Table and the Child Tables.
Problem #1) How can I print out or export these 3 dbo Tables?
Problem #2) If I right-click on the dbo Table, I see "Start PowerShell" and click on it. I get the following error messages: Warning: Failed to load the 'SQLAS' extension: An exception occurred in SMO while trying to manage a service.
--> Failed to retrieve data for this request. --> Invalid class. Warning: Could not obtain SQL Server Service information. An attemp to connect to WMI on 'NAB-WK-02657306' failed with the following error: An exception occurred in SMO while trying
to manage a service. --> Failed to retrieve data for this request. --> Invalid class. .... PS SQLSERVER:\SQL\NAB-WK-02657306\SQLEXPRESS\Databases\APGriMMRP\Table_1_XYcoordinates> What causes this set of error messages? How can
I get this problem fixed in my PC that is an end user of the Windows 7 LAN System? Note: I don't have the regular version of Microsoft Visual Studio 2012 in my PC. I just have the Microsoft 2012 Shell (Integrated) program in my PC.
Problem #3: I plan to create an XML Schema Collection in the "APGriMMRP" database for the Parent Table and the Child Tables. How can I handle the relationship between the Parent Table and the Child Table in the XML Schema Collection?
Problem #4: I plan to extract some results/data from the Parent Table and the Child Table by using XQuery. What kind of JOIN (Left or Right JOIN) should I use in the XQuerying?
Please kindly help, answer my questions, and advise me how to resolve these 4 problems.
Thanks in advance,
Scott ChangIn the future, I would recommend you to post your questions one by one, and to the appropriate forum. Of your questions it is really only #3 that fits into this forum. (And that is the one I will not answer, because I have worked very little with XSD.)
1) Not sure what you mean with "print" or "export", but when you right-click a database, you can select Tasks from the context menu and in this submenu you find "Export data".
2) I don't know why you get that error, but any particular reason you want to run PowerShell?
4) If you have tables, you query them with SQL, not XQuery. XQuery is when you query XML documents, but left and right joins are SQL things. There are no joins in XQuery.
As for left/right join, notice that these two are equivalent:
SELECT ...
FROM a LEFT JOIN b ON a.col = b.col
SELECT ...
FROM b RIGHT JOIN a ON a.col = b.col
But please never use RIGHT JOIN - it gives me a headache!
There is nothing that says that you should use any of the other. In fact, if you are returning rows from parent and child, I would expect an inner join, unless you want to cater for parents without children.
Here is an example where you can study the different join types and how they behave:
CREATE TABLE apple (a int NOT NULL PRIMARY KEY,
b varchar(23) NOT NULL)
INSERT apple(a, b)
VALUES(1, 'Granny Smith'),
(2, 'Gloster'),
(4, 'Ingrid-Marie'),
(5, 'Milenga')
CREATE TABLE orange(c int NOT NULL PRIMARY KEY,
d varchar(23) NOT NULL)
INSERT orange(c, d)
VALUES(1, 'Agent'),
(3, 'Netherlands'),
(4, 'Revolution')
SELECT a, b, c, d
FROM apple
CROSS JOIN orange
SELECT a, b, c, d
FROM apple
INNER JOIN orange ON apple.a = orange.c
SELECT a, b, c, d
FROM apple
LEFT OUTER JOIN orange ON apple.a = orange.c
SELECT a, b, c, d
FROM apple
RIGHT OUTER JOIN orange ON apple.a = orange.c
SELECT a, b, c, d
FROM apple
FULL OUTER JOIN orange ON apple.a = orange.c
go
DROP TABLE apple, orange
Erland Sommarskog, SQL Server MVP, [email protected] -
How to design a smartform with below tables and table-fields??
How to design a smartform and driver program using this tables and table fields
FIELD DESCRIPTION TABLE-FIELD
Tax Invoice No: vbrk-vbeln
Code vbpa-kunnr where parvw = RG
Ship To vbpa-kunnr where parvw = WE
PAN No J_1IMOCUST-J_1IPANNO for WE
ECC ,,
Range ,,
Div ,,
Excise Reg No ,,
LST No ,,
CST No ,,
Invoice No: vbrk-vbeln
Do No: vbfa-vbelv where vbeln = inv no and vbtyp_v = C get the vbeln where vbak-auart = 'ZDO'
Sales Doc Num: vbfa-vbelv where vbeln = inv no and vbtyp_v = C get the vbeln where vbak-auart = 'ZSO'
PO: vbkd-bstkd where vbeln = sales doc no
Delivery No: select vbelv from vbfa where vbeln = inv no and vbtyp_v = J
Goods Removal Dt&Time: select vbeln from vbfa where vbelv = dlv no and vbtyp_v = R Put this vbeln in mkpf and get BUDAT and CPUTM
Selection screen parameter should be : vbrk-vbeln.Hi,
First design your form interface, this is the set of fields that you need to display in your form and create this as a structure in SE11. In your print program code the logic to extract the data into this structure, this is just regular ABAP, nothing special here.
When you have your data call function module SSF_FUNCTION_MODULE_NAME to determine the name of the generated smartform function module. Then call this function module, passing the data collected into your structure. If necessary you will need to find the print parameters required and pass these too.
In your smartform you will need to use the data structure you created in SE11 as the smartform interface and design the layout required to display these fields.
Regards,
Nick -
Hi!
I'm new to the web programming field. I've built this site using tables. (which I hear is not the most advanced way to go these days, but I don't know CSS or anything about DIV tags)
I can't get the top navigation to align correctly. Firefox keeps wanting there to be a space between the two tables, and I'm at a loss.
Attached below is the code... can anyone help me?you can also see this in it's entirety at www.silverander.com/cmc
Thank you for your time!!
<td colspan="3" valign="top"><table width="675" border="0" valign="top" cellspacing="0" cellpadding="0">
<tr>
<td width="66" valign="top"><img src="images/row3.jpg" width="66" height="37" align="top"></td>
<td width="163" height="37" class="mainnavbt" onmouseover="style.backgroundColor='#cececf';"
onmouseout="style.backgroundColor='#000000'"><div align="center"><a href="x.html" class="mainnavlink">About CMC Rescue</a></div></td>
<td width="162" height="37" class="mainnavbt" onmouseover="style.backgroundColor='#cececf';"
onmouseout="style.backgroundColor='#000000'"><div align="center"><a href="x.html" class="mainnavlink">Request a Catalog</a></div></td>
<td width="134" height="37" class="mainnavbt" onmouseover="style.backgroundColor='#cececf';"
onmouseout="style.backgroundColor='#000000'"><div align="center"><a href="x.html" class="mainnavlink">Contact CMC</a></div></td>
<td width="147" valign="top"><a href="x.html"><img src="images/shopping_cart_off.jpg" name="shop_off" width="147" height="37" border="0" align="top" id="shop_off" onMouseOver="MM_swapImage('shop_off','','images/shopping_cart_on.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
</tr>
</table>First thing you need to do is to make sure the page validates. It makes no sense to chase a layout glitch on a page that has validation errors, you know?
Go here - http://validator.w3.org and give it your url
Meanwhile we can further study your code. -
How to link Azure database tables and fields to VS2012 C++ entry form
We are using Visual Studio 2012 C++ and have successfully connected to the database on Azure, but do no know how to associate the database tables and fields with the C++ application data entry forms. Can anyone help? Thanks
Hello Roxanne,
You could use Entity framework to map classes to Azure tables. Please refer http://www.codeproject.com/Articles/363040/An-Introduction-to-Entity-Framework-for-Absolute-B to
learn more. Hope this helps.
Regards,
Kumar Bijayanta -
Placing variables from db table in div vs form input fields
Hello,
Because of all the help I've received on this forum, I'm getting comfortable with reading data from db tables and writing back to them.
Recently I've needed to create an "update" of a form (no refresh) where
1 - the data are read in from a table to a form
2 - the form data are changed by the user, and
3 - the data are written back to the table.
To do this, I've learned about parsing and displaying returned json data from a "success" under ajax.
Here's a "mini" example of what I've learned:
success: function(result)
$('#loadmehere1').html(result['localid']);
$('#inload1').val(result['localid']);
error : function() { alert("error"); }
});//End of ajax call
So with my experimentation, I've found that ".html" is used to fill a div, and you have to use the ".val" to fill an input box on a form.
My questions are:
1. Can you point me in the right direction to learn about why an input statment needs a ".val" and a div can take an ".html"?
2. Would you populate divs and input statements with different commands?
Thanks very much!This forum is not about JS in HTML files. Only in PDF files. From your
profile it seems you previously posted questions in the Dreamweaver
forum... That's probably a suitable spot for this question as well. -
Adf faces table and applet in jsf page navSubmit not working in IE
Hi
I have a jsf page with adf faces table and applet , previous / next navigation is not working for my table when i add the applet to the same page , it is working in firefox but not in IE .
I have no clue what to change , can any one help. below is the sample code for my jsf page
Best regards
Srinivas
Code follows, not sure how to format the code here
<h:form>
<af:panelPage title="Test Adf faces table and applet">
<af:panelHeader text="Orders">
<af:table value="#{bindings.Orders.collectionModel}" var="row"
rows="#{bindings.Orders.rangeSize}"
first="#{bindings.Orders.rangeStart}"
emptyText="#{bindings.Orders.viewable ? 'No rows yet.' : 'Access Denied.'}"
id="orders" >
<af:column sortProperty="order"
headerText="#{bindings.Orders.labels.order}">
<af:commandLink text="#{row.order}"
id="orderNumber"
onclick="showOrder(#{row.order})"
disabled="false"/>
</af:column>
</af:table>
</af:panelHeader>
<af:objectSpacer width="10" height="10"/>
<af:panelBox>
<f:verbatim>
<div id="appletDiv">
<applet here />
</div>
</f:verbatim>
</af:panelBox>
</af:panelHorizontal>
</af:panelPage>
</h:form>Sorry about the format, it looked okay when i previewed it , now it looks like terrible
-
Is it planned to add feature for creating tables and lists in Adobe Edge Reflow?
First of all, thank you very much guys for all your work!
In my opinion Adobe Edge Reflow is missing quite important features, like creating tables and lists. For me it's a reason why I can't switch to Reflow. Any plans for implementing these? Is there any place where I can see the list of planned feature implementation? Didn't find it.Missing tables is a big one for me too, especially when doing data-grids. My last prototype was using multiple responsive data-grids where I used the simpler essential/optional hide column approach, instead of stacking or scrolling the data. I had used Reflow in the past for basic content prototypes... but had to do this one by hand... took longer. Using divs for this did not collapse properly in all the browsers, plus the back-end team use widgets that only generate tables. Here is the example:
http://www.topwebworks.com/assets/test/prototype/riocompass_prototype_v1 -
Display 4 items in a row using cfloop and divs
Hi
I have done this quite successfully using tables.
What i have is a catalogue.
It has 12 items in it.
I want to display 4 on a row.
I am using divs
Here is what 1 row looks like in HTML:
<div class="span-18 last">
<hr />
<div class="span-1"> </div>
<div class="span-4">
A
</div>
<div class="span-4">
B
</div>
<div class="span-4">
C
</div>
<div class="span-4">
D
</div>
<div class="span-1 last"> </div>
</div>
How do u use CFLOOP and DIVS to show 4 items on a row, then break to the next 4.
Assistance would fantastic.
Regards
FlashUse something like this:
<cfif index mod 4 eq 0></cfif>
To know when you need to create the next row.
Maybe you are looking for
-
Applet runs on local PC but not over network
My applet runs just fine locally within an html container file but when I post it to my website, (both html file and class file in the same folder ) the applet has errors. Are there some classes that can't be used in downloaded files. Do I need to ch
-
Error deploying Bean with EJB QL statement in ejb-jar.xml
Hi, I'm using Oracle iAS 9i Rev:9.03. I've tried to deploy a Entity Bean with the following EJB QL Query: </cmp-field> <query> <query-method> <method-name>findByProcessStep</method-name> <method-params> <method-param>java.lang.Integer</method-param>
-
I'm new to Java and programming in general so forgive me. I need to get the ACL from a Lotus Notes database and convert it to a text file and so it can be used as an .htaccess file on our apache server. I know this is probably very simple, but I'm ha
-
HELP: Pixelated dissolves on m2vs
Hi there - I know this is not a new issue, but am wondering whether it has been resolved. I have edited DV footage in FCP. It's DV-NTSC 48k, nothing special. There are fade-ins and fade-outs created within FCP. The exported Quicktime movies look grea
-
Itunes cannot sync even though Ipod has enough memory
I have a 4 GB Ipod nano and my entire iTunes music library is 2.63 GB, my iPod can hold 3.63 GB of data. It was syncing like usual (I have it set to sync all music+playlists) then I added a couple songs (about ten) and it suddenly tells me that my li