Text. (10) convertieren nach dbLong. (4)
Iemhoff
Gesendet: 19.03.26 10:30
Betreff: Text. (10) convertieren nach dbLong. (4)


Member

Beiträge: 16

'#######AAAA#####
Set dbs = CurrentDb
Set tdf = dbs.TableDefs("tbl_Hannover")
Set fld = tdf.Fields("Mitgliedsnummer")


fld.Type = dbLong 'fld.type ist 10 und bleibt 10 dbLong=4
'keine Fehler Meldung !!!!
tdf.Fields.Refresh 'refresh macht nichts fld.type bleibt 10 Database/tbl_Hannover gesperrt?

Set fld = Nothing
Set tdf = Nothing
Set dbs = Nothing



Warum geht dies nicht?

Mitgliedsnummer ist Text (10) und soll eine Zahl dbLong (4) werden.

Wer hat eine Löschung??



Top of the page Bottom of the page