Search found 22 matches

by deanomeano
Wed Feb 15, 2006 2:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: updating checkboxes?
Replies: 8
Views: 2030

manuramos, thank you for your help, although I found a solution to the problem. James, yes I agree that radio buttons are more user friendly, but that is what the user of the system has asked for, that is why I said that ideally I would like to have used them instead of radio buttons. Thank you for ...
by deanomeano
Tue Feb 14, 2006 11:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: updating checkboxes?
Replies: 8
Views: 2030

Enrico,

It is possible to do this with checkboxes, I have replaced VALID with ON CLICK and works fine.

Thanks for your comments.
by deanomeano
Tue Feb 14, 2006 11:14 am
Forum: FiveWin for Harbour/xHarbour
Topic: updating checkboxes?
Replies: 8
Views: 2030

Enrico,

As I said in my post, I know I can use radio buttons for this, but I would like that to be a last resort. Is what I am trying to do possible, if not then I shall rethink.

Thank You for your comments.
by deanomeano
Tue Feb 14, 2006 10:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: updating checkboxes?
Replies: 8
Views: 2030

updating checkboxes?

I am using several checkboxes in my program, and when I declare them i call a function for each one so that if one is ticked, if the user selects a different one then the focus will be changed and the first checkbox they selected will become blank. CODE; REDEFINE CHECKBOX oRubble VAR mRubble ID 104 ...
by deanomeano
Fri Feb 10, 2006 11:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: PADR and LEN
Replies: 2
Views: 890

I tried using Alltrim instead of PADR on the mRepComm := ("["+PADR(cApp,len(REPDETS->REP_NAME))+".rpt]") line, which seemed to fix a few of the records. although some still had a large gasp before the .rpt extension, with some records not even showing .rpt extension. am I doing s...
by deanomeano
Fri Feb 10, 2006 9:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: PADR and LEN
Replies: 2
Views: 890

PADR and LEN

In my program I have a comments field, which, if empty, will save the filename used and place .rpt extension onto the filename. However, although the majority of these work, a few of them will show the filename with a large gap before the .rpt extension. how can I solve this? EXAMPLE ; [Monthly Acco...
by deanomeano
Wed Jan 25, 2006 10:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: Lock Required
Replies: 1
Views: 675

Lock Required

when the ok button in my program is pressed the information in the dialog is saved to a DBF, below is the code, the error (COMIX 1022) i get says that a lock is required. i have tried TRANSFIL->(RECLOCK()), but this does not work?? CODE; STATIC FUNCTION SaveInspect //Dean REPLACE TRANSFIL->CONT_LEVE...
by deanomeano
Thu Jan 19, 2006 11:03 am
Forum: FiveWin for Harbour/xHarbour
Topic: Arguement Error Conditional
Replies: 2
Views: 800

Thanks Antonio, all seems ok now :D
by deanomeano
Thu Jan 19, 2006 10:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: Arguement Error Conditional
Replies: 2
Views: 800

Arguement Error Conditional

In my program, there is a listbox. when information in this list is doubleclicked the fields in the dialog box are updated. this works fine for all of them, exept for two places where a dbf field is shared between the two. I have used a PADL function, so that if the information in the field ends wit...
by deanomeano
Wed Jan 18, 2006 9:03 am
Forum: FiveWin for Harbour/xHarbour
Topic: Error Base\1002
Replies: 4
Views: 1339

Antonio,

I am using SQL, and program now works, many thanks!

One final question, is how can i code the size of a listbox column?
by deanomeano
Tue Jan 17, 2006 12:29 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error Base\1002
Replies: 4
Views: 1339

Antonio, I have placed those lines into the code now, but am still getting the 1002 error, here is the code after the lines have been added, have I missed something?? CODE; STATIC FUNCTION OpenRepDets() LOCAL RetVal := .F. LOCAL mFileName := ALLTRIM(mDataSet)+"\REPDETS.DBF" IF ! FILE(mFile...
by deanomeano
Tue Jan 17, 2006 10:31 am
Forum: FiveWin for Harbour/xHarbour
Topic: Error Base\1002
Replies: 4
Views: 1339

Error Base\1002

In my program, before the main dialog window runs, I run a windows explorer window so that the user can select a folder which contains the DBF needed to run the main dialog. If the program finds the DBF then the main dialog will run, however, if it is not found, the program shows a message to tell t...
by deanomeano
Tue Jan 17, 2006 10:06 am
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR BASE\1003?
Replies: 4
Views: 1291

Antonio,

I have solved the problem, thanks for the help
by deanomeano
Mon Jan 16, 2006 9:09 am
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR BASE\1003?
Replies: 4
Views: 1291

Antonio,

I have checked the DBF for the field and it does exist, I have also checked that the DBF has been placed in the correct file. Everything seems to be fine, could I have coded something incorrectly?

Many Thanks
by deanomeano
Wed Jan 11, 2006 3:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR BASE\1003?
Replies: 4
Views: 1291

ERROR BASE\1003?

I have written a save command in my program which will write variable values to a database. i get a base\1003 error variable not found REP_PROOF when i run the function, although the REP_PROOF is a database field. here is where the error occurs in the code REPLACE REPDETS->REP_PROOF WITH mFileProof ...