There's a limit of 64K on the size of the compiled program. It's a known problem that GENDBC could generate the program that cannot be compiled. Steve Arnott wrote GenDBCX.prg that allows to overcome this problem. You can try to download it from Compuserve
http://forums.compuserve.com/vlforums/default.asp?SRV=MSDevApps ( direct link
http://go.compuserve.com/MSDevApps?SEC=15&FID=8467 ) or from
http://www.dfpug.de/forum/catbody.htm?!_0IT11KQVJ&nsec=8&cname=GENDBCX.ZIP.
>When using GENDBC.PRG to create a PRG for my remote database i got this error.
>Program size is larger then 64 K ( 121 K ).
>
>When i try to compile from VFP it complains Program is too large.
>
>I have found some larger PRG files on my H/D and can COMPILE them with no problem but the one created with GENDBC i can't .
>I tried with NODEBUG COMPILE
NODEBUG but with no luck.
>
>
>I am using VFP SP5.
>How do i overcome this?
>Any ideas what is going on?
>
>Thanks
>
>Dejan
--sb--