| |
|
|
- Page 1 - |
|
| of these code lösche I aimed a Datenbankeintrag: CompileMarkSeparation
IF CLICKED(kill%) | MenuItem(60)
MessageBox(Wollen Sie den Eintrag
+UPPER$(titel$)+
wirklich löschen ?,Lösch-Funktion,292)
IF %Button = 6
CHDIR pfad$+\+verz01$
@db(Open, #3, pfad$+\+verz01$+\DB_KATALOG.DBF)
@db(Use,#3)
@db(Go, Z%)
@db(Delete)
@db(Pack)
@db(close,#3)
@db(Open, #4, pfad$+\+verz01$+\DB_KATALOG.DBF)
@db(Use,#4)
@db(CreateIndex, NAME, IXNAME)
@db(CreateIndex, BILD, IXBILD)
@db(close,#4)
@db(Open, #5, pfad$+\+verz01$+\DB_KATALOG.DBF)
@db(Use,#5)
@db(Index, IXNAME, IXBILD)
@db(close,#5)
INHALTS_ANZEIGE Hier wird die Eintragsanzeige aktualisiert
SetFocus(mn_inhalt&)
ENDIF
ENDIF
The entry becomes too deleted but joining stand The Texts the others data confusion. in the data-bank are 1 area with the names, 1 area with a Bildernamen and two Memofelder. everything works, bloss the Delete proposes Purzelbaum - What is wrong ? |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
| now Have I to Euren Ratschlägen whom code modifiziert (in the first Posting Have I the code ausgetauscht) and its very so How before. Why I get, if I X%=@db(index, IXNAME, IXBILD) request, a zero. loudly Help should here a one showing. The index-Files are still present. see me my stupid Fragerei to. After many years Profan-using work I the first time with database-Files. there are The Error already vorprogrammiert ! Nobody is perfect !
Nachschlag: The Error lying by me - Getcount is Nullbasierend (nice word) and the Feldeinträge begin with one. my Loop for Inhaltsanzeige began too with one To count and therefore coming to the Delete one Datensatzes everything confusion ! - now begins The Loop with zero and alls works. thanks but nevertheless for Tipps about INDEX |
|
|
| |
|
|
|
Jac de Lad | @Dieter: I had here yet nothing written, schließe me but immediate the opinion on. |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 06/14/08 ▲ |
|
|
|
|
Dieter Zornow | @Jac, you're right was Yes Thomas, having well yet your names in the head, I before your again rauf and down red having. |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 06/14/08 ▲ |
|
|
|
|
Jac de Lad | Oh You think on me. |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 06/14/08 ▲ |
|
|
|
|
| ...I war yet The crisis everything to regulation made. Delete goes now, if I whom last Sign in the GridBOX lösche. take I a willkürlichen entry , go The Texts into Memo-Feldern vertauscht. - and what's this thing for a File, which at Delete prepares becomes - DB3$$$.D$$ ? - nervous utterly on the ground Please I circa resolution |
|
|
| |
|
|
|
Dieter Zornow | i think time, that it longer the GridBOX as with the data base zusammenhängt, but without to know what You there make can you nobody help. so as looks reads You The data base into GridBOX one, if You then what änderst has the first Sign in the GridBOX whom index 0 in the data base but 1 or if You a index einliest ever another Datensatznummer, there depends Perhaps your Error. |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 06/15/08 ▲ |
|
|
|
|
| @Dieter - something like in the manner Have so did i in suspicion. work already with two variables (GridBOX and index) - Schalte I a Messagebox between to control, shows me these whom chosen entry too on and he'll deleted, but seltsamerweise move the Texts the Memo-boxes - the happens only, if I a free selection meet. The latest indicated entry becomes without complications deleted. - come but yet behind it |
|
|
| |
|
|
|
Thomas Freier | @Horst: I mach it something unkonventionell....Datensatz reading...Felderinhalte + Datensatznummer with Column 0 in a row. CompileMarkSeparation to that Change (Own mask) or Delete read I The Datensatznummer from and go so to that Datensatz. so I had yet zero Problems, alike How indiziert or a GridBOX or one List view umsortiert watts. |
|
|
| Gruß Thomas Windows XP SP2, XProfan X2 | 06/15/08 ▲ |
|
|
|
|
Thomas Freier | @Horst, I hope you have The crisis überwunden and dbf not The corner banished. In of my Müllkiste found I one Script for MEMO-area data in a list view (yet not uses) and something in your direction adjusted. Perhaps find You there Solutions. |
|
|
| Gruß Thomas Windows XP SP2, XProfan X2 | 06/17/08 ▲ |
|
|
|
| |
|
- Page 2 - |
|
|
| @Thomas its Yes very attentive, that You on my trouble think, but whom Text have I. there are but no Memo-boxes vorgesehen. I have two C- and two M - Datenfelder and here lying at Delete the trouble. the interesting is thereby, if I in the program of Dieter Zornow DBFViewer one area lösche, happens the same. too here becomes the Text the others boxes verwürfelt - strange is too, that in both PROFAN-Forums each crowd DB-Texts to find are, but no Text, in the Entries with Memo-Feldern deleted go !? - my Program is so far ready, but without a einwandfreie Löschfunktion trashy |
|
|
| |
|
|
|
Thomas Freier | @Horst, I wisely not, whether it on the late hour lying. I have it five time red and still not understood, where your trouble lying.
there are but no Memo-boxes vorgesehen. I have two C- and two M - Datenfelder
with dbf are M-boxes = MEMO boxes.
the interesting is thereby, if I in the program of Dieter Zornow DBFViewer one area lösche, happens the same.
want You a Datensatz delete or the structure the dbf through Delete one Field change? in the letzteren drop must You a new data base set up (see Gerhard Putschalka and its WrkDbFil.prf = mapping) Nimm times the Sofware (Windbf.exe) [web]https://www.buchenwald.de/software/wdbfdwn-d.html[/web] and game the through, what You want. Geling the fehlerfrei, does it too with XProfan. though should everything too with Dieters Pogramm weg. What is because on Files present? only a xyz.dbf or a xyz.dbt? |
|
|
| Gruß Thomas Windows XP SP2, XProfan X2 | 06/18/08 ▲ |
|
|
|
|
Dieter Zornow | Hello Horst,
I have with my DBF-Viewer in a scheduler 2 x C, 2 x M boxes Datensätze deleted, it functions correct without, that itself boxes move. I have it with the differently Tools The therein include are ditto probiert, The tables stay correctly.. The tables are from the example the Thomas posted has.
greeting
Dieter |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 06/18/08 ▲ |
|
|
|