FiveDBU : FPT -> DBT

FiveDBU : FPT -> DBT

Postby Jimmy » Fri Oct 06, 2023 8:22 am

hi,

i have create DBF with Fivewin
Code: Select all  Expand view  RUN
  DBCREATE( datei, field_list, "DBFCDX" )

so i got FPT as Extension

while i have forgot a FIELD i use FiveDBU and modify Structure
this work so far ... but now i have DBT for "new" File :shock:

what i´m doing wrong :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: FiveDBU : FPT -> DBT

Postby paquitohm » Fri Oct 06, 2023 12:30 pm

Perhaps,

Code: Select all  Expand view  RUN
 REQUEST DBFNTX, DBFDBT
  DBCREATE( datei, field_list, "DBFNTX" )
 
paquitohm
 
Posts: 266
Joined: Fri Jan 14, 2022 8:37 am

Re: FiveDBU : FPT -> DBT

Postby Marc Venken » Fri Oct 06, 2023 12:32 pm

You did set your preferences correct I suppose ?
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1437
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: FiveDBU : FPT -> DBT

Postby nageswaragunupudi » Sat Oct 07, 2023 4:01 pm

Jimmy wrote:hi,

i have create DBF with Fivewin
Code: Select all  Expand view  RUN
  DBCREATE( datei, field_list, "DBFCDX" )
Code: Select all  Expand view  RUN
 

so i got FPT as Extension

while i have forgot a FIELD i use FiveDBU and modify Structure
this work so far ... but now i have DBT for "new" File :shock:

what i´m doing wrong :?:
Code: Select all  Expand view  RUN
 


This is due to a bug in the fivedbu.prg.
You can fix it with a small change:

Please see this code at line no.3679
Code: Select all  Expand view  RUN
         DbCreate( AllTrim( cDbfName ), aFields ),), oDlg:End(),;


Replace this line with this modified code:
Code: Select all  Expand view  RUN
         DbCreate( AllTrim( cDbfName ), aFields, If( Empty( cAlias ),,(cAlias)->(RDDNAME()) ) ),), oDlg:End(),;
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: FiveDBU : FPT -> DBT

Postby Jimmy » Tue Oct 10, 2023 2:32 pm

hi,

Ok, thx
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 92 guests