Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

powerform with windows 2000/XP

Status
Not open for further replies.

GilbertoJunior

Programmer
May 3, 2003
4
BR

Hello all,

I drawing form in Powerform V7 with paper custom size, more when powerform
jump for next paper made a mistake. this happens in computer windows
2000, more in computer Windows 98 the jump of the paper happens
correct. they it passed for this problem and it knows solution ,
because in windows 2000 not functions the paper jump and in the
Windows 98 it functions?

Thanks

Regards

Gilberto Junior
 
You must set on "Setting" the printer as a printer server with the format of your custom size and when you print you must use that format.
Fsccdm
 
me setting the printer as form continues American
even so doesn't work

you have some other idea ?


 
The problem with powerform is that on custom size you have to set the size either the Form and Overlay Descriptor otherwise one of the two will make the page jump on other sizes.
Roberto Cecchini
 
Hi,

i will send again and try explain exactly problem happens when i try read the same data in SQL Server 2000 at Machine with Windows 2000 Server SP3.

I need test the LOCK of SQL Server. In native files, when i try read a registry with the open I-O clause, the FILE STATUS of this file, return the code "93" or "99". Well, i´m trying get this STATUS of SQL Server, but i don´t get! How to i´m doing this:

EXEC SQL
DECLARE EDT CURSOR FOR
SELECT CODIGO, DESCRICAO FROM NATUREZAS WHERE CODIGO = 16
END-EXEC
*=================================================================
* DEFINE ACTION WHEN AN 'SQLERROR' EXCEPTION OCCURS
*=================================================================
EXEC SQL
WHENEVER SQLERROR GO TO :p-END (according with explanations of Brad, but LOCK is NOT A ERROR, correct? )
END-EXEC.
*=================================================================
* RECEIVE THE NUMBER OF ITEMS IN THE TABLE BY USING THE COUNT FUNCTION.
*=================================================================
EXEC SQL
OPEN EDT
END-EXEC.
EXEC SQL
FETCH EDT INTO :TNAT-CODIGO, :TNAT-DESCRICAO
END-EXEC
DISPLAY SQLCODE SQLSTATE SQLMSG AT 2101

What´s happen. When two users, access for the same data the LOCK occurs in the SQL and my application stops in a FETCH clause. If the nobody user not liberate this data, my application don´t goback for my controller. How to resolve this?!

Regards,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top