Create PHP form from MySQL table structure
Hi folks
Not directly DW related, but ....
Anybody got any recommendations for a utility which would
create a quick head
start by creating the php/html code for a basic form using
the field structure
of a MySQL table ?
Thanks for any suggestions.
Ronnie MacGregor
Scotland
Ronnie at
dBASEdeveloper
dot co dot uk
www.dBASEdeveloper.co.uk
On Sun, 21 Dec 2008 15:08:30 +0000 (UTC)
Joe Makowiec said :
> On 21 Dec 2008 in macromedia.dreamweaver, Ronnie
MacGregor wrote:
>
> > Anybody got any recommendations for a utility which
would create a
> > quick head start by creating the php/html code for
a basic form
> > using the field structure of a MySQL table ?
> I haven't used it, but it looks like phpmyedit may do
what you want:
>
>
http://www.phpmyedit.org/
Hi Joe
Thanks for this ...
phpMyEdit looks very good and very useful, and I'm playing
with it to see just
how configurable it proves to be.
It looks good for general admin tasks etc. bet whether it
proves suitable for
end user (public) use remains to be seen.
It is basically a class which generates the page code server
side at runtime
using the parameters you set in a calling script, but of
course you can grab
the source code for the generated page which may prove to
satisfy my initial
request.
Anyway ... from what I've seen so far I could recommend that
it is well worth
some time exploring the possibilities.
Cheers,
Ronnie
Ronnie MacGregor
Scotland
Ronnie at
dBASEdeveloper
dot co dot uk
www.dBASEdeveloper.co.uk
Similar Messages
-
Microsoft Access 2010 Creating a Form from Multiple Tables
Hi.
I am brand new to Microsoft Access and have had some exciting success making forms from single tables. This has made my data entry life much easier. However, I am continually stumped on one form I want to make. I would like to make a form that will let me
update which brands retailers are selling. Most of this information is in my SalesHx table. However, my SalesHx table only uses RetailerID and BrandID to record history. The Brand's name (linked to a BrandID) is stored in my Brand Table and the Retailer name
is stored in my Retailer table (linked to a RetailerID). I would like to be able to see the brand's name and the retailer's name when entering in data on a form, since I cannot remember the ids that associate with the names. I have been able to make a form,
with a subform, that displays all of the information I want to see. When I update this form, though, with a new record, it invariably thinks that I am adding an entirely new record, not simply recording a new sales date for an already known brand. Even if
I make the brand name a combo box that is limited to the fields on my table, this still happens. I will have BrandX as brand number 100 and as brand number 300 if I add it in through my sales history form. I am ready to throw access out the window. Can anyone
offer advice?When I update this form, though, with a new record, it invariably thinks that I am adding an entirely new record, not
simply recording a new sales date for an already known brand.
In what table is the SalesDate recorded?
Build a little, test a little -
How to create a form from a table available from a database link?
Hi,
I have a table accessible via a database link.
It is working perfectly, but I cannot create a from using the wizzard.
It says: "Primary Key must be specified."
But there is a primary key in the source database!
Best regards,
Sebastien (Geneva)a little more about dblink:
i have a view in the dblink
when i execute
insert into ias_time_of_acc(ias29, end_acc_period, start_acc_period, acc_last_date_id, comp_date_id, active)
values(:p4110_ias29, to_date(:p4110_end_acc,'DD.MM.YYYY'),
to_date(:p4110_start_acc,'DD.MM.YYYY'),:p4110_last_date, :p4110_comp_date,'N');
i've got this err:
ORA-01461: can bind a LONG value only for insert into a LONG column ORA-02063: preceding line from OFSA_OWNER@OFSA_TO_ORCL
and when i execute
a:= to_date(:p4110_start_acc,'DD.MM.YYYY') ;
b:= :p4110_last_date;
c:= :p4110_comp_date;
d:= :p4110_ias29;
insert into ias_time_of_acc(ias29, start_acc_period, end_acc_period, acc_last_date_id, comp_date_id, active )
values(d, a,to_date(:p4110_end_acc,'DD.MM.YYYY'),
b, c,'N' );
everything is working properly
so problem is in the lenght of insert statment i think. -
Trying to create fillable form from InDesign table
I am working on a very long document, over 100 rows and about 18 columns, which will exist only as a pdf. I need to make 6 of the columns interactive so that they can be filled in with one of three letters by the end user.
I created the design in InDesign CS 5.5 as a table. That worked well for design control, but Acrobat X 10.1.3 does not recognize any of the cells in the PDF document. Is there a different InD export option that will make a table convert to a fillable form? I used press quality, then opened the pdf in Acrobat.
I have worked around by creating a short drop down list with the three letters in it and copied that into the cells using the Place Multiple Fields command. Then I can adjust position easily enough.
*Except* my client would prefer that the end user just type one of the letters into the cell/field rather than doing a drop down selection on each of the several hundred cells. She'd also like to be able to copy and paste the final filled-in information into her original excel document.
Am I missing something in Acrobat? I don't do fillable forms often and have never had one this massive.
I am working on a Mac.
Thanks for any help.
DCHi Dory, any luck on your post regarding the fillable forms in Indesign?
all best
Riaan Liebenberg
Dory Colbert wrote:
I am working on a very long document, over 100 rows and about 18 columns, which will exist only as a pdf. I need to make 6 of the columns interactive so that they can be filled in with one of three letters by the end user.
I created the design in InDesign CS 5.5 as a table. That worked well for design control, but Acrobat X 10.1.3 does not recognize any of the cells in the PDF document. Is there a different InD export option that will make a table convert to a fillable form? I used press quality, then opened the pdf in Acrobat.
I have worked around by creating a short drop down list with the three letters in it and copied that into the cells using the Place Multiple Fields command. Then I can adjust position easily enough.
*Except* my client would prefer that the end user just type one of the letters into the cell/field rather than doing a drop down selection on each of the several hundred cells. She'd also like to be able to copy and paste the final filled-in information into her original excel document.
Am I missing something in Acrobat? I don't do fillable forms often and have never had one this massive.
I am working on a Mac.
Thanks for any help.
DC -
TIPS(18) : CREATING SCRIPTS TO RECREATE A TABLE STRUCTURE
제품 : SQL*PLUS
작성날짜 : 1996-11-12
TIPS(18) : Creating Scripts to Recreate a Table Structure
=========================================================
The script creates scripts that can be used to recreate a table structure.
For example, this script can be used when a table has become fragmented or to
get a defintion that can be run on another database.
CREATES SCRIPT TO RECREATE A TABLE-STRUCTURE
INCL. STORAGE, CONSTRAINTS, TRIGGERS ETC.
This script creates scripts to recreate a table structure.
Use the script to reorganise a table that has become fragmented,
to get a definition that can be run on another database/schema or
as a basis for altering the table structure (eg. drop a column!).
IMPORTANT: Running the script is safe as it only creates two new scripts and
does not do anything to your database! To get anything done you have to run the
scripts created.
The created scripts does the following:
1. save the content of the table
2. drop any foreign key constraints referencing the table
3. drop the table
4. creates the table with an Initial storage parameter that
will accomodate the entire content of the table. The Next
parameter is 25% of the initial.
The storage parameters are picked from the following list:
64K, 128K, 256K, 512K, multiples of 1M.
5. create table and column comments
6. fill the table with the original content
7. create all the indexes incl storage parameters as above.
8. add primary, unique key and check constraints.
9. add foreign key constraints for the table and for referencing
tables.
10.Create the table's triggers.
11.Compile any depending objects (cascading).
12.Grant table and column privileges.
13.Create synonyms.
This script must be run as the owner of the table.
If your table contains a LONG-column, use the COPY
command in SQL*Plus to store/restore the data.
USAGE
from SQL*Plus:
start reorgtb
This will create the scripts REORGS1.SQL and REORGS2.SQL
REORGS1.SQL contains code to save the current content of the table.
REORGS2.SQL contains code to rebuild the table structure.
undef tab;
set echo off
column a1 new_val stor
column b1 new_val nxt
select
decode(sign(1024-sum(bytes)/1024),-1,to_char((round(sum(bytes)/(1024*1
024))+1))||'M', /* > 1M new rounded up to nearest Megabyte */
decode(sign(512-sum(bytes)/1024), -1,'1M',
decode(sign(256-sum(bytes)/1024), -1,'512K',
decode(sign(128-sum(bytes)/1024), -1,'256K',
decode(sign(64-sum(bytes)/1024) , -1,'128K',
'64K'
a1,
decode(sign(1024-sum(bytes)/4096),-1,to_char((round(sum(bytes)/(4096*1
024))+1))||'M', /* > 1M new rounded up to nearest Megabyte */
decode(sign(512-sum(bytes)/4096), -1,'1M',
decode(sign(256-sum(bytes)/4096), -1,'512K',
decode(sign(128-sum(bytes)/4096), -1,'256K',
decode(sign(64-sum(bytes)/4096) , -1,'128K',
'64K'
b1
from user_extents
where segment_name=upper('&1');
set pages 0 feed off verify off lines 150
col c1 format a80
spool reorgs1.sql
PROMPT drop table bk_&1
prompt /
PROMPT create table bk_&1 storage (initial &stor) as select * from &1
prompt /
spool off
spool reorgs2.sql
PROMPT spool reorgs2
select 'alter table '||table_name||' drop constraint
'||constraint_name||';'
from user_constraints where r_constraint_name
in (select constraint_name from user_constraints where
table_name=upper('&1')
and constraint_type in ('P','U'));
PROMPT drop table &1
prompt /
prompt create table &1
select decode(column_id,1,'(',',')
||rpad(column_name,40)
||decode(data_type,'DATE' ,'DATE '
,'LONG' ,'LONG '
,'LONG RAW','LONG RAW '
,'RAW' ,'RAW '
,'CHAR' ,'CHAR '
,'VARCHAR' ,'VARCHAR '
,'VARCHAR2','VARCHAR2 '
,'NUMBER' ,'NUMBER '
,'unknown')
||rpad(
decode(data_type,'DATE' ,null
,'LONG' ,null
,'LONG RAW',null
,'RAW' ,decode(data_length,null,null
,'('||data_length||')')
,'CHAR' ,decode(data_length,null,null
,'('||data_length||')')
,'VARCHAR' ,decode(data_length,null,null
,'('||data_length||')')
,'VARCHAR2',decode(data_length,null,null
,'('||data_length||')')
,'NUMBER' ,decode(data_precision,null,' '
,'('||data_precision||
decode(data_scale,null,null
,','||data_scale)||')')
,'unknown'),8,' ')
||decode(nullable,'Y','NULL','NOT NULL') c1
from user_tab_columns
where table_name = upper('&1')
order by column_id
prompt )
select 'pctfree '||t.pct_free c1
,'pctused '||t.pct_used c1
,'initrans '||t.ini_trans c1
,'maxtrans '||t.max_trans c1
,'tablespace '||s.tablespace_name c1
,'storage (initial '||'&stor' c1
,' next '||'&stor' c1
,' minextents '||t.min_extents c1
,' maxextents '||t.max_extents c1
,' pctincrease '||t.pct_increase||')' c1
from user_Segments s, user_tables t
where s.segment_name = upper('&1') and
t.table_name = upper('&1')
and s.segment_type = 'TABLE'
prompt /
select 'comment on table &1 is '''||comments||''';' c1 from
user_tab_comments
where table_name=upper('&1');
select 'comment on column &1..'||column_name||
' is '''||comments||''';' c1 from user_col_comments
where table_name=upper('&1');
prompt insert into &1 select * from bk_&1
prompt /
set serveroutput on
declare
cursor c1 is select index_name,decode(uniqueness,'UNIQUE','UNIQUE')
unq
from user_indexes where
table_name = upper('&1');
indname varchar2(50);
cursor c2 is select
decode(column_position,1,'(',',')||rpad(column_name,40) cl
from user_ind_columns where table_name = upper('&1') and
index_name = indname
order by column_position;
l1 varchar2(100);
l2 varchar2(100);
l3 varchar2(100);
l4 varchar2(100);
l5 varchar2(100);
l6 varchar2(100);
l7 varchar2(100);
l8 varchar2(100);
l9 varchar2(100);
begin
dbms_output.enable(100000);
for c in c1 loop
dbms_output.put_line('create '||c.unq||' index '||c.index_name||' on
&1');
indname := c.index_name;
for q in c2 loop
dbms_output.put_line(q.cl);
end loop;
dbms_output.put_line(')');
select 'pctfree '||i.pct_free ,
'initrans '||i.ini_trans ,
'maxtrans '||i.max_trans ,
'tablespace '||i.tablespace_name ,
'storage (initial '||
decode(sign(1024-sum(e.bytes)/1024),-1,
to_char((round(sum(e.bytes)/(1024*1024))+1))||'M',
decode(sign(512-sum(e.bytes)/1024), -1,'1M',
decode(sign(256-sum(e.bytes)/1024), -1,'512K',
decode(sign(128-sum(e.bytes)/1024), -1,'256K',
decode(sign(64-sum(e.bytes)/1024) , -1,'128K',
'64K'))))) ,
' next '||
decode(sign(1024-sum(e.bytes)/4096),-1,
to_char((round(sum(e.bytes)/(4096*1024))+1))||'M',
decode(sign(512-sum(e.bytes)/4096), -1,'1M',
decode(sign(256-sum(e.bytes)/4096), -1,'512K',
decode(sign(128-sum(e.bytes)/4096), -1,'256K',
decode(sign(64-sum(e.bytes)/4096) , -1,'128K',
'64K'))))) ,
' minextents '||s.min_extents ,
' maxextents '||s.max_extents ,
' pctincrease '||s.pct_increase||')'
into l1,l2,l3,l4,l5,l6,l7,l8,l9
from user_extents e,user_segments s, user_indexes i
where s.segment_name = c.index_name
and s.segment_type = 'INDEX'
and i.index_name = c.index_name
and e.segment_name=s.segment_name
group by s.min_extents,s.max_extents,s.pct_increase,
i.pct_free,i.ini_trans,i.max_trans,i.tablespace_name ;
dbms_output.put_line(l1);
dbms_output.put_line(l2);
dbms_output.put_line(l3);
dbms_output.put_line(l4);
dbms_output.put_line(l5);
dbms_output.put_line(l6);
dbms_output.put_line(l7);
dbms_output.put_line(l8);
dbms_output.put_line(l9);
dbms_output.put_line('/');
end loop;
end;
declare
cursor c1 is
select constraint_name, decode(constraint_type,'U',' UNIQUE',' PRIMARY
KEY') typ,
decode(status,'DISABLED','DISABLE',' ') status from user_constraints
where table_name = upper('&1')
and constraint_type in ('U','P');
cname varchar2(100);
cursor c2 is
select decode(position,1,'(',',')||rpad(column_name,40) coln
from user_cons_columns
where table_name = upper('&1')
and constraint_name = cname
order by position;
begin
for q1 in c1 loop
cname := q1.constraint_name;
dbms_output.put_line('alter table &1');
dbms_output.put_line('add constraint '||cname||q1.typ);
for q2 in c2 loop
dbms_output.put_line(q2.coln);
end loop;
dbms_output.put_line(')' ||q1.status);
dbms_output.put_line('/');
end loop;
end;
declare
cursor c1 is
select c.constraint_name,c.r_constraint_name cname2,
c.table_name table1, r.table_name table2,
decode(c.status,'DISABLED','DISABLE',' ') status,
decode(c.delete_rule,'CASCADE',' on delete cascade ',' ')
delete_rule
from user_constraints c,
user_constraints r
where c.constraint_type='R' and
c.r_constraint_name = r.constraint_name and
c.table_name = upper('&1')
union
select c.constraint_name,c.r_constraint_name cname2,
c.table_name table1, r.table_name table2,
decode(c.status,'DISABLED','DISABLE',' ') status,
decode(c.delete_rule,'CASCADE',' on delete cascade ',' ')
delete_rule
from user_constraints c,
user_constraints r
where c.constraint_type='R' and
c.r_constraint_name = r.constraint_name and
r.table_name = upper('&1');
cname varchar2(50);
cname2 varchar2(50);
cursor c2 is
select decode(position,1,'(',',')||rpad(column_name,40) colname
from user_cons_columns
where constraint_name = cname
order by position;
cursor c3 is
select decode(position,1,'(',',')||rpad(column_name,40) refcol
from user_cons_columns
where constraint_name = cname2
order by position;
begin
dbms_output.enable(100000);
for q1 in c1 loop
cname := q1.constraint_name;
cname2 := q1.cname2;
dbms_output.put_line('alter table '||q1.table1||' add constraint ');
dbms_output.put_line(cname||' foreign key');
for q2 in c2 loop
dbms_output.put_line(q2.colname);
end loop;
dbms_output.put_line(') references '||q1.table2);
for q3 in c3 loop
dbms_output.put_line(q3.refcol);
end loop;
dbms_output.put_line(') '||q1.delete_rule||q1.status);
dbms_output.put_line('/');
end loop;
end;
col c1 format a79 word_wrap
set long 32000
set arraysize 1
select 'create or replace trigger ' c1,
description c1,
'WHEN ('||when_clause||')' c1,
trigger_body ,
'/' c1
from user_triggers
where table_name = upper('&1') and when_clause is not null
select 'create or replace trigger ' c1,
description c1,
trigger_body ,
'/' c1
from user_triggers
where table_name = upper('&1') and when_clause is null
select 'alter trigger '||trigger_name||decode(status,'DISABLED','
DISABLE',' ENABLE')
from user_Triggers where table_name='&1';
set serveroutput on
declare
cursor c1 is
select 'alter table
'||'&1'||decode(substr(constraint_name,1,4),'SYS_',' ',
' add constraint ') a1,
decode(substr(constraint_name,1,4),'SYS_','
',constraint_name)||' check (' a2,
search_condition a3,
') '||decode(status,'DISABLED','DISABLE','') a4,
'/' a5
from user_constraints
where table_name = upper('&1') and
constraint_type='C';
b1 varchar2(100);
b2 varchar2(100);
b3 varchar2(32000);
b4 varchar2(100);
b5 varchar2(100);
fl number;
begin
open c1;
loop
fetch c1 into b1,b2,b3,b4,b5;
exit when c1%NOTFOUND;
select count(*) into fl from user_tab_columns where table_name =
upper('&1') and
upper(column_name)||' IS NOT NULL' = upper(b3);
if fl = 0 then
dbms_output.put_line(b1);
dbms_output.put_line(b2);
dbms_output.put_line(b3);
dbms_output.put_line(b4);
dbms_output.put_line(b5);
end if;
end loop;
end;
create or replace procedure dumzxcvreorg_dep(nam varchar2,typ
varchar2) as
cursor cur is
select type,decode(type,'PACKAGE BODY','PACKAGE',type) type1,
name from user_dependencies
where referenced_name=upper(nam) and referenced_type=upper(typ);
begin
dbms_output.enable(500000);
for c in cur loop
dbms_output.put_line('alter '||c.type1||' '||c.name||' compile;');
dumzxcvreorg_dep(c.name,c.type);
end loop;
end;
exec dumzxcvreorg_dep('&1','TABLE');
drop procedure dumzxcvreorg_Dep;
select 'grant '||privilege||' on '||table_name||' to '||grantee||
decode(grantable,'YES',' with grant option;',';') from
user_tab_privs where table_name = upper('&1');
select 'grant '||privilege||' ('||column_name||') on &1 to
'||grantee||
decode(grantable,'YES',' with grant option;',';')
from user_col_privs where grantor=user and
table_name=upper('&1')
order by grantee, privilege;
select 'create synonym '||synonym_name||' for
'||table_owner||'.'||table_name||';'
from user_synonyms where table_name=upper('&1');
PROMPT REM
PROMPT REM YOU MAY HAVE TO LOG ON AS SYSTEM TO BE
PROMPT REM ABLE TO CREATE ANY OF THE PUBLIC SYNONYMS!
PROMPT REM
select 'create public synonym '||synonym_name||' for
'||table_owner||'.'||table_name||';'
from all_synonyms where owner='PUBLIC' and table_name=upper('&1') and
table_owner=user;
prompt spool off
spool off
set echo on feed on verify on
The scripts REORGS1.SQL and REORGS2.SQL have been
created. Alter these script as necesarry.
To recreate the table-structure, first run REORGS1.SQL.
This script saves the content of your table in a table
called bk_.
If this script runs successfully run REORGS2.SQL.
The result is spooled to REORGTB.LST.
Check this file before dropping the bk_ table.
*/Please do NOT cross-postings: create a deep structure for dynamic internal table
Regards
Uwe -
I want to use a form from a table because it will create all my ddl.
However the table I want to use I have to get the description from other tables using a foreign
key. Can this be done.
Currently I am trying to do this with a report but I have to make my updates by looping
through apex_application.
HowardHoward:
You could build a view that includes the columns that you need from the related tables. You can then create a Report/Form based on this view. However, you will have to make sure that the form includes only those columns from the table that you want to update/insert/delete .
Varad -
I've created a PDF form using Adobe acrobat. I created the forms from a PDF that I made using pages and word on Mac running Mountain lion. How do I allow the user of the form to insert JPEG files when filling out the form and how do I allow the user to add more fields or groups of fields as needed.
The type of form yo're describing is possible if you create it in LiveCycle Designer. It may also be possible in Acrobat, but there are certain restrictions. The type of form is known as a dynamic XFA form. LiveCycle Designer is not available on the Mac, so you'd have to install the software on a Windows machine and learn how to create this type of form. The LiveCycle Designer forum here is a good resource for getting more help.
Reader 11 now supports creating new pages using templates with a form that you create in Acrobat (Acroform). This requires some JavaScript programming. It also adds support for using a button to display a page from a PDF, which can be an image or anything else a PDF can be. So the user would click a button, be prompted to import a page from an existing PDF, and the button (or a different button) displays it as its icon. This would require the user to convert the image to PDF first, which is relatively easy these days (e.g., using Preview on the Mac, or Word on Mac/Windows). This too involves a bit of JavaScript programming, but it's very simple and straightforward. -
CREATING A FORM UTILIZING MULTIPLE TABLES
I'd like to know if it's feasable to create a form using multiple tables and if so, how?
Thanxsgtmaj,
It's feasible. You'll have to create the form manually. This part of the documentation describes how that's done.
http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b16373/bldapp.htm#sthref960
Sergio -
Create a Form from Scratch: Possible or Not
So, I have Acrobat X.
I want to create a form from scratch. I have Word doc, but it wasn't created to look like a form, and I didn't like the way it imported.
So, can I create a form from scratch. Or Not?
If you try to start from scratch, it suggests a template on formscentral - and after signing up for free and spending an hour making the form, I find that I can not save or save as PDF the form that I created without forking over my credit card information - for a free trial that bills in a few weeks. (As much as I like the form data collection tools available, I cannot have my data collected by Adobe.)
I can open an empty MS Word doc to start from - as my import choice - but can you make it any harder to mave the text around or enter new text? I never did figure out how to edit text. Is the answer going to be to edit my text in Word or in the plain PDF tool?
I just found the form creation to be completely counter intuitive.Acrobat is not a Word processor, really. "Adding a carriage return" makes sense in a word processor, where the layout is still fluid. In a PDF the layout is finished, everything is a graphic. So, absolutely, it's designed to work with pre-made forms. To me, that's a strenghth - you can use the tools you already know to make the form background, then you add the fields in Acrobat. With work, you can preserve the fields over remaking the PDF, then just adjust the field positions.
-
Creating vb forms from designer
After creating oracle forms from designer whenever we run form it display no records at the first and we can add/edit/delete/query
but if we create vb forums it display all the records.
Can't we do it just like in oracle formsHi Niall,
After updating Properties>Compatibility and settings Target version on the old xdp I see following xml generated.
Does this sound right () ?
Thanks
YogLC
<?xml version="1.0" encoding="UTF-8"?>
<?xfa generator="AdobeLiveCycleDesignerES_V9.0.0.1.20100329.2.659576" APIVersion="3.1.9277.0"?><xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2010-06-21T15:15:11Z" uuid="42e37fb9-0d21-499d-94bd-259200a97a10"><
template xmlns:xfa="http://www.xfa.org/schema/xfa-template/2.1/" xmlns="http://www.xfa.org/schema/xfa-template/3.0/">
<?formServer defaultPDFRenderFormat acrobat9.1static?>
<?formServer allowRenderCaching 0?>
<?formServer formModel both?>
<subform name="F" layout="tb" locale="ambient"> -
Creating a simple 3 column table structure
Good afternoon.
I have been trying to create a simple 3 column table structure. A task which should typically take no longer than 15 minutes to design and populate has taken over two hours! (The final structure is acceptable but not ideal).
Creating the design whilst applying the style Default Table Style - Light, the content of each column and row are all equally aligned.
However, when applying either of these styles; Table Style 1 - Clear or
Table Style 2 - Light Banded, (light banded is my preference) the alignment of each column and row 'fall apart'. I.e. the content within the left column displays half way down the page, the content within the middle column at the top
and the content within the right column at the bottom of the page???
Adding and removing carriage returns help to a degree but is not ultimately agreeable to achieving an equally structured table design.
I am rather new to SharePoint design and after exhausting all efforts and considerable time, I need to request assistance please.
Thank you.
David
Senninha010Thank you so much!
Such a simple yet effective solution. :)
The table structure created in Word retains it's integrity when pasted into a SharePoint page.
Is there anyway I can also retain the background colour of individual table columns? Specifying such colours in Word; this feature is lost when the table is pasted into a SharePoint page.
Senninha010 -
Problem creating a form on a table from another custom schema
Hi,
I have a table in a custom schema that i have granted SELECT, UPDATE, INSERT and DELETE to our apex schema. I have created a synonym for this table under the apex schema but I can't build a form for it. If i try adding the form when creating the application, it gives me an error about not having a primary key on the table, which i do. If i create the application with a blank page and then try to add the form, it gives me an error that the table must contain at least one column, which it contains 12. If i view the table in the SQL Workshop, it gives an accurate count of rows in the table but doesn't provide any information about the table and doesn't display the data.
If I login to TOAD under our apex schema and view the synonym object, i can see all of the information about the table - the columns, the primary key, etc. But I can't see it inside the Application Express app.
Can anyone tell me why this is and what i can do to build a form on this shared table?
Thanks,
TroyTroy,
I suggest you get rid of the synonym and then don't use the Create Application wizard for this purpose. Instead, create the application, then use a create page or create form wizard. It should first ask you for the name of the schema that contains the table. If you get that far, you should be on your way.
Scott -
Hi, (Sorry for the long post)
DB Table one contains 4 fields:
EventName
Venue
Price
Date
Form one is used by the owner to enter the data for an event into the DB Table One - there are several different events.
DB Table two contains 7 fields (4 of the fields to retrieve data from table one)
Name
contact
email
Event Name
Venue
Price
Date
Form two is for a person registering for one of the events entered into DB table one.
I set up a recordset called rsListEvents and then used the "Insert Record Form Wizard" to create form two with the following fields:
EventName
Venue
Price
eDate
which I set to defaults
{rsListEvents.EventName}
{rsListEvents.Venue}
{rsListEvents.Price}
{rsListEvents.eDate}
I have a page listing the events and when register for this event is clicked I was hoping the data from table one would be entered into form two and the user then fills in the rest manually where all the data is entered into DB table two.
Unfortunately even though the URL indicates that the correct information from table one should be entered into form two .php?id_event=2
The data from DB table one row id_event=1 is always displayed no matter what the record number is.
Can anyone tell me where I have gone wrong
Thanks
laurenceI am simplyfing this so I can get help on a basic level ( Mr basic)
Why does this not work?
I set up a Dynamic List using DB Table 1 and set the detailed page.
I set up a record set on the detailed page using the same table.
SELECT *
FROM addEvents
When I test I get the results from ID 1 no matter which one I choose. But when I test the RS I get both dummy entries 1 and 2
So I am missing something that needs to be appended to the URL.
L -
How to Create file link from dynamic table.
Howdy -
I have MySQL database over PHP containing a simple table that lists a group of documents, including their file system address (contained within the site).
I've successfully created a recordset showing this table, and attached that to a dynamic table on a .php page. The display is correct, except I can't get the column contents to link to the document. The column just shows the text (title) of the document.
I've consulted article tn_15364 (http://kb2.adobe.com/cps/153/tn_15364.html), but that doesn't seem to work...
Any thoughts would be appreciated. I'm sure this is pretty simple, but I'm coming up snake eyes.
Charles AndrewsTo clarify:
My site has a folder where uploaded files (.doc, .xls, .pdf, etc.) are stored after having been uploaded by a user. During this upload process, the location of these files is stored, along with other identifying data, in a simple database table.
I have a dynamic table created in Dreamweaver that pulls from this database, listing the document name, etc. I would like the document name shown in a column to automatically link to the actual file so a user could just click on it and open the file.
I hope I'm not making sound more complicated than it is -
Thanks,
CWA -
How to create a form based on table using dynamic page?
Hi,
I need to create a form using dynamic page. How do you pass values from the html form to a oracle procedure that will get executed on submission of the form ? I could not find any documents which shows how to do that. Can anyone please help me out with an example ?
thanks,
MainakHi,
Something seems to get added to the form action because of "http". Hence I am removing it.
You need to write a procedure with the values in the as parameters. Say for example you want to insert a record into dept
table then
Dynamic page code
<html>
<body>
<form action="portalschema.insert_dept">
<input type="text" name="p_deptno">
<input type="text" name="p_dname">
<input type="submit" name="p_action" value="save">
</form>
</body>
</html>
Procedure code.
create or replace procedure insert_dept
(p_deptno in number,
p_dname in varchar2,
p_action in varchar2)
is begin
if p_action = 'save' then
insert into scott.dept(deptno,dname) values(p_deptno,p_dname);
commit;
end if;
end;
grant execute on insert_dept to public;
Hope this helps.
Thanks,
Sharmila
Maybe you are looking for
-
Using JMS Messaging Bridge in BPEL
Hi I wanted to create a bpel process to put a message on to a JBoss queue on an external system. I could see from many forums that JMS Messaging bridge is a suitable option to go ahead. I could create new JMS destinatiosn and a JMS bridge on top of t
-
Can't start emCCR - JAVA_HOME doesn't contain java
Hi all, Just a quick question regarding a problem I'm recently having with the Oracle Configuration Manager. I have it setup normally to run every fifteen minutes as is the default, I believe in Oracle's docs. However, it's now bombing out complainin
-
I'm running iPhoto 08. Normally, when I'm in "Photos" under "Library" I see a page of thumbnails of my photos. Something has happened so that now I just see a single photo. If I click 'edit' then I get the thumbnails in a bar up top - but I can ge
-
Can't save new comm channels after upgrade to PI 711
I've been provided a recently upgraded PI system, 7.11 from 7.1. After creating a new comm channel and adapter type, and trying to save, the following error is displayed: "The chosen Adapter Engine has version 710 but the chosen Adapter Metadata has
-
hello