CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Record form with 2 columns

Print topic Send  topic

Author Message
Mammer
Posted: 05/06/2002, 1:10 PM

Does anyone know of an easy way to arrange the fields in a record form in two columns? I would rather display 20 fields in two columns of 10 fields each - with the appropriate captions ofcourse. I would prefer a method that would not require editing the html in a separate tool (Dreamweaver or FrontPage). I am using ASP with templates.
Thanks!
Nicole
Posted: 05/07/2002, 5:31 AM

Mammer,
as you use template pattern the only way is to edit html file. Open it and you'll that fields for record form are located like:
<tr>
<td>Field1 Caption </td>
<td><textarea name="bug_desc" cols="60" rows="3">{bug_desc}</textarea></td>
</tr>
<tr>
<td>Field2 Caption </td>
<td><input type="text" name="priority_id" maxlength="" value="{priority_id}" size=""></td>
</tr>

You should modify it to locate 4 <td> tags inside one row:
<tr>
<td>Field1 Caption </td>
<td><textarea name="bug_desc" cols="60" rows="3">{bug_desc}</textarea></td>
<td>Field2 Caption </td>
<td><input type="text" name="priority_id" maxlength="" value="{priority_id}" size=""></td>
</tr>
Mammer
Posted: 05/07/2002, 6:34 AM

Thanks Nicole. For curiosity sake how is it done if I don't use templates?
Nicole
Posted: 05/07/2002, 6:58 AM

In templateless pattern create Custom Show event, obtain generated code and edit it.
George P.
Posted: 05/08/2002, 3:59 AM

Is it possible to "copy and paste" the form in the same page, link them together (via ID) and choose only different fields for each form?
Nicole
Posted: 05/08/2002, 6:31 AM

George,
no you cannot use two forms. Just look at html code - you'll get two forms if you duplicate the form. And again you should edit html to make them work. The easier way is to edit html layout of one form.
George P.
Posted: 05/09/2002, 2:14 AM

Thanks Nicole!

I would just add that "Record form with 2 columns" would be a very useful feature for CC / CCS. It would increase the usability both for designer and end user, which is one of the strongest arguments of such toll.

Anyway, now I tested “my” solution: two sibling record forms in the same page with following parameters:

Page
Columnar Layout [x]
Forms
Grid,
Grid Type: Columnar
Page Navigation [x] *only the left form
Records = 1

It worked - almost :-)
The problem is I can not synchornise the rigt form to follow the left one.


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.