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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi there when i am executing my vfp program then error come uniqueness of IT_ID_PRCD is violated

Status
Not open for further replies.

piyush12197

Programmer
Dec 14, 2017
8
IN
CLEAR
SET TALK OFF
YES="Y"
USE cd
DO WHILE YES="Y"
ITEM_ID1=0
ISSN1=SPACE(20)
DESCRIPTION1=SPACE(20)
@7,75,38,170 box
@4,114 SAY "CD DETAIL"
@4.9,112 SAY "______________"
@10,95 SAY "ENTER ITEM ID " GET ITEM_ID1
@12,95 SAY "ENTER ISSN " GET ISSN1
@14,95 SAY "ENTER DESCRIPTION " GET DESCRIPTION1
@32,95 SAY "IF YOU WANT MORE ENTRY(Y/N)" GET YES PICT "Y"
READ
APPEND BLANK
REPLACE ITEM_ID WITH ITEM_ID1 ;
, ISSN WITH ISSN1;
, DESCRIPTION WITH DESCRIPTION1
ENDDO
DO ITEM_DETAIL
and error is highlighted to append blank.
 
thanks there to visit the thread. i solved this problem by myself.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top